Hi all
I have the following URI rewriting for emergency end others special kind of numbers..
if ((uri=~"^sip:80[0-9]+@") | (uri=~"^sip:1[0-9][0-9]@")) {
rewritehost("my ip address");
forward(uri:host, uri:port);
break;
};
I would like someone explain me how to use [] ..for instance I want to apply uri rewriting
to all numbers that start with 800.xx.xx.xx, is the first one I wrote ok?
Giuseppe