Last active
September 25, 2015 07:33
-
-
Save twilioforkwc/fdce07d7b81351926e1f 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_once('../Services/Twilio.php'); // Loads the library | |
$sid = "ACxxxxxxxx"; | |
$token = "xxxxxxxxxxxxxxxx"; | |
$client = new Services_Twilio($sid, $token); | |
$number = $client->account->incoming_phone_numbers->create(array( | |
"FriendlyName" => "REST電話番号購入テスト", | |
"VoiceUrl" => "http://xxx.xxx.xxx.xxx/twiml.xml", | |
"PhoneNumber" => "+8150xxxxyyyy", | |
"VoiceMethod" => "GET" | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment