<div dir="ltr">There are many timeout variables available to control the call behavior like call_timeout,leg_timeout,bridge_answer_timeout etc. Check out this page <a href="https://freeswitch.org/confluence/display/FREESWITCH/Variables">https://freeswitch.org/confluence/display/FREESWITCH/Variables</a> . Try them out and pick the one suits your needs<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 6:44 AM, Jason Holden <span dir="ltr"><<a href="mailto:jason.holden@start.ca" target="_blank">jason.holden@start.ca</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-US" link="blue" vlink="blue">
<div>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">It does fail over with my setup but it takes
about 30 seconds to try the next route.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">So back to the question would using call time
out, or progress time out as an action application before the lcr bridge resolve
the issue, if so any recommendations on timers?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks.<u></u><u></u></span></font></p>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Godson Gera
[mailto:<a href="mailto:godson.g@gmail.com" target="_blank">godson.g@gmail.com</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, March 12, 2015
6:28 PM<br>
<b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
failover in freeswitch dialplan using | or lcr</span></font><u></u><u></u></p>
</div><div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">It would be a lot easier to do it from a script (lua, python) running
in FS or via ESL. Idea is to extract all bridge strings returned by lcr command
and pass them to bridge command with | symbol for automatic fail over. <u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""><action application="bridge"
data="bridgestring1|bridgestring2"/></span></font><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Thu, Mar 12, 2015 at 10:23 PM, Jason Holden <<a href="mailto:jason.holden@start.ca" target="_blank">jason.holden@start.ca</a>>
wrote:<u></u><u></u></span></font></p>
<div link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hi,</span></font><u></u><u></u></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">If I send an
invite for a call and don’t receive a response to the initial invite message
how can I force FS to try the next route right away?</span></font><u></u><u></u></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Here is one
of my lcr dialplan chunks.</span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <condition
field="destination_number" expression="^(.*)$"></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="continue_on_fail=true"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="hangup_after_bridge=true"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="domain_name=$${domain}"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="instant_ringback=true"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="ring_ready" /></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="ringback=${us-ring}"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set"
data="transfer-ringback=${us-ring}"/> </span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="lcr" data="$1 inbound"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="set" data="bypass_media=true"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> <action
application="bridge" data="${lcr_auto_route}"/></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> </condition></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> </extension></span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New""> </span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:"Courier New"">All advise is welcome, thanks.</span></font><u></u><u></u></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_________________________________________________________________________<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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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><u></u><u></u></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">-- <u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks & Regards,<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Godson Gera<br>
<a href="http://godson.in" target="_blank">VoIP consultant</a><u></u><u></u></span></font></p>
</div>
</div>
</div>
</div></div></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><font>Thanks & Regards,<br>Godson Gera</font><br></div><div class="gmail_signature"><font><a href="http://godson.in">FreeSWITCH Consultant</a></font></div>
</div></div>