我正在使用twilio呼叫用戶,並且無法收集用戶輸入。最初的通話工作正常,但是當我按1或3時,似乎什麼也沒有發生,並且在3秒暫停後,它繼續前進。無法讓twilio聚攏工作
//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>
謝謝!
? Google語音或Skype等一些服務不會很好地發送觸摸音。 – 2011-04-23 20:45:58
嗨,謝謝你的回覆。我正在使用(comcast)陸線的無繩電話。我只是嘗試撥打手機,它完美地工作。它必須是無繩電話的東西。再次感謝! – Matt 2011-04-24 02:41:43