Many Thanks Alex and mayamatakeshi for the prompt response.

I did the setting shown by the mayamatakeshi but get the following error again:

CRITICAL:lcr:mod_init: failed to reload gateways and routes
Nov 6 15:30:20 kam /sbin/kamailio[5571]: ERROR:core:init_mod: failed to initialize module lcr
Nov 6 15:30:20 kam /sbin/kamailio[5571]: ERROR:core:main: error while initializing modules


Alex: Yes, we have the avpops loaded before the lcr module

Any hint?

On Fri, Nov 6, 2009 at 4:29 AM, mayamatakeshi <mayamatakeshi@gmail.com> wrote:


On Fri, Nov 6, 2009 at 9:16 PM, Masoom Alam <masoom.alam@gmail.com> wrote:
Hi there,

I am a first time user of Kamilio 1.5. We are trying to configure the LCR, we get an error in the syslog.

The error in the syslog is:

Nov  6 15:12:09 kam /sbin/kamailio[5396]: ERROR:lcr:mod_init: AVP fr_inv_timer_avp has not been defined
Nov  6 15:12:09 kam /sbin/kamailio[5396]: ERROR:core:init_mod: failed to initialize module lcr
Nov  6 15:12:09 kam /sbin/kamailio[5396]: ERROR:core:main: error while initializing modules

We have already configured FR_inv_timer_avp parameter like this in the Kamilio.cfg:
modparam("tm", "fr_inv_timer_avp", "$avp(i:70")

The "tm" module is already loaded in the Kamilio.cfg.

The complaint is from module lcr, not tm.
I do this in my cfg:

modparam("lcr|tm", "fr_inv_timer_avp", "$avp(i:704)")