But it doesn't work! Moreover, even "out" works astably... [RasSrv::PermanentEndpoints] 80.80.200.310=TTT1;1757#,1234# [RasSrv::GWRewriteE164] test=out=00#=0022# TTT1=out=1234#7863=1757#8863 TTT1=out=1234#380=1757#380 When called prefix=1234#7863 then gnugk sends to 80.80.200.310 digits whith prefix 1757#8863. But when called prefix=1234#380 then there is a following: 2004/09/15 14:29:49.351 3 gkauth.cxx(1224) GKAUTH RadAliasAuth Setup check ok 2004/09/15 14:29:49.352 5 Routing.h(144) ROUTING Checking policy Explicit for request Setup CRV=10524 2004/09/15 14:29:49.352 5 Routing.h(144) ROUTING Checking policy Internal for request Setup CRV=10524 2004/09/15 14:29:49.352 2 RasTbl.cxx(574) GK Gateway 7158_endp match 1234# 2004/09/15 14:29:49.352 2 RasTbl.cxx(574) GK Gateway 7155_endp match 1 2004/09/15 14:29:49.352 4 RasTbl.cxx(931) Alias match for GW 80.80.200.310:1720 2004/09/15 14:29:49.352 5 Routing.h(150) ROUTING Policy Internal applied to the request Setup CRV=10524 And gnugk sends to 80.80.200.310 digits whith 1234#380! But WHY?!! At application of rule 'IN' event always develop under the second scenario. -- Best regards, Igor Prokhorov On Wednesday 15 September 2004 14:01, Rafat Subhan wrote: > u can also write in in place of out in same section > ----- Original Message ----- > From: "Kompnet" <kompnet@xxxxxxxxx> > To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> > Sent: Wednesday, September 15, 2004 01:01 PM > Subject: GWRewriteE164 IN > > > Whether probably to apply IN per-GW E164-rewriting in case of use of > > permanent > > > endpoints and simple Q931 Setup? > > If so, which configuration must be used? > > How to bind in [RasSrv::PermanentEndpoints] or in anothrer section the > > incoming prefix to the GW from which there comes a call? > > I can only apply OUT per-GW rewriting. > > -- > > Best regards, > > Igor Prokhorov > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl > > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam > > Camcorder. More prizes in the weekly Lunch Hour Challenge. > > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m > > > > _______________________________________________________ > > > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > > Homepage: http://www.gnugk.org/ > > ------------------------------------------------------- > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam > Camcorder. More prizes in the weekly Lunch Hour Challenge. > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m > > _______________________________________________________ > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/