[Kamailio-Users] fr_inv_timer in kam-3.0

Andreas Granig agranig at sipwise.com
Thu Apr 8 17:11:47 CEST 2010


Hi,

In the docs at 
http://kamailio.org/docs/modules/3.0.x/modules/tm.html#fr_inv_timer it 
says that fr_inv_timer_avp should be defined like this, without $ or $avp:

modparam("tm", "fr_inv_timer_avp", "my_fr_inv_timer")

In kam <= 1.5 I did it like that:

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

which doesn't give me an error on startup with kam-3.0 either, but the 
timer doesn't get fired (I use seconds for that as noted in the docs). 
If I change it to

modparam("tm", "fr_inv_timer_avp", "callee_fr_inv_timer")

then I get the error "malformed or non AVP callee_fr_inv_timer AVP 
definition", same with setting it to "s:callee_fr_inv_timer".

Anyhow, it seems to be deprecated anyways, so I'm looking to get 
t_set_fr() working. I'm just curious how I can use a var or AVP loaded 
from DB to set the value on-the-fly? t_set_fr(...) seems to allow only 
constants to be set. Couldn't find anything in the docs regarding that one.

Thanks,
Andreas




More information about the sr-users mailing list