Twilio 使用Twiml如何实现顺序环组?

Twilio 使用Twiml如何实现顺序环组?,twilio,twilio-twiml,Twilio,Twilio Twiml,我想使用Twilio/Twiml在来电时创建一个顺序环组。我现在拥有的东西会同时响铃组中的所有电话号码 <dial timeout="30"> <number>xxx-xxx-xxxx</number> <number>xxx-xxx-xxxx</number> </dial> xxx xxx xxxx xxx xxx xxxx 我不希望同时发生这种行为,相反,我希望拨号动词拨第一个号码并等待30秒,然后如

我想使用Twilio/Twiml在来电时创建一个顺序环组。我现在拥有的东西会同时响铃组中的所有电话号码

<dial timeout="30">
   <number>xxx-xxx-xxxx</number>
   <number>xxx-xxx-xxxx</number>
</dial>

xxx xxx xxxx
xxx xxx xxxx
我不希望同时发生这种行为,相反,我希望拨号动词拨第一个号码并等待30秒,然后如果没有应答,拨打下一个电话号码,依此类推

如何使用twiml实现这一点


提前感谢。

也许有一种更复杂的方法可以做到这一点,但您可以返回多个
拨号
,并在其间暂停
(最后是

暂停
会让启动器有时间在执行下一次拨号之前挂断

<Dial timeout="30">
   <number>xxx-xxx-xxxx</number>
</Dial>

<Pause length="5"/>
<Say>Moving to call the next number. You can hangup now if you wish to stop this.</Say>
<Pause length="5"/>

<Dial timeout="30">
   <number>xxx-xxx-xxxx</number>
</Dial>

<Pause length="5"/>
<Say>Moving to call the next number. You can hangup now if you wish to stop this.</Say>
<Pause length="5"/>

<Dial timeout="30">
   <number>xxx-xxx-xxxx</number>
</Dial>

xxx xxx xxxx
移动呼叫下一个号码。如果你想阻止这一切,现在可以挂断电话。
xxx xxx xxxx
移动呼叫下一个号码。如果你想阻止这一切,现在可以挂断电话。
xxx xxx xxxx

这里是Twilio开发者福音传道者

Alex是对的,一个
中的多个
将并行调用,但多个
将一个接一个地调用

您可以构建一个替代方案,称为“hunt”或“find me”,在我创建的一个实现中,使用Twilio函数按顺序返回数字。请查看此处的说明: