【问题标题】:Avoiding repeated outbound calls from twilio python program避免来自 twilio python 程序的重复出站调用
【发布时间】:2013-04-26 12:15:22
【问题描述】:

这是我从命令行运行的 python 脚本。它会调用 10_DIGIT_NO。如果我不接听电话,它会重复调用。twiml 是通过https://www.twilio.com/labs/twimlets/my/create?type=callme 生成的。如何避免这种情况?? 无论是否接听,我都希望只拨打一次电话。

谢谢

# 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

【问题讨论】:

    标签: twilio twilio-twiml


    【解决方案1】:

    此处是 Twilio 开发人员宣传员。看来我们需要深入了解您的帐户才能正确诊断此问题 - 我建议发送电子邮件至 help@twilio.com,以便我们帮助您找到解决方案!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多