[SR-Users] Kamailio not starting

Corey Edwards tensai at zmonkey.org
Fri Feb 21 17:35:06 CET 2014


On Fri, Feb 21, 2014 at 12:18 AM, Owais ul Haq <owaisulhaq at hotmail.com>wrote:

> Hello,
>
> I have deployed Kamailio-3.1 on a fedora machine. And my database is
> placed on another windows 2008 server situated on the local network.
> Problem is when I run kamailio. I get the following error from logs.
>
> <core> [cfg.y:3416] : parse error in config gile
> /usr/local/kamailio-3.1/etc/kamailio//kamailio.cfg, line 311, column 31-35
> : syntax error
>
> <core> [cfg.y:3416] : parse error in config gile
> /usr/local/kamailio-3.1/etc/kamailio//kamailio.cfg, line 311, column 31-35
> : Invalid arguments
>
> Line 311 is kamailio.cfg is
>
> "modparam ("usrloc", "db_url", DBURL)"
>
> And 'DBURL' is defined as
>
> #! define DBURL "mysql://openser:5mil5My5ql@192.168.1.20/openser"
>
>
There should be no space between "#!" and "define".

Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140221/102d3c2e/attachment.html>


More information about the sr-users mailing list