Wednesday, 11 September 2013

How can I get the CallSid for an outgoing rest call?

How can I get the CallSid for an outgoing rest call?

I'm using Twilio's rest lib in PHP and making an outgoing call. Can I get
the callsid right away i.e.:
$callout = $twilioclient->account->calls->create($client, $phone,
$callurl, array("Method"=>"GET"));
$newcallsid=$callout->callsid;It doesn't seem to be working but, I'm
probably doing something wrong.
Thanks in advance for your help.

No comments:

Post a Comment