使用Twilio Twiml创建狩猎组

使用Twilio Twiml创建狩猎组,twilio,twilio-twiml,Twilio,Twilio Twiml,我正在尝试使用Twiml创建一个基本的狩猎组 伪代码: Dial 'Number1' for 'timeout=10 seconds' If 'DialCallStatus' not 'completed' then Dial 'Number2' for 'timeout=10 seconds' If 'DialCallStatus' not 'completed' then Dial 'Number3' for 'timeout=10 seconds' If 'DialCallS

我正在尝试使用Twiml创建一个基本的狩猎组

伪代码:

Dial 'Number1' for 'timeout=10 seconds'

If 'DialCallStatus' not 'completed' then 

Dial 'Number2' for 'timeout=10 seconds'

If 'DialCallStatus' not 'completed' then 

Dial 'Number3' for 'timeout=10 seconds'

If 'DialCallStatus' not 'completed' then 

Hangup Call

我怎样才能做到这一点呢?

我试着把这些循环在一起:但运气不太好。令人惊讶的是,你有前进/模拟/Findme,但没有狩猎的选择!我宁愿在Twiml中这样做,这样我就可以构建和编辑代码。但我不知道如何触发下一个电话。您是否必须将URL添加到另一个Twiml。然后嵌套它们?我已经开始了:第一,Findme和Hunt不一样吗?是的,你是对的:-)我们需要能够发送答案上的钩子,所以我想我们需要twiml而不是twimlets。你能帮我写一些代码吗?