Hello. Thanks for your response.
I assume you mean something like this:
if (! uri=~"sip:.*[@]+.*") {
sl_send_reply("404", "Not Found");
}
Can you direct me to the particular module that explains what these characters like ~,^, @, []* all mean? I can't seem to find it.
On 9/14/06, Juha Heinanen <jh@tutpro.com> wrote:
Max Gregorian writes:
> Basically I am trying to find out a way of checking for minimum and
> maximum digit length dialled by our users, in order to filter some of the
> traffic through our OpenSER server. Dialling rules aside, is there a
> way?
try regular expression matching if r-uri in your openser.cfg.
-- juha