2.2.1 round robin problem

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

 



Hello!

I have (at least ;-) ) 2 gateways with the same
prefix:

RCF|10.1.1.4:1720|nsk-1:h323_ID|gateway|6007_p98
Thu, 03 Feb 2005 16:44:50 +0400 C(0/0/0)  <1>
Prefixes: 834713,21

And

RCF|10.1.1.5:1720|nsk-2:h323_ID|gateway|5998_p98
Thu, 03 Feb 2005 16:44:46 +0400 C(0/6/6)  <1>
Prefixes: 834713,21


I changed    endptr ep =
RegistrationTable::Instance()->FindEndpoint(EpAlias,
false, true);

to 
RegistrationTable::Instance()->FindEndpoint(EpAlias,
true, true);

in SoftPBX.cxx
Cretanly, for testing only, round-robin doesn't work
for real calls to.

And I see only:
find 21
RCF|10.1.1.5:1720|nsk-2:h323_ID|gateway|5998_p98
;
find 21
RCF|10.1.1.5:1720|nsk-2:h323_ID|gateway|5998_p98


But I added two permanent gateways :

[RasSrv::PermanentEndpoints]
192.168.1.1=gw1;61
192.168.1.2=gw2;61

And round-robin works:
find 61
RCF|192.168.1.1:1720|gw1:h323_ID|gateway|5993_p98
;
find 61
RCF|192.168.1.2:1720|gw2:h323_ID|gateway|5994_p98


I looked into code and can't find reason...

Any ideas?



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux