<div dir="ltr">How about using a proxy server such as OpenSIPS? That would give you much more flexibility and this sort of requirements are when you would use a proxy server. Check out the drouting module for instance.<div>
<br></div><div>Regards,<br><div>Ali Pey</div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 11:39 PM, fs <span dir="ltr">&lt;<a href="mailto:fs@voice2net.ca" target="_blank">fs@voice2net.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div bgcolor="#ffffff">
<div><font face="Arial">I will give that a try.  thanks</font></div>
<div><font face="Arial"></font> </div>
<div> </div>
<blockquote dir="ltr" style="PADDING-RIGHT:0px;PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;MARGIN-RIGHT:0px"><div class="im">
  <div style="FONT:10pt arial">----- Original Message ----- </div>
  <div style="BACKGROUND:#e4e4e4;FONT:10pt arial"><b>From:</b> 
  <a title="avi@avimarcus.net" href="mailto:avi@avimarcus.net" target="_blank">Avi Marcus</a> 
  </div>
  <div style="FONT:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  </div><div class="im"><div style="FONT:10pt arial"><b>Sent:</b> Saturday, November 09, 2013 11:35 
  PM</div>
  <div style="FONT:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] call 
  timeout and failover</div>
  <div><br></div>
  </div><div><div class="h5"><p>How about pinging the gateway with Sofia? If it&#39;s down, it won&#39;t bridge to 
  that gateway/</p>
  <p>-AvI</p>
  <p>On Nov 9, 2013 5:56 AM, &quot;fs&quot; &lt;<a href="mailto:fs@voice2net.ca" target="_blank">fs@voice2net.ca</a>&gt; wrote:<br>&gt;<br>&gt; 
  The case I am trying to solve is the dead carrier which does happen, would be 
  nice to detect this somehow without waiting for the normal progress or answer 
  timeout.<br></p>
  </div></div><p>
  </p><hr><div class="im">

  <p></p>_________________________________________________________________________<br>Professional 
  FreeSWITCH Consulting 
  Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>

  <p>
  </p><hr>

  <p></p><a></a>
  <p align="left" color="#000000">No virus found in this 
  message.<br>Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>Version: 2014.0.4158 / Virus 
  Database: 3615/6799 - Release Date: 11/01/13</p><p></p></div><p></p></blockquote></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></div><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=1ccc4b8c-fb9b-4859-a590-bb690599ae16&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com"></div></div></div>