I checked. I get same UUID.
Seems strange. These must be two different values. The first uuid is generated for the actual call, the second is a uuid to help you keep track of the background job. Are you sure they are the same, and not just very similar?
/Peter
18 apr 2012 kl. 06:58 skrev "Malay Thakershi" <mthakershi@gmail.com<mailto:mthakershi@gmail.com>>:
I am using exact same code as given here: http://wiki.freeswitch.org/wiki/Esl#Examples
bgapi to invoke "originate"
Thanks.
Malay
On Tue, Apr 17, 2012 at 6:54 PM, Avi Marcus <avi@avimarcus.net<mailto:avi@avimarcus.net>> wrote:
Are you using the same bgapi or just a plain API?
-Avi
On Wed, Apr 18, 2012 at 2:30 AM, Malay Thakershi <mthakershi@gmail.com<mailto:mthakershi@gmail.com>> wrote:consulting@freeswitch.org<mailto:consulting@freeswitch.org>
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
http://www.freeswitchsolutions.comFreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersconsulting@freeswitch.org<mailto:consulting@freeswitch.org>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
http://www.freeswitchsolutions.comFreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users!DSPAM:4f8e476532761383613141!
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________consulting@freeswitch.org<mailto:consulting@freeswitch.org>
Professional FreeSWITCH Consulting Services:
http://www.freeswitchsolutions.comFreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users!DSPAM:4f8e476532761383613141!
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org