[SR-Users] Load fr_inv_timer from DB
Igor Potjevlesch
igor.potjevlesch at gmail.com
Thu Apr 10 17:47:37 CEST 2014
Hello,
I try to set the "fr_inv_timer" dynamically from DB. Under 60s it works
fine. But I can't set more than 60s.
Here are the TM parameters:
# ----- tm params -----
# auto-discard branches from previous serial forking leg
modparam("tm", "failure_reply_mode", 3)
# default retransmission timeout: 30sec
modparam("tm", "fr_timer", 5000)
# default invite retransmission timeout after 1xx: 120sec
modparam("tm", "fr_inv_timer", 60000)
Here are the instructions to set dynamically:
avp_db_load("$ruri/username", "$avp(s:inv_timeout)/usr_timeout");
t_set_fr($avp(s:inv_timeout)*1000);
Is there anything wrong?
Regards,
Igor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140410/d510e8cc/attachment.html>
More information about the sr-users
mailing list