0
这是我从命令行运行的python脚本。它调用了10_DIGIT_NO.If我不回复它重复发出调用的呼叫.Timiml是通过https://www.twilio.com/labs/twimlets/my/create?type=callme生成的。如何避免这种情况? 我希望只需拨打一次电话,而不管收到与否。避免从twilio python程序中重复出站呼叫
感谢
# Download the library from twilio.com/docs/libraries
from twilio.rest import TwilioRestClient
# Get these credentials from http://twilio.com/user/account
account_sid = "xyz"
auth_token = "abc"
client = TwilioRestClient(account_sid, auth_token)
# Make the call
call = client.calls.create(to="10_DIGIT_NO", # Any phone number
from_="MY_TWILIO_NO", # Must be a valid Twilio number
url="XML_FILE_PATH")
print call.sid