Last active
December 16, 2015 13:09
-
-
Save keshavagrawal89/5439795 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import plivo | |
| import datetime | |
| cloud = plivo.RestAPI(auth_id='MAOGM1MMQXODBJNZE1ZD', auth_token='ZjI1YWI0NzJlODM3NmJkNTMwNjJmZDE5MTgyMDU3') | |
| print "Triggering now: %s" % datetime.datetime.now() | |
| print "Response" + str(cloud.make_call({'from':'1234567890','to':'16503364782','answer_url':'https://dl.dropboxusercontent.com/u/54579287/conference.xml','callback_url':'http://some_url/', 'callback_method':'GET'})) | |
| print "Triggered %s" % str(datetime.datetime.now()) | |
| print "------------" | |
| print "Triggering now: %s" % datetime.datetime.now() | |
| print "Response" + str(cloud.make_call({'from':'1234567890','to':'15305741446','answer_url':'https://dl.dropboxusercontent.com/u/54579287/conference.xml','callback_url' : 'http://some_url/','callback_method':'GET'})) | |
| print "Triggered %s" % str(datetime.datetime.now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment