I’ve tried this but it doesn’t seem to work
Hangup after bridge code is here too….
<action application="bridge" data="[bypass_media=true]sofia/gateway/8/1240xxxxxxx"/>
<action application="bridge" data="[bypass_media=false]sofia/gateway/8/1240xxxxxxx"/>
<action application="bridge" data="[bypass_media=true]sofia/gateway/8/1240xxxxxxx"/>
Do I have to change my code to the Pipe syntax “|” like your example?
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus
Sent: Saturday, March 29, 2014 1:34 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Bypass_media
Set the bypass_media in the leg:
[bypass_media=true]sofia/external/12014444444@sip.bestfone.com|[bypass_media=false]sofia/gateway/voxbeam/12014444444|[bypass_media=true]sofia/gateway/xconnect/12014444444
<action application="bridge" data="$MyBridgeString"/>
-Avi
On Sat, Mar 29, 2014 at 4:23 AM, Andre <andretodd@verizon.net> wrote:
I need a suggestion on how to bypass_media based on the gateway I’m using.
Say we have 3 bridge’s. One has to be full media but the other 2 can be bypass. If 1 fails, 2 will be the failover but since you have to set the media on leg a how do I change it to full media?
Hangup after bridge
Bridge 1 bypass_media = true
Bridge 2 bypass_media = false
Bridge 3 bypass_media = true
_________________________________________________________________________
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