有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java如何使用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> 

根据上面的代码,如果接收方在调用之间按下^{,我想将流重定向到_actionURL

我该怎么做


共 (1) 个答案

  1. # 1 楼答案

    试试看:

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