<div dir="ltr">Hi,<div><br></div><div>Do you have ignore_early_media=true in your dialplan? Probably you should.</div><div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+bridge">https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+bridge</a><br></div><div><br></div><div>Alex</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 3, 2018 at 4:26 PM, Shane Mitchell <span dir="ltr"><<a href="mailto:shane.mitchell@fonedynamics.com.au" target="_blank">shane.mitchell@fonedynamics.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="m_5720903868189805664WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to implement carrier failover with the bridge application, specifically when working with multiple simultaneous destinations.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">For a single destination, I can use OR (|) and fail_on_single_reject to appropriately failover. For example (simplified):<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">{fail_on_single_reject=user_<wbr>busy}sofia/gateway/GW1/<wbr>ENDPOINT1|sofia/gateway/GW2/<wbr>ENDPOINT1<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">However with multiple simultaneous destinations, I’m having issues with approach. I’ve tried the following (simplified):<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">{fail_on_single_reject=user_<wbr>busy}sofia/gateway/GW1/<wbr>ENDPOINT1|sofia/gateway/GW2/<wbr>ENDPOINT1,sofia/gateway/GW3/<wbr>ENDPOINT2|sofia/gateway/GW4/<wbr>ENDPOINT2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515"><u></u> <u></u></span></p>
<p class="MsoNormal">This terminates all new channels when any one of them fails.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">What I’m trying to do is to stop bridge attempting a specific OR chain when one fails, but to continue executing the rest of the ANDs.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there a way to achieve bridging to multiple destinations simultaneously, with each destination having its own list of failover gateways, and having failover for a destination only occur on certain cause codes (i.e. we don’t want to fail
over on user_busy/etc, but we do on other types of failures)?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks & regards,<u></u><u></u></p>
<p class="MsoNormal">Shane Mitchell.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif"><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><img src="https://docs.google.com/uc?export=download&id=1xswZRZyVDo0WQhaemK47pU266yzDRmi0&revid=0B2xnT7i45ngrMTVKM1dpSHZIN28zU0QzbW9xeVF6RXFyRHhBPQ"><br></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="background-color:transparent;vertical-align:baseline"><font color="#000000" style="font-family:Arial;font-size:8pt;white-space:pre-wrap">Alex Sibyakin | Support Engineer</font></span></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">FreeSWITCH Solutions | <a rel="nofollow" shape="rect" href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></div><div dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Email: </font><a href="mailto:alex@freeswitch.com" target="_blank"><font color="#3d85c6">alex@freeswitch.com</font></a></span></font></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Website: </span><span style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none;font-size:8pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a rel="nofollow" shape="rect" href="https://www.freeswitch.com/" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank">https://www.FreeSWITCH.com</a></span></font></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font size="1"><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><font color="#000000">Need commercial support? Contact</font></span><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"> </span><a rel="noopener noreferrer" href="mailto:sales@freeswitch.com" style="color:rgb(53,114,176);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif" target="_blank">sales@freeswitch.com</a><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"> </span><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><font color="#000000">for details.</font></span></font><font color="#000000" style="color:rgb(0,0,0);font-size:12.8px"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>