2016-11-11 22 views

回答

0

泰米爾語,我寫了一個文章,解釋如何,我們建議去這個使用<Gather>和PHP的例子:

https://www.twilio.com/blog/2016/02/tracking-call-status-how-can-you-tell-if-a-human-answers-the-phone-2.html

<?php 
# Include Twilio PHP helper library. 
require "/path/to/twilio-php/Services/Twilio.php"; 

# Create response object. 
$response = new Services_Twilio_Twiml(); 
$response->say("Hello, press any key to hear a top secret message."); 
$gather = $response->gather(array(
    'action' => "YOUR_TWIML_BIN" 
)); 
$response->say("You did not reveal yourself to be human. Goodbye!"); 

print $response; 

?> 
相關問題