Skip to content

Instantly share code, notes, and snippets.

@tsudot
Created March 21, 2013 00:29
Show Gist options
  • Save tsudot/5209760 to your computer and use it in GitHub Desktop.
Save tsudot/5209760 to your computer and use it in GitHub Desktop.
import plivo
auth_id = ""
auth_token = ""
p = plivo.RestAPI(auth_id, auth_token)
# Make Calls
params = {
'from': '1212121212', # Caller Id
'to' : 'replace with your endpoint', # User Number to Call
'answer_url' : "https://s3.amazonaws.com/static.plivo.com/speak.xml",
'answer_method' : "GET",
}
response = p.make_call(params)
print response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment