[Freeswitch-users] API Execute uuid_transfer

Andre Demattia andretodd at verizon.net
Mon Sep 29 21:08:14 MSD 2014


Will calling the execute 2 times be the same as calling the bridge 2 times?

Is <action application="bridge" data=sofia/profile/endpoint at domain/>

<action application="bridge" data=sofia/profile/endpoint at domain/>

 
 equal to

API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint at domain")
API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint at domain")
 
Or am I forced to use the | operator?
Thanks 

-----Original Message-----
From: "Brian West" <brian at freeswitch.org>
Sent: ‎9/‎29/‎2014 12:53 PM
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] API Execute uuid_transfer

You'll want to use the originate API to accomplish this from ESL. 


On Mon, Sep 29, 2014 at 11:46 AM, <andretodd at verizon.net> wrote:

Hi, 
I'm looking for the syntax for failover  bridge.
 
Currently I have:
 
<hangup_after_bridge is assumed>
 
 
 
 
<action application="bridge" data=sofia/profile/endpoint at domain/>
<action application="bridge" data=sofia/profile/endpoint at domain/>
 
 
Now I want to duplicate this in the API.Execute command
 
Is the below correct and best performance?
 
API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint at domain")
API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint at domain")
 
 I know I can use the | operator but I was looking for the double bridge syntax.
 
 
Can someone tell me if the syntax is correct and if it's not what would be?
Thanks
 
 
 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com




FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






-- 

Brian West
brian at freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140929/92fb234f/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list