[英]How to gather a key in between the call using Twilio?
我有以下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
。
我該怎么做?
嘗試:
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
<Gather numDigits = "9" action = "_actionURL" method="GET">
<Say> Your call is going to transfer the Receptionist, please press 9 to go somewhere else </Say>
<Dial maxLength="180">442-333-7271</Dial>
</Gather>
</Response>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.