Hi Wesley,

Hope this is what you seeking.

modparam("tm", "fr_inv_timer_avp", "$avp(s:timeout)")

and you can load different timeout to avp using like below, this is per username

avp_db_load("$ru/username","$avp(s:timeout)");


and you can trigger failure route as follow,

 t_on_failure("1");

you can use this in your route to trigger next failure route.


failure_route[1]
{
#####alternate route
}



________________________________
From: Wesley Volcov <[email protected]>
To: OpenSIPS users mailling list <[email protected]>
Sent: Friday, August 13, 2010 1:17:43
Subject: [OpenSIPS-Users] Route timeout

Hello All,

Is there any way to configure a timeout per route?
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?

Regards,

-- 
Wesley Volcov
Email: [email protected]
Messenger: [email protected]
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to