我有以下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>




根据上面的代码,如果接收方在通话之间按_actionURL,我想将流重定向到9

我该怎么办?

最佳答案

尝试:

<?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>

关于java - 如何使用Twilio在通话之间收集 key ?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/13606070/

10-10 17:04