You'll want to use the originate API to accomplish this from ESL. On Mon, Sep 29, 2014 at 11:46 AM, <andretodd@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@domain/>
<action application="bridge" data=sofia/profile/endpoint@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@domain") API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
-- *Brian West* brian@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
Will calling the execute 2 times be the same as calling the bridge 2 times? Is <action application="bridge" data=sofia/profile/endpoint@domain/> <action application="bridge" data=sofia/profile/endpoint@domain/> equal to API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint@domain") API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint@domain") Or am I forced to use the | operator? Thanks -----Original Message----- From: "Brian West" <brian@freeswitch.org> Sent: 9/29/2014 12:53 PM To: "FreeSWITCH Users Help" <freeswitch-users@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@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@domain/> <action application="bridge" data=sofia/profile/endpoint@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@domain") API.Execute("uuid_transfer", UUID bridge:{bypass_media=true}sofia/profile/endpoint@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@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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 -- Brian West brian@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
participants (3)
-
Andre Demattia
-
andretodd@verizon.net
-
Brian West