<div dir="ltr">Try adding a newline at the end of your cfg files.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 20, 2020 at 11:48 AM Noah Mehl <<a href="mailto:noahmehl@gmail.com">noahmehl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">All,<br>
<br>
I have built branch 5.4 from source, and I’m working with the default config.  However, from time to time I get this error when launching kamailio:<br>
<br>
root@inbound-kamailio-test-02:~# /usr/local/sbin/kamailio -P /run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -E<br>
 0(1296) CRITICAL: <core> [core/cfg.y:3588]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 30-34: syntax error<br>
 0(1296) CRITICAL: <core> [core/cfg.y:3588]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 30-34: Invalid arguments<br>
 0(1296) CRITICAL: <core> [core/cfg.y:3591]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 35: <br>
ERROR: bad config file (3 errors)<br>
 0(1296) ERROR: <core> [core/ppcfg.c:234]: pp_ifdef_level_error(): different number of preprocessor directives: 1 more #!if[n]def as #!endif<br>
<br>
However, if I run a “make install” from the source directory, this error goes away.  Has anyone run into this issue before?<br>
<br>
Configs attached.<br>
<br>
Thanks!<br>
<br>
~Noah<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>