[OpenSIPS-Users] Need to match against +

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 16 17:16:00 CEST 2008


Hi Ali,

this is perfectly correct (just tested), so maybe the error is in other 
place. do a xlog("----$rU\n"); before to check the received uri.

Regards,
Bogdan

Ali Jawad wrote:
>
> Hi All
>
>
> I need to route against numbers that start with +
>
>  
>
> I am using
>
>  
>
> *if($rU =~ "^\+.*")*
>
> *{*
>
> *route(8); *
>
> *exit;    *
>
> *          *
>
> *}  *
>
> * *
>
> *But it is not matching. Anything I missed here *
>
>  
>
> With Regards
>
>  
>
> Ali Jawad
>
> System Administrator
>
> Splendor Telecom (www.splendor.net)
>
> Beirut, Lebanon
>
> Phone: +961 1 373725
>
> Fax: + 961 1 375554
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list