【发布时间】:2012-11-28 13:22:03
【问题描述】:
我有以下TwiML 文件:
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
<Say> Your call is going to transfer the Receptionist </Say>
<Dial maxLength="180">
<Number> 442-333-7271 </Number>
<Gather numDigits = "9" action = "_actionURL" method="GET">
<Say> Please press 9 </Say>
</Gather>
</Dial>
根据上面的代码,如果接收者在通话之间按9,我想将流重定向到_actionURL。
我该怎么做?
【问题讨论】:
-
我不认为你可以把
<Gather>动词放在<Dial>里面 -
@socialrel8 那我该怎么做呢?
-
您的帐户页面上的 Twilio 控制台是否有任何错误?
-
否,但根据上面的代码,它会连接调用并在调用完成后等待收集密钥。请查看您已回答部分的评论
标签: java twilio twilio-twiml