[SR-Users] syntax error with kamailio

alexis heron alexis.heron at crihan.fr
Tue Apr 13 11:34:10 CEST 2010


marius zbihlei wrote:
> alexis heron wrote:
>> Hi,
>>
>> I have a problem to routing with kamailio. When I restart kamailio I 
>> have this error message :
>> 0(710) : <core> [cfg.y:3328]: parse error in config file 
>> /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error
>> 0(710) : <core> [cfg.y:3328]: parse error in config file 
>> /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3:
>> ERROR: bad config file (2 errors)
>>
>> here is my line 640 :
>>
>>    if (uri=~"sip:9[0-9][0-9]@.*") { //line 640
>>                log(1, "Matched Cisco Call Manager");
>>                route(4);
>>    };
>>
>> Can you help me please
>> thank you
>>
> Hello,
>
> Hope you added the "//line 640" comment afterward because Kamailio 
> doesn't support "//" type comments (the line comment is started with 
> #, multi-line comments are /* */).
>
> What version of Kamailio are you using?
>
> Marius
>
my vesrion is 3.0.0
"//line 640" it's just for the forum




More information about the sr-users mailing list