Hi, I'm not sure there is a bug: It looks like you are using the [RasSrv::PermanentEndpoints] section to assign a prefix to a prefix to an endpoint that registers dynamically. You should use GatewayPrefixes= in the [EP::...] section to do that, because the permanent registration (which happens at gatekeeper start up) will be overwritten by the dynamic registration that happens later. My guess is that your gateway also registers the prefixes 11,16,83412 in its RRQ. Am I right ? Those currently get the global default priority (which is 1) and not the gateway default priority (which would be 2 in your case). The gateway priority is only applied to the prefixes that are _added_ using GatewayPrefixes=. Your dynamically set prefixes overwrite the setting in the config. This is the way it always was, but I would agree that this is confusing and dynamically registered prefixes should probably be assigned the gateway priority. A quick fix would be to change the config of the gateway that it either doesn't actively register and use it as a permanent endpoint or at least make sure it doesn't register any prefixes and set them using GatewayPrefixes=. Regards, Jan Dmitry Melekhov wrote: > Hello! > > There is problem with EP config- with 2.2.6 I had problem - although > gateway has priority 2 and there are free capacity on gateway > with priority 1 calls are go to gateway with priority 2. > > I decided that 2.2.6 doesn't read config correctly. > > I installed 2.2.7 to find is it 2.2.6 problem or not. > And I found that priority works only with permanent endponts. > If I write > > [RasSrv::PermanentEndpoints] > 192.168.46.40=hohr;11,16,83412 > > [EP::p98] > Capacity=30 > GatewayPriority=1 > > [EP::hohr] > Capacity=30 > GatewayPriority=2 > > Then I get: > > RCF|192.168.46.40:1720|hohr:h323_ID|gateway|7851_p98 > Wed, 16 Apr 2008 13:14:37 +0500 (permanent) C(0/1/1) <1> > Prefixes: 11:=2,16:=2,83412:=2 > > > If there is no > [RasSrv::PermanentEndpoints] > 192.168.46.40=hohr;11,16,83412 > > and, what is more important, after gateway registration it lost prefixes! > > RCF|192.168.46.40:1720|hohr:h323_ID|gateway|7851_p98 > Wed, 16 Apr 2008 13:15:51 +0500 (permanent) C(0/1/1) <1> > Prefixes: <none> > > > and gateway register itself > I get > > RCF|192.168.46.40:1720|hohr:h323_ID|gateway|7851_p98 > Wed, 16 Apr 2008 13:14:37 +0500 (permanent) C(0/1/1) <1> > Prefixes: 11:=1,16:=1,83412:=1 > > > Looks like bug... -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/