[Freeswitch-users] bypass_media=true & using continue_on_fail

Brian West brian at freeswitch.org
Sat Nov 13 12:21:34 PST 2010


This doesn't work on purpose and their is a reason but I can't recall it off the top of my head.  But its a real good technical reason if I recall.

/b

On Nov 13, 2010, at 1:37 PM, Michael Collins wrote:

> I don't think anyone will be able to assist unless you provide the debug log with sip trace and the relevant dialplan snippets.
> -MC
> 
> On Fri, Nov 12, 2010 at 9:53 PM, Matthew Fong <mattdfong at gmail.com> wrote:
> I am trying to write an application that bypasses media between 2 endpoints.
> 
> If I set both legs to bypass_media=true then bypass media works GREAT, but if leg B (a SIP provider) returns an error code that is found inside continue_on_fail, then the leg A will immediately hangup instead of continuing on with the dial plan. ignore_early_media is set to true both on leg A (FS) and this program, which is suppose to do switching amongst various voip providers with a fail-over to the next provider if the first provider throws an error inside continue_on_fail
> 
> I tried programming around this by instead setting bypass_media=false initially and listening to the to the CHANNEL_BRIDGE event and issuing a uuid_media off command but this causes the first half second or so of audio not to be transmitted between the endpoints.
> 
> Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101113/15fdfcd2/attachment.html 


More information about the FreeSWITCH-users mailing list