[SR-Users] syntax error with kamailio

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


Daniel-Constantin Mierla wrote:
>
>
> On 4/13/10 11:49 AM, alexis heron wrote:
>> Iñaki Baz Castillo wrote:
>>> 2010/4/13 alexis heron <alexis.heron at crihan.fr>:
>>>>> As a suggestion, if you are interested in matching just the RURI
>>>>> username part then I strongly recommend you doing so as follows:
>>>>>
>>>>>  if ( $rU =~ "^9[0-9][0-9]$" ) {
>>>>>             log(1, "Matched Cisco Call Manager");
>>>>>             route(4);
>>>>>  }
>>>>>
>>>>>
>>>>> I have always the same error
>>>
>>> Also using my suggestion?
>>> Try removing the "log" line.
>>>
>>>
>>>
>>
>> yes also usingg your suggestion and same in try removing the "log" line
>>
>> In fact, the error is just before the "if" but before "if" it's empty
> the error is somewhere above. Maybe you haven't closed some open 
> pharentesis, quotes, etc ... the 'if' you pointed is ok. you have to 
> provide more of your config to be able to spot something.
>
> Try to put a xlog (or other action) before the 'if' just to see if the 
> error changes the line.
>
> Cheers,
> Daniel
always the same error





More information about the sr-users mailing list