[Serusers] Re: checking called number

Iqbal iqbal at gigo.co.uk
Fri Aug 19 12:44:19 CEST 2005


dump a call trace showing your uri

Iqbal

Kamran Ahmad wrote:

>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 
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>.
>
>  
>




More information about the sr-users mailing list