[Freeswitch-users] ESL code question

Malay Thakershi mthakershi at gmail.com
Wed Apr 18 03:30:45 MSD 2012


Hello,

Here is a code snippet from ESL example in wiki.
http://wiki.freeswitch.org/wiki/Esl#Examples

my $uuid = $con->api("create_uuid")->getBody();
my $res =
    $con->bgapi("originate","{origination_uuid=$uuid}$target 9664");
my $job_uuid = $res->getHeader("Job-UUID");

I use same code but in ManagedELS. But, I always get uuid and job_uuid same
value.

My question is, if it is same value then is it necessary to get job_uuid
from res?

Thanks.

Malay Thakershi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120417/ec7e1190/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list