[Freeswitch-users] bypass_media=true & using continue_on_fail

Michael Collins msc at freeswitch.org
Sat Nov 13 11:37:01 PST 2010


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.
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101113/1f09658f/attachment.html 


More information about the FreeSWITCH-users mailing list