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.
Please guide, where we are making problems?
You cannot submit pseudovariables as values to module parameters. They must be static string literals only.
Masoom Alam 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.
Please guide, where we are making problems?
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
BTW, are you loading avpops as well prior to loading lcr? That is the only reason I can think why this would not be working based on the log messages you have pasted.
Alex Balashov wrote:
You cannot submit pseudovariables as values to module parameters. They must be static string literals only.
Masoom Alam 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.
Please guide, where we are making problems?
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
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)")
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.comwrote:
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)")
Masoom Alam writes:
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
are you sure there was no error message in syslog before the first one? i just checked lcr sources and couldn't find a place where there is no error produced before the first one.
anyway, something went wrong during reload or gw or lcr table from db. check your tables.
Alex: Yes, we have the avpops loaded before the lcr module
lcr module does not depend on avpops module.
-- juha
Hi,
2009/11/6 Masoom Alam masoom.alam@gmail.com
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.
Please guide, where we are making problems?
Do you see fr_inv_timer_avp listed here?
http://www.kamailio.org/docs/modules/1.5.x/lcr.html
-Laszlo
On Fri, Nov 6, 2009 at 9:43 PM, Laszlo laszlo@voipfreak.net wrote:
Hi,
2009/11/6 Masoom Alam masoom.alam@gmail.com
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.
Please guide, where we are making problems?
Do you see fr_inv_timer_avp listed here?
http://www.kamailio.org/docs/modules/1.5.x/lcr.html
-Laszlo
Sorry, Laszlo is right. I checked my installation: i'm still running Kamailio 1.4. LCR param fr_inv_timer_avp doesnt' exist anymore from 1.5 and up.
Hi, I have tried, but nothing works.
I am attaching the cfg file, kindly please help me.
Regards, MM Alam
modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
try to add in lcr
I have kamailio 1.5.0 and had same problem during initial startup
From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Masoom Alam Sent: Friday, November 06, 2009 3:16 PM To: users@lists.kamailio.org Subject: [Kamailio-Users] Problem in configuring LCR module
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.
Please guide, where we are making problems?
On Freitag, 6. November 2009, Denis Putyato wrote:
modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
try to add in lcr
I have kamailio 1.5.0 and had same problem during initial startup
Hi,
just guessing, but do also load the "pv" module before the lcr module? I think this is needed in 1.5 for all pseudo-variables to work.
Regards,
Henning
Henning Westerholt writes:
just guessing, but do also load the "pv" module before the lcr module? I think this is needed in 1.5 for all pseudo-variables to work.
henning,
my understanding is that pv module only exports some pvs and transformations and lcr module does not depend on it by any means.
-- juha
Yes I have pv.so loaded before lcr.so
From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Tuesday, November 10, 2009 9:07 PM To: users@lists.kamailio.org Cc: Denis Putyato; 'Masoom Alam' Subject: Re: [Kamailio-Users] Problem in configuring LCR module
On Freitag, 6. November 2009, Denis Putyato wrote:
modparam("lcr", "fr_inv_timer_avp", "$avp(s:fr_inv_timer_avp)")
try to add in lcr
I have kamailio 1.5.0 and had same problem during initial startup
Hi,
just guessing, but do also load the "pv" module before the lcr module? I think this is needed in 1.5 for all pseudo-variables to work.
Regards,
Henning