[Kamailio-Users] LCR Error

Alex Balashov abalashov at evaristesys.com
Tue Apr 7 18:47:08 CEST 2009


I use them successfully in 1.5.0.  They do seem to work.

Geoffrey Mina wrote:

> OK, it turns out I am NOT losing my mind.  I checked out 1.5 from SVN,
> and apparently there were some very loosely documented changes between
> revision 5668 and 5790.  The module documentation was updated, but
> there weren't any notes specifically stating that you would need to
> remove these parameters.
> 
> Does that mean that fr_inv_timer_avp and fr_inv_timer are no longer
> used in most recent 1.5?  Are they actually used in revision 5668, or
> are they just silently ignored?
> 
> If these are being taken out of the most recent build is there any
> plans to replace them with comparable functionality?  It seems like
> having these timeouts in here would be pretty important, but perhaps I
> am missing something.
> 
> thanks,
> Geoff
> 
> On Tue, Apr 7, 2009 at 12:23 PM, Geoffrey Mina <geoffreymina at gmail.com> wrote:
>> 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
>>
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775




More information about the sr-users mailing list