Hello, I just upgraded a server from 1.4 to 1.5. I am getting this error when loading LCR. Did something change, or am I losing my mind? n Apr 7 12:09:27 atl-sipgateway1 kamailio: ERROR:core:main: bad config file (2 errors) Apr 7 12:11:06 atl-sipgateway1 kamailio: ERROR:core:set_mod_param_regex: parameter <fr_inv_timer_avp> not found in module <lcr> Apr 7 12:11:06 atl-sipgateway1 kamailio: CRITICAL:core:yyerror: parse error in config file, line 74, column 20-21: Can't set module parameter Apr 7 12:11:06 atl-sipgateway1 kamailio: ERROR:core:set_mod_param_regex: parameter <fr_inv_timer> not found in module <lcr> Apr 7 12:11:06 atl-sipgateway1 kamailio: CRITICAL:core:yyerror: parse error in config file, line 78, column 18-19: Can't set module parameter
Here is my config for a working server.
## Enable LCR ## loadmodule "lcr.so" modparam("lcr","db_url","mysql://blah:blah@localhost/kamailio") modparam("lcr|tm", "fr_inv_timer_avp", "$avp(i:704)") modparam("^auth$|lcr", "rpid_avp", "$avp(i:302)") modparam("lcr","gw_uri_avp", "$avp(i:709)") modparam("lcr","ruri_user_avp", "$avp(i:500)") modparam("lcr","fr_inv_timer",30) modparam("lcr","flags_avp", "$avp(i:712)") modparam("lcr","lcr_hash_size", 1024) modparam("lcr","fetch_rows", 5000) modparam("lcr","ping_interval", 180) modparam("lcr","ping_from","sip:something.com")
The docs no longer make any reference to fr_inv_timer or fr_inv_timer_avp.. but I have a working 1.5 server running with this config... but my newly installed one won't start.
thanks, Geoff