[SR-Users] syntax error with kamailio
Daniel-Constantin Mierla
miconda at gmail.com
Tue Apr 13 12:04:01 CEST 2010
On 4/13/10 11:59 AM, alexis heron wrote:
> 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
comment from the actions above until you spot it. if you don't provide
your config, cannot help here.
Daniel
--
Daniel-Constantin Mierla * http://www.asipto.com/ *
http://twitter.com/miconda *
http://www.linkedin.com/in/danielconstantinmierla
More information about the sr-users
mailing list