Hi,

The symbols are used with POSIX Regular Expressions. See:

http://www.openser.org/dokuwiki/doku.php?id=regular_expressions&DokuWiki=a21aa84e798d8e87169646498235364c

http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html

Regards,
Norm

Max Gregorian wrote:
Hello. Thanks for your response.

I assume you mean something like this:

if (! uri=~"sip:[EMAIL PROTECTED]") {
  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 <[EMAIL PROTECTED]> 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


------------------------------------------------------------------------

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

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 9/13/2006


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

Reply via email to