Skip to content

Instantly share code, notes, and snippets.

@digicyc
Created December 17, 2011 07:31
Show Gist options
  • Save digicyc/1489577 to your computer and use it in GitHub Desktop.
Save digicyc/1489577 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from twilio.rest import TwilioRestClient
account = "xxxxxxxxxxxxxxxx"
token = "xxxxxxxxxxxxxxxxxx"
client = TwilioRestClient(account, token)
pull_num = "+18015555556"
victim = "+18015555555"
call = client.calls.create(to=victim, from_=pull_num,
url="http://myhost.com/response.xml")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment