[Users] Checking for Digit Length
Max Gregorian
gregorian442 at googlemail.com
Thu Sep 14 23:54:15 CEST 2006
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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060914/460a8a4f/attachment.htm>
More information about the sr-users
mailing list