[SR-Users] syntax error and invalid arguments when trying to start Kamailio

Cory Sanders cory at phoenixteldata.com
Sat Oct 19 23:27:49 CEST 2013


Sorry if this is a duplicate email.  First one bounced. 


"I am having trouble starting Kamailio.  Please see below for the error
output and the content of /usr/local/etc/kamailio/kamailio.cfg at the lines
noted in the error.  Following instrucions at
http://www.kamailio.org/wiki/install/4.0.x/git

root at proxy:/etc/default# /etc/init.d/kamailio start
Not starting Kamailio: invalid configuration file!
-e
0(15561) : <core> [cfg.y:3567]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 356, column 30-34: syntax error
0(15561) : <core> [cfg.y:3567]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 356, column 30-34: Invalid
arguments
0(15561) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 356, column 35:
ERROR: bad config file (3 errors)




# ----- usrloc params -----
/* enable DB persistency for location entries */
#!ifdef WITH_USRLOCDB
modparam("usrloc", "db_url", DBURL)
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", MULTIDOMAIN)
#!endif


Thanks."




More information about the sr-users mailing list