This may be stupid question, but I have this code in my opensips script to
match number

if (uri=~"^sip:11211[0-9]*@")

(just side note 11121 or 11101 is internal routing code)

So how do I match on "+"?  What I mean is I want opensips to say:

if 1112112135551212 do "this" 

if 111011+12135551212 do "that"

So I thought I just do 

if (uri=~"^sip:11011+[0-9]*@")

But it seems not working.

Thanks in adavnce.



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/url-matching-tp7594723.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to