<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><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 <wesleyvolcov@gmail.com><br><b><span
style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <users@lists.opensips.org><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><br><meta http-equiv="x-dns-prefetch-control" content="off">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" ymailto="mailto:wesleyvolcov@gmail.com" target="_blank" href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a rel="nofollow" ymailto="mailto:volcov@live.com" target="_blank" href="mailto:volcov@live.com">volcov@live.com</a><br>Mobile: +55 11 9989-5348<br>
Website: <a rel="nofollow" target="_blank" href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br></body></html>