failure_route[FAIL_ONE] { is closed before your "if ( $rU =~ "^9[0- ....."
2010/4/13 alexis heron <alexis.he...@crihan.fr> > Daniel-Constantin Mierla wrote: > >> >> >> 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.he...@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 >> >> > please help me > 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 >
_______________________________________________ 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