[SR-Users] Kamailio failed to start

Wingsravi R wingsravi777 at gmail.com
Sat Oct 19 09:11:17 CEST 2013


Dear kamailio'ns

I am running kamailio 4.0.3 on ubuntu 12.04 and installed kamailio from its
repository. I had changed the default kamailio config file, and inserted
xmpp and presence related script. But after all when i tried to start my
kamailio server I am getting the following errors:

$ sudo /etc/init.d/kamailio start
Not starting Kamailio: invalid configuration file!
-e
 0(5502) INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls:
disabling compression...
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 6: syntax error
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 6: missing '(' or ')' ?
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 6: bad command: missing ';'?
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 15: '('')' expected (function
call)
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 15: bad command: missing ';'?
 0(5502) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 816, column 17: bad command
ERROR: bad config file (6 errors)

All of the above errors are pointing at route[Presence] block in the script.
What could be the reason for the errors and is there any fault in my config
file (please find the attachment for the same).

Thanks in advance.

Regards.
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131019/0b1949c7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 26061 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131019/0b1949c7/attachment-0001.obj>


More information about the sr-users mailing list