Hi Juha,
I've double checked and am certain the details I have in Kamailio.cfg
are correct for the definition of DBURL.
The following is the error that comes up on restart, referring to the
DBURL in the code;
root@opensep:~# service kamailio restart
Not starting Kamailio: invalid configuration file!
-e
0(7892) : <core> [cfg.y:3591]: parse error in config file
/etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error
0(7892) : <core> [cfg.y:3591]: parse error in config file
/etc/kamailio/kamailio.cfg, line 392, column 32-36: Invalid arguments
0(7892) : <core> [cfg.y:3594]: parse error in config file
/etc/kamailio/kamailio.cfg, line 392, column 37:
ERROR: bad config file (3 errors)
Same as last time unfortunately (changed password to the correct value).
Anyone knows what is wrong please? Hoping to get presence and IM
working on the Kamailio server (enabling this presence module enables
IM, correct?).
Thank you.
Kind Regards,
Gary Shergill
On Sat, Sep 15, 2012 at 8:29 AM, Juha Heinanen <jh(a)tutpro.com> wrote:
Gary Shergill writes:
The following is the definition;
#!define DBURL "mysql://<r/w user>:<r/w password>@localhost/<database
name>"
The r/w user and password are those defined in;
/etc/kamailio/kamctlrc
Is that correct? I am still getting the same error.
i don't know what is defined in /etc/kamailio/kamctlrc, but just put
correct value in the above define, e.g.
#!define DBURL "mysql://foo:bar@localhost/pres_serv"
if your db rw username is 'foo' with password 'bar' and if your presence
db is called 'pres_serv'.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users