I get the IP of the terminating gateway here: [Endpoint] Gatekeeper=192.168.250.20 Type=Gateway H323ID=gnu-01 Password=gateway GK 192.168.250.20 returns 192.168.250.135 (pl or plovdiv, my mistake) The problem is that in order to resolve the number the 192.168.250.20 GK requires 00+35XXXXXXX and 192.168.250.135 requires only 35XXXXXXXX I've added 192.168.250.135 as gateway only in order to modify the number that I'm sending to it. ARQ GW----0035XXXX---> Gnu -----0035XXXX ---> GK ACF GK ---192.168.230.135---> Gnu Gnu -0035XXXX--> 192.168.250.135 The result that I'm targeting is Gnu -35XXXX--> 192.168.250.135 -----Original Message----- From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Teodor Georgiev Sent: Thursday, June 02, 2005 5:52 PM To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: E164 rewriting The gatekeeper does not know where to route the call. You should do something like: [RasSrv::PermanentEndpoints] 192.168.250.135=plovdiv;0035 which means that the permanent endpoint (gateway) "plovdiv" serves the prefix 0035 and all calls which have come to the GK with 0035* shall be routed to the "plovdiv" gateway. Your rewriting rules shall not work. The name of the gateway defined in "PermanentEndpoints" and the Rewrite section must match. "pl" does _not_ match "plovdiv". hth On Thursday 02 June 2005 17:35, Martin Iozev wrote: > Hello, > > I have the following setup: > > > GW ---ras----> GnuGK ----ras-----GK (third party) > > This Third party GK requires the number in 00+E164 format. > > However the terminating gateways that are returned requires only E164. > > I've tried to rewrite the number sent to the GK or to the GW, however > it seems I'm doing it wrong because nothing happened. > > Here is my current config: > > [Gatekeeper::Main] > Fourtytwo=42 > Name=gnu-01 > Home=192.168.250.33 > > [RasSrv::PermanentEndpoints] > 192.168.250.135=plovdiv > > [RasSrv::RewriteE164] > pl=out=0035=35 > pl=in=0035=35 > > [GkStatus::Auth] > rule=allow > > [RoutedMode] > GKRouted=1 > AcceptNeighborsCalls=1 > AcceptUnregisteredCalls=1 > SupportNATedEndpoints=1 > CallSignalPort=1720 > > > [Endpoint] > Gatekeeper=192.168.250.20 > Type=Gateway > H323ID=gnu-01 > Password=gateway > > > [Proxy] > Enable=1 > ProxyForSameNAT=1 > > > Any ideas? > > > Regards, > > Martin > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________________ > > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Unsubscribe: > http://lists.sourceforge.net/lists/listinfo/openh323gk-users > Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/