我尝试了下面的方法,它奏效了.不要忘记您的 <Gather> 操作网址.<收集><Say loop=3">这是一个在循环之间有暂停的消息<break time=3s"/></Say></收集><重定向>/gather.xml</重定向></响应>I tried repeating a message in voice call as python code here which was guided here but not working i.e. no pause at all whatever number for :length it is <Pause length="3">call = client.calls.create( twiml = f''' <Response> <Gather> <Say loop="{loop}">{message}</Say> <Pause length="3"></Pause> </Gather> <Redirect>/gather.xml</Redirect> </Response> ''', to = to, from_ = from_,) 解决方案 Take a look at SSML Pause.Adding a PauseSSML Break TagI tried out the below, and it worked. Don't forget your <Gather> action url.<Response> <Gather> <Say loop="3">This is a message with a pause between loops<break time="3s"/></Say> </Gather> <Redirect>/gather.xml</Redirect></Response> 这篇关于Twilio 在使用循环重复语音通话时有暂停期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-13 10:46