Hello All,<br><br>I've configured the params as fallow:<br>modparam("tm", "fr_timer", 2)<br>modparam("tm", "fr_inv_timer", 10)<br><br>But, after some tests I'm seeing that, when the destination gateway reply a 100 TRYING, the first timeout(fr_timer) is 'disabled', and the call will enter in failure route just if there is no 200 OK in the time configured in fr_inv_time.<br>
What I need, is if the time between de 100 TRYING and 180 RING is more than 2 seconds, the call will enter in failure route.<br><br>How can I do that?<br><br>Regards,<br><br><br><div class="gmail_quote">On 12 August 2010 23:33, Pasan Meemaduma <span dir="ltr"><<a href="mailto:pasandev@ymail.com">pasandev@ymail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>
Hi Wesley,<br>
<br>Hope this is what you seeking.<br><br>modparam("tm", "fr_inv_timer_avp", "$avp(s:timeout)")<br><br>and you can load different timeout to avp using like below, this is per username<br><br>
avp_db_load("$ru/username","$avp(s:timeout)");<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>and you can trigger failure route as follow,<br><br> t_on_failure("1");<br>
<br>you can use this in your route to trigger next failure route.<br><br><br>failure_route[1]<br>{<br>#####alternate route<br>}<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Wesley Volcov <<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>><br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, August 13, 2010 1:17:43<br><b><span style="font-weight: bold;">Subject:</span></b> [OpenSIPS-Users] Route timeout<br></font><div><div></div><div class="h5"><br>
Hello All,<br><br>Is there any way to configure a timeout per route?<br>What I mean is: If my first route doesn't send a reply(100 Trying or any other) in some seconds, the opensips sends the the call to failure route, and then I use failure route to try another route. How can I do that?<br>
<br>Regards,<br clear="all"><br>-- <br>Wesley Volcov<br>Email: <a rel="nofollow" href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>Messenger: <a rel="nofollow" href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
Mobile: +55 11 9989-5348<br>
Website: <a rel="nofollow" href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
</div></div></div></div>
</div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>
Mobile: +55 11 9989-5348<br>Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>