<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 1:53 PM, Sean Devoy <span dir="ltr">&lt;<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" background="cid:image001.gif@01CE531F.1DE806C0" link="#1F86FF" vlink="#005DC9" lang="EN-US">
<img src="cid:image001.gif@01CE531F.1DE806C0" style="width: 0px; min-height: 0px;" height="0" width="0"><div><p class=""><span style="color:rgb(31,73,125)">Hi All,<u></u><u></u></span></p><p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">I have been having pretty good luck with redundancy by dialing through multiple gateways like:<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">&lt;</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">&quot;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">bridge</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">&quot;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">&quot;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">sofia/gateway/cheap/1xxxxxxxxxx, [leg_delay_start=8]sofia/gateway/expensive/1xxxxxxxxxx</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">&quot;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/&gt;</span></p>
</div></div></blockquote><div>I&#39;m curious why your&#39;re doing simultaneous dial instead of sequential dial here. In any case, you can have multiple bridge apps instead of doing the comma-sep list:<br><br></div><div>
&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br><div>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br></div></div>&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/cheap/$1&quot;/&gt;<br>
<div>&lt;action application=&quot;log&quot; data=&quot;WARNING Bridge attempt failed ${bridge_hangup_cause}&quot;/&gt;<br></div><div>&lt;action application=&quot;system&quot; data=&quot;/usr/sbin/send_notification_email.sh&quot;/&gt;<br>
&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/expensive/$1&quot;/&gt;<br><br></div><div>Try it out. Also, don&#39;t forget the <a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer">standard disclaimer</a>.<br>
</div><div>-MC<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" background="cid:image001.gif@01CE531F.1DE806C0" link="#1F86FF" vlink="#005DC9" lang="EN-US">
<div><p class="" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><u></u><u></u></span></p><p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="color:rgb(31,73,125)">If gateway cheap fails, the call goes through on the expensive gateway.  That is fine, but I would like an email notification of the failure on the cheap gateway.  Is there any way to do that?  The support group at the gateway vender is very good at correcting the problem when notified.  I would love to send them an email of failures automatically.<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="color:rgb(31,73,125)">Thanks,<u></u><u></u></span></p><p class=""><span style="color:rgb(31,73,125)">Sean<u></u><u></u></span></p>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div></div>