Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] asterisk queue cluster


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rentorbuy at yahoo.com
Guest





PostPosted: Tue May 06, 2008 2:21 pm    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

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
Back to top
rentorbuy at yahoo.com
Guest





PostPosted: Fri May 09, 2008 3:50 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

--- Vieri <rentorbuy at yahoo.com> wrote:

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

I guess there's no easy (open-source) solution to this
problem, at least for now (* 1.6?).
I believe Yate2 has something on this but it's still
alpha.

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
rentorbuy at yahoo.com
Guest





PostPosted: Fri May 09, 2008 3:58 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

--- Vieri <rentorbuy at yahoo.com> wrote:

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

I guess this isn't easy to implement, at least in
current Asterisk versions (* 1.6?).
I think Yate2 may have support for clustered queues
but it's still alpha.

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
astmattf at gmail.com
Guest





PostPosted: Fri May 09, 2008 7:38 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

Hello,

You can cluster "queues" across several servers with VICIDIAL. We have
clients with hundreds of seats taking in hundreds of lines across
multiple Asterisk servers, and the calls are distributed to agents on
all systems.

MATT---

On 5/9/08, Vieri <rentorbuy at yahoo.com> wrote:
Quote:

--- Vieri <rentorbuy at yahoo.com> wrote:


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


I guess this isn't easy to implement, at least in
current Asterisk versions (* 1.6?).
I think Yate2 may have support for clustered queues

but it's still alpha.



____________________________________________________________________________________

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
Back to top
stotaro at totarotechn...
Guest





PostPosted: Fri May 09, 2008 8:03 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

Matt,

Is there any module or code that would allow this functionality
without using VICIDIAL? I have been able to have about four hundred
agents on a single box, that is not a problem (ULAW SIP only, no TDM).

For distributing queues, I just use the queue timeout value set to a
low threshold. In addition, I use a database to keep track of the
queues to load balance.

Can you elaborate more on what VICIDIAL does that my method does not.

Thanks,
Steve Totaro

On Fri, May 9, 2008 at 8:38 AM, Matt Florell <astmattf at gmail.com> wrote:
Quote:
Hello,

You can cluster "queues" across several servers with VICIDIAL. We have
clients with hundreds of seats taking in hundreds of lines across
multiple Asterisk servers, and the calls are distributed to agents on
all systems.

MATT---



On 5/9/08, Vieri <rentorbuy at yahoo.com> wrote:
Quote:

--- Vieri <rentorbuy at yahoo.com> wrote:


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


I guess this isn't easy to implement, at least in
current Asterisk versions (* 1.6?).
I think Yate2 may have support for clustered queues

but it's still alpha.



____________________________________________________________________________________

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


_______________________________________________
-- 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
Back to top
astmattf at gmail.com
Guest





PostPosted: Fri May 09, 2008 8:20 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

Hello,

VICIDIAL is completely separate of Asterisk queues and does not use
them at all. It uses a database to keep track of all calls and agent
availability and when a call comes into the inbound AGI script the
system looks for the next agent in line no matter what server they are
on and will send the call to them.

The Asterisk Queues code is not really written to handle calls in this
way and when you get to hundreds of calls in the queue there are a lot
of issues that can come up with Asterisk Queues.

When I started coding VICIDIAL 5 years ago I tried to use app_queue
but was frustrated by how it kept changing from version to version, as
well as the limitations of it, and (at the time) the fairly serious
bugs. So I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms. This allowed for extra flexibility as well as
the ability to run the same codebase on many different version of
Asterisk. There is a slight extra load cost for these advantages, but
the ability to cluster many Asterisk servers together greatly
overrides that problem in my opinion.
MATT---



On 5/9/08, Steve Totaro <stotaro at totarotechnologies.com> wrote:
Quote:
Matt,

Is there any module or code that would allow this functionality
without using VICIDIAL? I have been able to have about four hundred
agents on a single box, that is not a problem (ULAW SIP only, no TDM).

For distributing queues, I just use the queue timeout value set to a
low threshold. In addition, I use a database to keep track of the
queues to load balance.

Can you elaborate more on what VICIDIAL does that my method does not.

Thanks,

Steve Totaro


On Fri, May 9, 2008 at 8:38 AM, Matt Florell <astmattf at gmail.com> wrote:
Quote:
Hello,

You can cluster "queues" across several servers with VICIDIAL. We have
clients with hundreds of seats taking in hundreds of lines across
multiple Asterisk servers, and the calls are distributed to agents on
all systems.

MATT---



On 5/9/08, Vieri <rentorbuy at yahoo.com> wrote:
Quote:

--- Vieri <rentorbuy at yahoo.com> wrote:


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


I guess this isn't easy to implement, at least in
current Asterisk versions (* 1.6?).
I think Yate2 may have support for clustered queues

but it's still alpha.



____________________________________________________________________________________

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


_______________________________________________
-- 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


_______________________________________________
-- 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
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Fri May 09, 2008 9:11 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

Matt Florell schrieb:

Quote:
The Asterisk Queues code is not really written to handle calls in this
way

I'd say it is not at all written to handle clustered queues. Smile

Quote:
I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms.

Sounds a bit scary. Doing everything in MeetMe rooms just doesn't
"feel right" IMO.

