failure_route[FAIL_ONE] { is closed before your "if ( $rU =~ "^9[0- ....."
Daniel-Constantin Mierla wrote:please help me
On 4/13/10 11:59 AM, alexis heron wrote:
Daniel-Constantin Mierla wrote:
always the same error
On 4/13/10 11:49 AM, alexis heron wrote:
Iņaki Baz Castillo wrote: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.
2010/4/13 alexis heron <alexis.heron@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
Try to put a xlog (or other action) before the 'if' just to see if the error changes the line.
Cheers,
Daniel
comment from the actions above until you spot it. if you don't provide your config, cannot help here.
Daniel
thank you
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users