<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EstiloCorreo17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EstiloCorreo20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.co2
        {mso-style-name:co2;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=ES-MX link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thank you for Your response Daniel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I was able to solve the problem doing a step by step inclusion of the </span><span class=co2><i><span lang=EN>#!define WITH_ASTERISK</span></i></span><span lang=EN style='color:#1F497D'> </span><span lang=EN-US style='color:#1F497D'>function and restarting kamailio every time. I believe I had a typo or so. I also had not configured the </span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:ES-MX'>append_fromtag</span><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> 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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks a lot<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Carlos.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D;mso-fareast-language:ES-MX'> <o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:ES-MX'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:ES-MX'> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] <b>En nombre de </b>Daniel-Constantin Mierla<br><b>Enviado el:</b> martes, 17 de junio de 2014 04:17 a.m.<br><b>Para:</b> Kamailio (SER) - Users Mailing List<br><b>Asunto:</b> Re: [SR-Users] Problems to start kamailio<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br>even if you didn't change that line of config, something before can impact it, like #ifdef or IF conditions, missing or extra {, }, (, ).<br><br>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.<br><br>Cheers,<br>Daniel<o:p></o:p></p><div><p class=MsoNormal>On 12/06/14 00:49, Carlos Rangel wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>Hello</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>The message that I got from the console when I try to start is </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>[root@gt-ev-i08 kamailio-4.1.3]# kamctl start</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>INFO: Starting Kamailio :</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed</span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>An when I look at the error messages in var/log/messages I see the following errors.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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 ';'?</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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 ')' ?</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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 ';'?</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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)</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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 ';'?</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console","serif"'>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</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>I did not touch that section of the kamailio.cfg file. I am really lost now. Hopefully someone can help.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Thanks</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Carlos</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:ES-MX'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre><pre><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:ES-MX'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre><pre><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre></div></body></html>