Quote:
the ability to cluster many Asterisk servers together greatly
overrides that problem in my opinion.

Agreed.

Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Back to top
tony at softins.clara....
Guest





PostPosted: Fri May 09, 2008 9:23 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

In article <48245B89.9080601 at amooma.de>,
Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
Quote:
Matt Florell schrieb:

Quote:
The Asterisk Queues code is not really written to handle calls in this
way

I'd say it is not at all written to handle clustered queues. Smile

Quote:
I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms.

Sounds a bit scary. Doing everything in MeetMe rooms just doesn't
"feel right" IMO.

It's actually quite a handy way of arbitrarily connecting and disconnecting
channels without dropping calls when one side hangs up.

I've been looking at VICIDIAL for the first time this week, and am at
last beginning to understand why it does things the way it does. Smile
It's a good source of ideas as well as something to use in its own right.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
astmattf at gmail.com
Guest





PostPosted: Fri May 09, 2008 9:25 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

On 5/9/08, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
Quote:
Matt Florell schrieb:

Quote:
I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms.


Sounds a bit scary. Doing everything in MeetMe rooms just doesn't
"feel right" IMO.


Quote:
the ability to cluster many Asterisk servers together greatly
overrides that problem in my opinion.


Agreed.

I was unsure about using app_meetme at first, but it has proven
extremely reliable and allows for things that just can't be done in
app_queue like multi-party calls, DTMF macros, blind monitoring
without using chanspy, playing of pre-recorded audio prompts to all
parties in the session, raising/lowering/muting audio volume on any
channel in the session and a few other features.

MATT---
Back to top
stotaro at totarotechn...
Guest





PostPosted: Fri May 09, 2008 9:55 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

On Fri, May 9, 2008 at 10:25 AM, Matt Florell <astmattf at gmail.com> wrote:
Quote:
On 5/9/08, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
Quote:
Matt Florell schrieb:

Quote:
I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms.


Sounds a bit scary. Doing everything in MeetMe rooms just doesn't
"feel right" IMO.


Quote:
the ability to cluster many Asterisk servers together greatly
overrides that problem in my opinion.


Agreed.

I was unsure about using app_meetme at first, but it has proven
extremely reliable and allows for things that just can't be done in
app_queue like multi-party calls, DTMF macros, blind monitoring
without using chanspy, playing of pre-recorded audio prompts to all
parties in the session, raising/lowering/muting audio volume on any
channel in the session and a few other features.

MATT---


I think app_bridge will eventually eliminate meetme. Meetme seems
like such a hack.

Thanks,
Steve Totaro

PS, a really cool app hosted at a telco is totally awesome (except the
price). Check out www.ucn.com

They have APIs and can connect to virtually any database. A call
center in the cloud, brilliant!
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Fri May 09, 2008 10:19 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

Steve Totaro schrieb:

Quote:
PS, a really cool app hosted at a telco is totally awesome (except the
price). Check out www.ucn.com

They have APIs and can connect to virtually any database. A call
center in the cloud, brilliant!

All the page says is:
---cut---
ucn.com

revisiting urban territory

coming soon ...
---cut---

Not exactly what I call brilliant.

Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Back to top
astmattf at gmail.com
Guest





PostPosted: Fri May 09, 2008 10:23 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

On 5/9/08, Steve Totaro <stotaro at totarotechnologies.com> wrote:
Quote:
On Fri, May 9, 2008 at 10:25 AM, Matt Florell <astmattf at gmail.com> wrote:
Quote:
On 5/9/08, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
Quote:
Matt Florell schrieb:

Quote:
I built VICIDIAL around AGIs, manager interface daemons and
agents in meetme rooms.


Sounds a bit scary. Doing everything in MeetMe rooms just doesn't
"feel right" IMO.


Quote:
the ability to cluster many Asterisk servers together greatly
overrides that problem in my opinion.


Agreed.

I was unsure about using app_meetme at first, but it has proven
extremely reliable and allows for things that just can't be done in
app_queue like multi-party calls, DTMF macros, blind monitoring
without using chanspy, playing of pre-recorded audio prompts to all
parties in the session, raising/lowering/muting audio volume on any
channel in the session and a few other features.

MATT---



I think app_bridge will eventually eliminate meetme. Meetme seems
like such a hack.


Yes, we are VERY MUCH looking forward to when Asteirsk 1.6 and
app_confbridge are stable Smile

MATT---
Back to top
stotaro at totarotechn...
Guest





PostPosted: Fri May 09, 2008 10:25 am    Post subject: [asterisk-users] asterisk queue cluster Reply with quote

On Fri, May 9, 2008 at 11:19 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:
Quote:
Steve Totaro schrieb:

Quote:
PS, a really cool app hosted at a telco is totally awesome (except the
price). Check out www.ucn.com

They have APIs and can connect to virtually any database. A call
center in the cloud, brilliant!

All the page says is:
---cut---
ucn.com

revisiting urban territory

coming soon ...
---cut---

Not exactly what I call brilliant.

Gr??e,
Philipp Kempgen
--
Asterisk-Tag.org 2008, 26.-27. Mai -> http://www.asterisk-tag.org
amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998


ooops, meant to say www.ucn.net not .com. Apologies.

Thanks,
Steve
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services