php – 无法让twilio聚集上班
发布时间:2020-12-13 17:37:53 所属栏目:PHP教程 来源:网络整理
导读:我正在使用twilio来呼叫用户并且无法收集用户输入.初始调用工作正常,但是当我按下1或3时,似乎没有任何事情发生,并且在3秒暂停后,它继续运行. //This works fine,I can call and hear the options being read.?php header("content-type: text/xml"); echo "?
我正在使用twilio来呼叫用户并且无法收集用户输入.初始调用工作正常,但是当我按下1或3时,似乎没有任何事情发生,并且在3秒暂停后,它继续运行.
//This works fine,I can call and hear the options being read. <?php header("content-type: text/xml"); echo "<?xml version="1.0" encoding="UTF-8"?>n"; ?> <Response> <Gather action="https://mydomain.com/twilio/process_response.php" method="post" numDigits="1" timeout="3"> <Say>I can hear this.</Say> <Say>Press 1.</Say> <Say>Press 3.</Say> </Gather> <Say>It looks like you didn't select an option.</Say> </Response> 回应 – https://mydomain.com/twilio/process_response.php <?php header("content-type: text/xml"); echo "<?xml version="1.0" encoding="UTF-8"?>n"; ?> <Response> <Say>I should hear this,but I dont...</Say> </Response> 谢谢! 解决方法
这个问题是由我用来测试无法识别输入的无绳电话引起的.改变手机“解决了”这个问题.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |