[Serusers] URI Pattern Matching

Jiri Kuthan jiri at iptel.org
Thu Feb 22 10:44:27 CET 2007


I would try:
  if (uri=~"^sip:\*")
-jiri

p.s. =~ is regular matching operator in SER config language, \* is the
RE expression for the "special character".

At 01:45 22/02/2007, Jon Farmer wrote:
>Hi
>
>I am trying to find a way to detect if the Invite URI starts with a *.
>
>How do I match this as ser normally sees * as a wildcard.
>
>Regards
>
>Jon
>
>
>
>-- 
>Jon Farmer
>Telford, Shropshire, UK
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers



--
Jiri Kuthan            http://iptel.org/~jiri/




More information about the sr-users mailing list