7 msgupdate DB on ringing/ catch ringing event
2 msgcdr question
1 msgIAX IP Trunk + GSM Codec and Noise in the Polyc...
1 msgqueue
24 msgNewbie alert: VoIP hardware
1 msgphone status question
14 msgbetter enumlookup handler
2 msgMelbourne Asterisk night
3 msgReceptionist SNOM-360
4 msgStoring voicemail on samba share

asterisk queue cluster
\ Vieri (6 May 2008)
. \ Vieri (9 May 2008)
. \ Vieri (9 May 2008)
. . \ Matt Florell (9 May 2008)
. . . \ Steve Totaro (9 May 2008)
. . . . \ Matt Florell (9 May 2008)
. . . . . \ Philipp Kempgen (9 May 2008)
. . . . . . \ (Tony Mountifield) (9 May 2008)
. . . . . . \ Matt Florell (9 May 2008)
. . . . . . . \ Steve Totaro (9 May 2008)
. . . . . . . . \ Philipp Kempgen (9 May 2008)
. . . . . . . . . \ Steve Totaro (9 May 2008)
. . . . . . . . \ Matt Florell (9 May 2008)

1 msgWhat is field 'User/ANR'
3 msghow do I set callerid for incoming iax?
3 msgMixmonitor recording issue
1 msgfinding Asterisk user group users and enthusias...
5 msgPRI D-Channel reconfiguration = crash asterisk?
1 msgRe: Asterisk in Production
3 msgPerformance issues
3 msgBasic modules of Asterisk
4 msgDUNDi call impossible in one direction
Subject:asterisk queue cluster
Group:Asterisk-users
From:Vieri
Date:6 May 2008


 
I setup two asterisk servers with identical settings
(same extensions, same queues, etc). Each one is
connected to the same amount of incoming/outgoing
links (1 PRI, 4 BRI, 1 IAX friend, etc, on each box).
Most extensions are sip and they register via DNS SRV
and other methods so that the two servers are load
balanced. Incoming PSTN calls (BRI) reach 50% each
server so that's load balanced too. I use DUNDi with a
IAX friend between the 2 servers to lookup where an
extension was registered (whether on pbx1 or pbx2).
Everything is working as expected (SIP on PBX1 calls
SIP on PBX2 and vice versa; PSTN incoming call reaches
SIP extension or group whether it registered on pbx1
or pbx2, etc.).

My question regards queues.
Incoming PSTN calls have 50% chance of entering, say,
queue number 1000 on pbx1 and 50% on pbx2 (same queue
1000). All calls will be correctly bridged to the
agent, whether it randomly registered on pbx1 or pbx2.
However, how can I make pbx1 and pbx2 "counters
consistent"? ie. first call enters queue 1000 on pbx1
and will have position 1; second call entes queue 1000
and happens to fall on pbx2 and will also have
position 1. The worst case would be if there are, say,
10 callers in queue 1000 on pbx1 and the 11th call
arrives on pbx2 with position 1.

Is there a way of coherently setting up a clustered
queue?
Does anyone have examples/workarounds/links?

Thanks!

Vieri


________________________________________________________________________________ ____
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


© 2004-2008 readlist.com