[Serusers] checking called number

Kamran Ahmad p_kami at yahoo.com
Fri Aug 19 06:43:28 CEST 2005


hello

I want to check wheather called number is started from
"R" then route his calls to one location othe wise do
another 

i have a condition
if(uri=~"^sip:R*@ipaddress") {
          do somthing
          route(1);
}
else {
          do somthing
          route(2);
}

when my number starts from R it never goes to first
condition it always goes to route2 what is best way to
do so



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the sr-users mailing list