Re: RE: Re: RewriteCLI is not working on second row

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So you have your answer. Check the manual how to specify
multiple rules for the same key (for non-Unix OSes).

----- Original Message ----- From: "Kevin Shen" <kevin@xxxxxxxxxxxxxx>
Sent: Tuesday, May 17, 2005 4:48 AM



Thanks for your reply. I tried to use the 6 trace mode and get the result as
below. Only one rule has been applied.

2005/05/16 22:42:56.659 2      Toolkit.cxx(340) GK H.323 Proxy
disabled
2005/05/16 22:42:56.675 2      Toolkit.cxx(525) GK Loaded per
GW rewrite data:
2005/05/16 22:42:56.675 2      Toolkit.cxx(528) GK No per GW
data loaded
2005/05/16 22:42:56.675 5        clirw.cxx(383) CLIRW 0 inbound
rules loaded
2005/05/16 22:42:56.675 6        clirw.cxx(386) Inbound CLI rewrite
rules:

2005/05/16 22:42:56.675 5        clirw.cxx(397) CLIRW 1 outbound
rules loaded
2005/05/16 22:42:56.675 6        clirw.cxx(400) Outbound CLI rewrite
rules:
src 0.0.0.0/0 dst 192.168.2.1/32:
destination number: any = 11111

The portion of the config file is

[RasSrv::GWPrefixes]
gk1=29292
gk2=29292

[RasSrv::PermanentEndpoints]
192.168.2.1=gk1;29292
192.168.2.2=gk2;29292

[RewriteCLI]
out:any=192.168.2.1 any=11111
out:any=192.168.2.2 any=22222

Thanks


--__--__--

Message: 6
From: "Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  RewriteCLI is not working on second row
Date: Mon, 16 May 2005 10:17:03 +0200
Organization: Quarcom
Reply-To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx

Try examining the log at level 6 to see whether the rules
are correctly loaded at startup. Beware that on Windows
this syntax won't work.

----- Original Message ----- From: "Kevin Shen" <kevin@xxxxxxxxxxxxxx>
Sent: Monday, May 16, 2005 6:45 AM



I am using 2.2.2 on windows and have RewriteCLI working. The first row
(out:any=192.168.1.1 any=1001) works! But the second one does not work.

Anyone can help?

[RewriteCLI]
out:any=192.168.1.1 any=1001
out:any=192.168.1.2 any=1002

Kevin



------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________________

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/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux