Hi Marek, as other have pointed out, it should be possible to do all your routing with a stock GnuGk. But if you still want to make your code available, you can always put it into the patch tracker on SourceForge: http://sourceforge.net/tracker/?atid=304797&group_id=4797&func=browse Regards, Jan Marek Wlizlo wrote: > I tested a few possible configurations of GNUGk which were expected to solve > my problem. Unfortunately neither did it. > > Finally I achieved my goal by adding a new routing policy to the GNUGk. > The policy name I named "gateway" and it is applied only to endpoints > registered to the gatekeeper. > In short, it causes that every call from H.323 endpoint to another H.323 > endpoint registered to the same gatekeeper is routed via proper gateway > based on matched prefix. In the case when ARQ message is originated by > gateway then "gateway" routing policy is not applied and next possible > routing policy is used (look for example below) > > Below is actual configuration of my GNUGk: > > [Gatekeeper::Main] > Fourtytwo=42 > Name=GK > > [GkStatus::Auth] > rule=allow > > [RoutingPolicy::OnARQ] > default=gateway,internal > > If there is a need and possibility to make my gatekeeper changes available > to public access please let me know. > > Regards, Marek > > ----- Original Message ----- > From: "Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx> > To: "GNU Gatekeeper Users" <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> > Sent: Tuesday, November 21, 2006 8:28 AM > Subject: Re: How to force GNUGk to route every call > totheexplicit gateway? > > > > 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/ > -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------- 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/