On Jul 17, 2009 at 17:49, Nils Ohlmeier <[email protected]> wrote: > Am 17.07.2009 17:22 Uhr, schrieb Andrei Pelinescu-Onciul: > >On Jul 17, 2009 at 15:07, Nils Ohlmeier<[email protected]> wrote: > >>Hi, > >> > >>when I try to use a regexp matching for the RURI like this (code is git > >>master): > >> > >> if (uri =~ "sip:\+[0-...@.*") { > >> > >>and then send a request with an RURI like this: > >> > >> sip:[email protected] > >> > >>I get the following error message: > >> > >> 2(85781) :<core> [route.c:1190]: BUG: comp_str: Bad operator type 1, > >>for ~= > >> > >>and the if statement is obviously not executed?! > >> > >>Ideas, comments and even more bug fixes are welcome :-) > > > >Thansk, should be fixed now (wrong order of fixup& optimizations). > > Yep, works again. Successfully verified. > > Could it be that the "myself" was affected by your fix?
No, I've just tested (if (myself==uri)) and it works perfectly. > I believe it was working before, but now not any more. But I did not > investigated further, could also be that something changed in my enviroment. Andrei _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
