Hi friends,

Could you please help me how i can make dialplan to call local each subscriber 
using some special prefix?

I tried the following but it did not work.

if (uri=~"sip:[EMAIL PROTECTED]") {
                strip(2);
                rewritehostport("pstncarrier:5060");
                route(1);
                exit;
}else if (uri=~"sip:[EMAIL PROTECTED]")
                  rewritehostport("pstncarrier:5060");

                route(1);

                exit;

}else if (uri=~"sip:[EMAIL PROTECTED]")
                strip(2);
                    if (!lookup("location")) {
                        sl_send_reply("404", "Not Found");
                        exit;
                        };


                route(1);


                exit;

 };

The first two above condition is working fine but when we trying to call using 
01 prefix + subscriber ID the call not going and the message comming 404 Not 
Found.



Regards, 
www.Go4Calls.Com 
VoIP Forums 
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to