I have just set up a new SER server using SER 0.9.6 on FreeBSD 6.1. I then
copied my working config file from my SER 0.9.3 installation and run ser -c
to verify the config file and get the following errors:
sip1# ser -c
0(68102) set_mod_param_regex: parameter <db_url> not found in module <acc>
0(68102) parse error (49,20-21): Can't set module parameter
0(68102) set_mod_param_regex: parameter <db_flag> not found in module <acc>
0(68102) parse error (76,19-20): Can't set module parameter
0(68102) set_mod_param_regex: parameter <db_missed_flag> not found in
module <acc>
0(68102) parse error (77,19-20): Can't set module parameter
ERROR: bad config file (3 errors)
When I search this news list for answers I found the conversation below. But
I found that there is no acc_db.so module anywhere. Not in source and not in
/usr/local/lib/ser/modules. I looked in FreeBSD package, ports and even in
released source code on iptel but no such module is to be found anywhere. I
studied the realese documents but there is nothing said about changes in the
acc module.
Any one who had his issue and solved it?.
Thanks in advance.
Roger
_____
Från: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] För Alberto Cruz
Skickat: den 27 juni 2006 04:27
Till: Andy Thomas
Kopia: serusers(a)lists.iptel.org
Ämne: Re: [Serusers] problem with acc module settings
Prioritet: Hög
You should remove the following line:
loadmodule "/usr/lib/ser/modules/acc.so"
And you need to add the following:
loadmodule "/usr/lib/ser/modules/acc_db.so"
Andy Thomas wrote:
Hi,
I cant start Ser 0.9.6
I get the following error when I start it up
0(4628) set_mod_param_regex: parameter <db_url> not found in module <acc>
0(4628) parse error (87,20-21): Can't set module parameter
0(4628) set_mod_param_regex: parameter <db_missed_flag> not found in module
<acc>
0(4628) parse error (92,19-20): Can't set module parameter
0(4628) set_mod_param_regex: parameter <db_flag> not found in module <acc>
0(4628) parse error (93,19-20): Can't set module parameter
ERROR: bad config file (3 errors)
Heres my settings for the acc module can anyone see whats wrong with it??
modparam("acc", "db_url",
"mysql://ser:heslo@localhost/ser")
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
modparam("acc", "log_fmt", "fimos")
modparam("acc", "db_missed_flag", 2)
modparam("acc", "db_flag", 1)
_____
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers