Created
November 3, 2015 14:34
-
-
Save hunnycode/d9f1c56acba869d1d820 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'); | |
$sid = "ACxxxxxxxxxxxxxxx"; // Twilio Account Sid | |
$token = "yyyyyyyyyyyyyyy"; // Twilio Auth Token | |
$client = new Services_Twilio($sid, $token); | |
$call = $client->account->calls->get("CAxxxxxxxxxyyyyyyyyyy"); // Call Sid | |
$call->update(array( | |
"Url" => "http://xxx.xxx.xxx.xxx/join_queue.xml", | |
"Method" => "POST" | |
)); | |
echo $call->sid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment