相关文章推荐
耍酷的芹菜  ·  [Python] async def & ...·  3 周前    · 
乐观的竹笋  ·  如何快速上手MuJoCo ...·  2 周前    · 
着急的跑步鞋  ·  Python ...·  2 周前    · 
年轻有为的海龟  ·  使用Python ...·  1 周前    · 
幸福的墨镜  ·  macbook python ...·  4 天前    · 

需要在Twillio/Python中拨打电话后发送DTMF代码

0 人关注

我是Twillio和Python的新手。

试图建立我的第一个脚本,想法。

呼叫号码,等待2秒,发送号码1,等待2秒发送号码2

在真正的手机上,可以使用", "在电话簿中保存时进行。

my existing script:

call = client.calls.create(
                        twiml='<Response><Say>Ahoy, World!</Say></Response>',
                        to='+14155551212',
                        from_='+15017122661'
print(call.sid)

如果我把它改成to='+14155551212,,,,,1,,,,,11,,,11',