Created
September 22, 2015 13:23
-
-
Save twilioforkwc/46fea38f7b668a31a04d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require '../Services/Twilio.php'; | |
$response = new Services_Twilio_Twiml(); | |
$gather = $response->gather(array( | |
'action' => '[your url]/process_poll.php', | |
'method' => 'GET', | |
'timeout' => '30', | |
'numDigits' => '1' | |
)); | |
$gather->say("これから投票を行います。1桁の作品番号を押してください。", array('language' => 'ja-jp')); | |
header("Content-type: text/xml"); | |
print $response; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment