I did further research on this item and found from an old thread that the ping in the gateway uses the option message, which is perfect, that means if the remote switch hardware is up but the sip is down, the ping via the option message puts the trunk out of service. Using continue on fail in the dial plan, it automatically selects the next route and the call goes thru, immediately, relatively no delay. THen when the gateway comes back up, it goes back in service as a result of responding to the options message, and traffic starts going back thru the prime route, works perfectly, I have tested this extensively. Darcy ----- Original Message ----- From: fs To: FreeSWITCH Users Help Sent: Monday, November 11, 2013 10:32 AM Subject: Re: [Freeswitch-users] call timeout and failover Thanks Ali. I will take a look at that. I appreciate your input. Darcy ----- Original Message ----- From: Ali Pey To: FreeSWITCH Users Help Sent: Sunday, November 10, 2013 11:28 PM Subject: Re: [Freeswitch-users] call timeout and failover 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. Regards, Ali Pey On Sat, Nov 9, 2013 at 11:39 PM, fs <fs@voice2net.ca> wrote: I will give that a try. thanks ----- Original Message ----- From: Avi Marcus To: FreeSWITCH Users Help Sent: Saturday, November 09, 2013 11:35 PM Subject: Re: [Freeswitch-users] call timeout and failover How about pinging the gateway with Sofia? If it's down, it won't bridge to that gateway/ -AvI On Nov 9, 2013 5:56 AM, "fs" <fs@voice2net.ca> wrote: > > 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. ------------------------------------------------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ------------------------------------------------------------------------ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4158 / Virus Database: 3615/6799 - Release Date: 11/01/13 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ---------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ---------------------------------------------------------------------------- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4158 / Virus Database: 3615/6799 - Release Date: 11/01/13 ------------------------------------------------------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ------------------------------------------------------------------------------ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4158 / Virus Database: 3615/6799 - Release Date: 11/01/13