Hi, in direct mode, all GnuGk can do is rewrite the number in the ARQ from the endpoint and then rely on the endpoint to use the rewritten number from the ACF (thats called the "canMapAlias" feature). Unfortunately not all endpoints support that. Did you try in routed mode ? Regards, Jan Lombardi Tonio at MSOC-FSS wrote: > Hello All, > > > > I am having a problem using the e.164 rewrite feature in gnugk loaded in > direct routing mode GKRouted=0. The problem is that the number is not > being rewritten as I am specifying in the [RasSrv::RewriteE164] section. > When I look at the trace of the gatekeeper, the dialed Digits field > looks like it has been rewritten but the gateway I am sending the call > to does not receive the rewritten number but the original number the > user is dialing. I want to rewrite 25903989 to 3989 (which is what the > PBX can read). Any idea why this is happening? > > > > I am using GNUGK Version(2.3.1) installed on windows 2003 as a service. > > > > Below is the trace for the call: > > > > ACF|10.16.192.106:1720|6609_endp|4096|3989:dialedDigits|testlaptop:h323_ > ID=12345:dialedDigits|false|1e-de-fd-09-41-3a-01-48-a9-88-39-26-66-3a-cf > -22; > > CDR|47|1e de fd 09 41 3a 01 48 a9 88 39 26 66 3a cf 22|1|Wed, 03 Feb > 2010 14:41:22 +0100|Wed, 03 Feb 2010 14:41:23 > +0100|10.16.192.106:1720|6609_endp|10.16.248.7:1720|6582_endp|3989:diale > dDigits|testlaptop:h323_ID=12345:dialedDigits|MSOCGK; > > > > > > My Config is as follows: > > > > [Gatekeeper::Main] > > Fortytwo=42 > > Name=MSOCGK > > ;CallSignalPort=1720 > > TraceLevel=2 > > > > [GkStatus::Auth] > > rule=allow > > admin=Y3V6vpF7ux2WLQAqjxk26w== > > > > [LogFile] > > Filename=gk_trace.log > > Rotate=Hourly > > RotateTime=45 > > > > > > [RoutedMode] > > GKRouted=0 > > H245Routed=0 > > > > [RoutingPolicy] > > Default=internal > > > > [RasSrv::RewriteE164] > > 25903=3 > > 25424=24 > > 22568=08 > > 712345=99999 > > > > > > [RewriteCLI] > > ;in:10.16.192.0/27=any=hide > > > > [RasSrv::GWPrefixes] > > ;xaspic01=3 > > ;trendnet=24 > > ;toniolaptop=12345 > > ;sapport_mtarfa=08 > > > > > > [RasSrv::GWRewriteE164] > > > > ;trendnet=out=25424=24 > > > > > > [Endpoint::RewriteE164] > > ;25424=24 > > > > > > [RasSrv::PermanentEndpoints] > > > > 10.16.248.7=xaspic01;3 > > 10.16.192.40=trendnet;24... > > 10.16.248.18:1720=99999 > > 10.16.46.3=sapport_mtarfa;08 > > > > ;10.144.128.11=access_qawra;21... > > ;10.16.64.113=access_birgu;04... > > ;10.16.193.3=toniolaptop;123456 > > > > ;10.28.178.1=access_valletta;20... > > > > > > Regards, > > Tonio Lombardi > > > -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________________ 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/