Re: Bug? Load Balance / Round Robin

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

 




[RasSrv::PermanentEndpoints] a.a.a.a:1720=gwA;1234 b.b.b.b:1720=gwB;1234 b.b.b.b:1720=gwC;1234 b.b.b.b:1720=gwD;*

I gave the same prefix more than 1 EP, it sends the call gwA,
next call gwB and next call gwC, and ....
It works.
it did work on 2.0.8 !

need to handle failed calls, I hope in 2.0.9! :)
If gwA failes to connect, try gwB, and gwC, gwD  some thing like this.
Or ask me for new EP for that call. some thing like this.
It does not exists yet.    (!? )





On Wed, 07 Jul 2004 17:33:20 +0100, Steve Dommett <steve@xxxxxxxxxxxxx> wrote:

Hi all,
am I the only one experiencing strangeness regards the load balancing? Or am I completely misunderstanding how it should work?


Our config looks like:
[RasSrv::RewriteE164]
0044=1234,5678
[RasSrv::PermanentEndpoints]
a.a.a.a:1720=gwA;1234
b.b.b.b:1720=gwB;5678

My understanding is that incoming calls to 0044 should be split 50/50 between the endpoints. ie half should be rewritten to 1234 and be passed to IP a.a.a.a, and the other half changes to 5678@xxxxxxxx

However things look very different from the perpective of the gateways.
Gateway A sees calls hit it with the prefix assigned to Gateway B.
We just happened to have a dial-peer matching 5678 on gateway A, and found that loads of traffic was unexpectedly hitting it.


It's worth noting that the CDRs emitted by the GK do not show this behaviour; the CDRs appear to show correct behaviour. In other words we're getting CDRs claiming calls to IP b.b.b.b with prefix 5678 when the call really routed to IP a.a.a.a prefix 1234.

We're using version 2.2b5 pulled from CVS Jun 3rd. We've seen this on 2.0.7 too. Media proxying is not used.

Any cluebombs gratefully accepted,
   Steve.




-- Sait KARALAR Intersan voIP Telephony


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com


_______________________________________________________

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