Thank you for Your response Daniel.
I was able to solve the problem doing a step by step inclusion of the #!define WITH_ASTERISK function and restarting kamailio every time. I believe I had a typo or so. I also had not configured the append_fromtag Parameter. I believe I was able to integrate kamailio with Freepbx but now my users register in Freepbx even if they are not created in Kamilio but as long as the user name and password are valid, I change the password location to a different table so Asterisk don't ask twice for authentication.. I sent another post about his. Thanks a lot Carlos. De: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] En nombre de Daniel-Constantin Mierla Enviado el: martes, 17 de junio de 2014 04:17 a.m. Para: Kamailio (SER) - Users Mailing List Asunto: Re: [SR-Users] Problems to start kamailio Hello, even if you didn't change that line of config, something before can impact it, like #ifdef or IF conditions, missing or extra {, }, (, ). Maybe you can give the diff against the default config file and we can spot what is the issue. Otherwise, give here the content of the lines pointed by the error messages. Cheers, Daniel On 12/06/14 00:49, Carlos Rangel wrote: Hello I am having problems to start kamailio 4.1.3 on a fresh centos 6.5 install with Asterisk 11.9 following the tutorial. Everything has gone well except that I cannot start kamailio. Basically I have two problems. The message that I got from the console when I try to start is [root@gt-ev-i08 kamailio-4.1.3]# kamctl start INFO: Starting Kamailio : ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed An when I look at the error messages in var/log/messages I see the following errors. Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: syntax error Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: bad command: missing ';'? Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: bad command Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: syntax error Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: missing '(' or ')' ? Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: bad command: missing ';'? Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 16: '('')' expected (function call) Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 16: bad command: missing ';'? Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 18: bad command I did not touch that section of the kamailio.cfg file. I am really lost now. Hopefully someone can help. Thanks Carlos _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users