Re: [SR-Users] Problem with include_file quotes

2012-11-19 Thread Pirjo Ahvenainen
Hi, There must have been windows style lines, as I edited the file structure on a windows system and later transferred the files onto Ubuntu for further editing. Currently my system works nicely, and that fix will surely prevent line feed problems for those who work on windows with virtual machin

Re: [SR-Users] Problem with include_file quotes

2012-11-19 Thread Daniel-Constantin Mierla
Hello, did you have windows/dos end of line style, I mean '\r\n'? Checking quickly the code, the '\r' is not considered in the grammar, but with '\n' as eof (unix/linux style), all should be fine. I will add a fix for '\r'. Cheers, Daniel On 11/16/12 10:11 AM, Pirjo Ahvenainen wrote: Hi ag

Re: [SR-Users] Problem with include_file quotes

2012-11-16 Thread Pirjo Ahvenainen
Hi again, Looks like I solved my own problem quickly: I tried adding a space after each include_file "file.cfg" statement and now config file check passes ok! Before I only had crlf after the quotes. Just for curiosity, is this intentional and if so, what is the purpose of whitespace after the qu

[SR-Users] Problem with include_file quotes

2012-11-16 Thread Pirjo Ahvenainen
Hi All, I've been away from Kamailio for a few months, but recently I started working with it again. I could use a hand in a small problem: I'm using include_file statement to give some structure to my config file, but when checking the config I keep getting error message: 0(4290) : [cfg.lex:15