[OpenSER-Users] URI Length

VoIP Forums www.Go4Calls.com go4calls at hotmail.com
Thu Mar 27 13:25:26 CET 2008


Hi All,

How i can get the length of called number. i am trying to making routing logic base on length. Please help us how i can get the length i tried the fillowing but did not work.

if (uri:len<=7) {
                rewritehostport("192.168.1.1:5060");
                route(1);
                exit;
};


Regards, 
www.Go4Calls.Com 
VoIP Forums 
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080327/25c8b7ec/attachment.htm>


More information about the sr-users mailing list