<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><br></div><div>/b</div><div><br><div><div>On Nov 13, 2010, at 1:37 PM, Michael Collins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">I don't think anyone will be able to assist unless you provide the debug log with sip trace and the relevant dialplan snippets.<div>-MC<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 9:53 PM, Matthew Fong<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:mattdfong@gmail.com">mattdfong@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">I am trying to write an application that bypasses media between 2 endpoints.<div><br></div><div>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</div><div><br></div><div>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.</div><div><br></div><div>Thanks.</div></blockquote></div></div></span></blockquote></div><br></div></body></html>