[SR-Users] Kamailio failed to start

Salman Zafar msalman212 at gmail.com
Sat Oct 19 09:33:05 CEST 2013


check these lines:

route[REQINIT] {
#!ifdef WITH_ANTIFLOOD

.....
.....
....
}
#!endif



it should be


#!endif
}



On Sat, Oct 19, 2013 at 12:11 PM, Wingsravi R <wingsravi777 at gmail.com>wrote:

> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Regards

M. Salman Zafar
VoIP Professional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131019/d4ca70fe/attachment.html>


More information about the sr-users mailing list