Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // this line loads the library
  2. require('/path/to/twilio-php/Services/Twilio.php');
  3.  
  4. $account_sid = 'AC518a090debd4d1725a996cd8bb27d4ee';
  5. $auth_token = 'd6737e9be168725eeaa6871b72d4a0f9';
  6. $client = new Services_Twilio($account_sid, $auth_token);
  7.  
  8. $client->account->calls->create('+441202835645', '[To]', '[ApplicationSid]', array(
  9. 'Method' => 'GET',
  10. 'FallbackMethod' => 'GET',
  11. 'StatusCallbackMethod' => 'GET',
  12. 'Record' => 'false',
  13. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement