If I unload uri.so and but I load uri_db.so I get the following error:
bind_dbmod: Module sql does not export db_use_table function
ERROR: mod_init(): Can't bind database module
init_mod(): Error while initializing module usrloc
WARNING:fm_free: free(0) called
However I dont get error no more on this line:
modparam("auth_db|domain|group|uri|usrloc", "db_url",
"sql://serro:psw@xxx.xxx.xxx.xxx/ser")
???
Giuseppe
----- Original Message -----
From: "Giuseppe Parlato" <gparlato(a)tnet.it>
To: "Andrey Kouprianov" <andrey.kouprianov(a)gmail.com>
Cc: <serusers(a)iptel.org>
Sent: Sunday, July 23, 2006 8:11 PM
Subject: Re: [Serusers] error configuration file
Before (0.8.14) in conf file uri_db.so was not loaded
but everything
worked the same.
In my conf file I had: modparam("auth_db|domain|group|uri|usrloc",
"db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade to
0.9.6 I get an error on this line.
..I'm using freeradius
thanks
Giuseppe
----- Original Message -----
From: "Andrey Kouprianov" <andrey.kouprianov(a)gmail.com>
To: <serusers(a)iptel.org>
Sent: Saturday, July 22, 2006 12:02 PM
Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the
error. Check if you've
loaded uri_db.so module...
On 7/21/06, Klaus Darilion <klaus.mailinglists(a)pernau.at> wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks
(watch out for missing '}' )
regards
klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to
start ser:
parse error (329,55-56): unknown command, missing loadmodule?
ERROR: bad config file (1 errors)
ser startup failed
so on my configuration file the problem is this here:
} else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file
has not been changed. The same file worked on 0.8.14 version.
help please
Giuseppe
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
21/07/2006
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006