[OpenSIPS-Users] URI PARSING

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 12 11:49:00 CEST 2010


Or simply :
   if ( $var(x)=~ "^foo[0-9]+" )

Regards,
Bogdan

Premalatha Kuppan wrote:
> Thanks.
>
> On Sun, Jul 11, 2010 at 4:25 AM, mayamatakeshi 
> <mayamatakeshi at gmail.com <mailto:mayamatakeshi at gmail.com>> wrote:
>
>
>
>     On Fri, Jul 9, 2010 at 8:10 PM, Premalatha Kuppan
>     <premalatha at ngintech.com <mailto:premalatha at ngintech.com>> wrote:
>
>         Please tell me how to search for special character in a string.
>
>         {s.select,0,_} this would return the value; instead if i want
>         to search whether special characters exist or not, which
>         transformation should i use.
>
>
>     Use module regex instead:
>     http://www.opensips.org/html/docs/modules/1.6.x/regex.html#id228196
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list