Hey Bogdan,<br><br>Thank you for replying!!<br><br>I've been configured:<br>modparam("tm", "restart_fr_on_each_reply", 1)<br>modparam("tm", "fr_timer", 2)<br>modparam("tm", "fr_inv_timer", 5)<br>
<br>Follow my tests:<br>The INVITE was sent by opensiups to route at 09:03:42<br>The 100 TRY came from route to opensips at 09:03:42<br>The 183 came from route to opensips at 09:03:43<br>But, at 09:03:47 the was sent to Failure Route by Opensips.<br>
<br>The call is going to Failure Route 5 seconds after 100 TRY and not after 183/180.<br><br>Am I missing anything?<br><br>Regards,<br><br><div class="gmail_quote">On 27 August 2010 05:27, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</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;">Hi Wesley,<br>
<br>
you can use the restart_fr_on_each_reply param (<a href="http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id271074" target="_blank">http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id271074</a>) and set the fr_inv_timer to 2 secs.<br>
<br>
Regards,<br>
bogdan<br>
<br>
Wesley Volcov 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 class="im">
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><div class="im">
On 12 August 2010 23:33, Pasan Meemaduma <<a href="mailto:pasandev@ymail.com" target="_blank">pasandev@ymail.com</a> <mailto:<a href="mailto:pasandev@ymail.com" target="_blank">pasandev@ymail.com</a>>> wrote:<br>
<br>
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<br>
is per username<br>
<br>
avp_db_load("$ru/username","$avp(s:timeout)");<br>
<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>
------------------------------------------------------------------------<br>
*From:* Wesley Volcov <<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br></div>
<mailto:<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>>><div class="im"><br>
*To:* OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br></div>
<mailto:<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>>><div class="im"><br>
*Sent:* Friday, August 13, 2010 1:17:43<br>
*Subject:* [OpenSIPS-Users] Route timeout<br>
<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<br>
or any other) in some seconds, the opensips sends the the call to<br>
failure route, and then I use failure route to try another route.<br>
How can I do that?<br>
<br>
Regards,<br>
<br>
-- Wesley Volcov<br></div>
Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a> <mailto:<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>><br>
Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a> <mailto:<a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a>><div class="im"><br>
Mobile: +55 11 9989-5348<br>
Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
<br>
<br>
<br>
<br>
-- <br>
Wesley Volcov<br></div>
Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a> <mailto:<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>><br>
Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a> <mailto:<a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a>><div class="im"><br>
Mobile: +55 11 9989-5348<br>
Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</div></blockquote><font color="#888888">
<br>
<br>
-- <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
</font></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>