Re: [SR-Users] Weird config parsing issues - 5.4

2020-09-02 Thread Daniel-Constantin Mierla
Hello, you also have to be careful not to have such lines in comments or in the wrong order. Maybe just grep the lines starting with #! and be sure you have proper nesting of if[n]def and endif. Another thing to check is if you have include/import files and if yes, that their content is correct.

Re: [SR-Users] Weird config parsing issues - 5.4

2020-08-26 Thread Noah Mehl
Daniel, I have done this, but that’s why I’m confused, because sometimes it works, and sometimes it doesn’t (with no changes to the configs). I ran a quick grep on the config: root@inbound-kamailio-test-02:/usr/local/etc/kamailio# grep -i '#!if' kamailio.cfg | wc -l 61

Re: [SR-Users] Weird config parsing issues - 5.4

2020-08-25 Thread Daniel-Constantin Mierla
Hello, in such cases, check the config file content and be sure you have corresponding "#!endif" for each #!ifdef or #!ifndef. Cheers, Daniel On 20.08.20 17:46, Noah Mehl wrote: > All, > > I have built branch 5.4 from source, and I’m working with the default config. > However, from time to

Re: [SR-Users] Weird config parsing issues - 5.4

2020-08-20 Thread Noah Mehl
Adding a new line did not resolve this. ~Noah > On Aug 20, 2020, at 12:33 PM, Cindy Leung wrote: > > Try adding a newline at the end of your cfg files. > > On Thu, Aug 20, 2020 at 11:48 AM Noah Mehl > wrote: > All, > > I have built branch 5.4 from source, and I’m

Re: [SR-Users] Weird config parsing issues - 5.4

2020-08-20 Thread Cindy Leung
Try adding a newline at the end of your cfg files. On Thu, Aug 20, 2020 at 11:48 AM Noah Mehl wrote: > All, > > 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: > >

[SR-Users] Weird config parsing issues - 5.4

2020-08-20 Thread Noah Mehl
All, 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: 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