Hello, On 03/27/08 14:25, VoIP Forums www.Go4Calls.com wrote: > 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; > }; > try:
if($(rU{s.len})<=7) See the pseudo-variables and transformations tutorials on www.openser.org/dokuwiki for more details. Cheers, Daniel > > Regards, > www.Go4Calls.Com > VoIP Forums > ------------------------------------------------------------------------ > Connect to the next generation of MSN Messenger Get it now! > <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.openser.org > http://lists.openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users