I noticed this too.

On 04/08/2010 11:11 AM, Andreas Granig wrote:

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

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to