[Serusers] Re: checking called number

Kamran Ahmad p_kami at yahoo.com
Fri Aug 19 12:14:49 CEST 2005


hello

i m using ser-0.9.0 on 5060 and asterisk-1.0.9 on 5970
but problem is that i cannot send my ser back to
asterisk.
the problem is that it always goto route(4) second
else if is not properly checked how to check this
condition. i m adding 0 when asterisk is sending call
back.


        if(uri=="^sip:00[1-9]+ at .*") {
                route(4);
                break;
        } else if (uri=="^sip:0[1-9]+ at .*") {
                strip(1);
                route(5);
                break;
        } else {
                route(4);
                break;
        }



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 




More information about the sr-users mailing list