Maybe your gw does not send "gw" as its H.323 ID. ----- Original Message ----- From: "Marek Wlizlo" <Marek.Wlizlo@xxxxxxxxxx> Subject: Re: How to force GNUGk to route every call tothe explicit gateway? I tried to apply settings shown below but there is still something wrong. #Rule 1 [RasSrv::PermanentEndpoints] 192.168.6.145=gw;4,3 #Rule 2 [RasSrv::RewriteE164] 1=4 #Rule 3 [RasSrv::GWRewriteE164] gw=out=4=1 The call schema is: 101 is trying to reach 102 through the "gw". According to presented configuration, called number 102 is rewritten to 402 (look for Rule2) then call is routed to "gw" (look for Rule1) and finally 402 is expected to be rewritten to 102 again (look for Rule3) before it will be routed to "gw" but unfotunately it isn't. Could anyone tell me why 'Rule 3' is not working as I expect? Regards, Marek ----- Original Message ----- From: Gabriel Georgescu To: GNU Gatekeeper Users ; openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Sent: Sunday, November 19, 2006 9:30 PM Subject: Re: How to force GNUGk to route every call to the explicit gateway? Hi Marek, Maybe you can try this: modify the 102 number to something else in [RasSrv::RewriteE164] 102=999 and send the 999 to your GW with billing. If the GW has to send back the call to GK for termination then use also a different number and define a rule that will change that number to 102. Like 888=102 (in same section). This way the call is proxied through your billing system but 102 still registered to gnugk. Regards, Gabriel At 07:16 AM 11/19/2006, =?iso-8859-2?Q?Marek_Wliz=B3o?= wrote: Let's say I have registered to my GNUGk two endpoints and one gateway (H.323/E1). So GNUGk's registration table is like: 101, 102, gw. What the problem is? When 101 calls 102 I would like to force GNUGk to route this connection to "gw". Someone would ask why? Answer is: because behind gateway is my TDM switch which is going to account this VoIP call. My TDM switch will work as an proxy for this VoIP call because of the billing reasons. I have to use billing mechanism already implemented in it. I tried to look for available routing policies and rewriting mechanisms implemented in GNUGk but from my point of view neither fulfill my needs. Please suggest me any way how to configure GNUGk to reach my goal. Thanks in advance for any advice. Marek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________________ 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/