On 10/23/12 08:52, Daniel-Constantin Mierla wrote:
Besides the right version, be sure the parameter value is integer. In the initial post is given the example:

modparam("siptrace", "trace_to_database", "0")

which makes "0" value a string, it should be:

modparam("siptrace", "trace_to_database", 0)

Cheers,
Daniel

On 10/23/12 3:09 PM, Marius Zbihlei wrote:
On 10/22/2012 11:37 PM, Christopher Holland wrote:
getting this error:

Hello,

What version of Kamailio are you using, this parameter is available from 3.2 onwards.

For building modules you can tune modules.lst as described here https://www.kamailio.org/wiki/install/devel/git#tuning_makefiles

Cheers,
Marius


kamailio: ERROR: <core> [modparam.c:151]: set_mod_param_regex: parameter <trace_to_database> not found in module <siptrace>
parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 63, column 46: Can't set module parameter

I have set this to modparam("siptrace", "trace_to_database", "0") in my .cfg

I didn't compile siptrace when I compiled kamailio. I don't know how to add a module after compiling and installing kamailio. I haven't been able to find any documentaion on how to add a module after installing only compiling before installing.

Thanks all for your help

Christopher


-- 
Zbihlei Marius

Head of
Linux Development Services Romania

1&1 Internet Development srl    Tel KA: 754-9152
Str Mircea Eliade 18            Tel RO: +40-31-223-9152
Sect 1, Bucuresti               mailto: marius.zbihlei@1and1.ro
71295, Romania


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thank you all for the help. Yep it was a typo in the .cfg file

Christopher