Quick update for the list: As the manual states, [RasSrv::RewriteE164] is always rewriting _prefixes_, so it always looks at the front of the alias and no special notation is needed. We found out that the only cases where the rewrite happened "in the middle" where when the user dial a number like 1.2.3.4##601234. Since the IP and the E164 are really transmitted in 2 fields over the wire, the rewrite happened correctly at the beginning of the E164 (it just wasn't what the user expected). Regards, Jan Leon Li wrote: > Hi, > > I may ask a dumb question here. :) > > In [RasSrv::RewriteE164] section, I have a statement like 60..=111111160.. to translate a 4 digits to 11. However, I found gk will match any 60 in the dialled E164 and do the rewriting. For example, if I daill 1234601234, it will rewrite to 12341111111601234. > > Is this expected? If it is, anyway we can match from the beginning, like use ^60..? > > Regards, > Leon -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/