Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Atis Lezdins
On Thu, Dec 18, 2008 at 8:21 PM, Benoit maver...@maverick.eu.org wrote:
 I'm having a question with asterisk queue system, is it a fifo or a lifo
 or random ?

 Sometimes when we have people waiting in the queue and new agents are
 connected to handle the load the first call that is handled is not the
 one which
 is already waiting for 4min, but the new one which has just arrived.

 However this doesn't happens everytimes
 Is it normal ?


Calls are distributed in Priority+FIFO. Do you set ${QUEUE_PRIO}
before sending call to queue? Perhaps you're forgetting it in some
part of dialplan.

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Philipp Kempgen
Benoit schrieb:

 I'm having a question with asterisk queue system, is it a fifo or a lifo
 or random ?

Depends on the strategy.
http://www.voip-info.org/wiki-Asterisk+call+queues

   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  -  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Atis Lezdins
On Thu, Dec 18, 2008 at 8:39 PM, Philipp Kempgen
philipp.kemp...@amooma.de wrote:
 Benoit schrieb:

 I'm having a question with asterisk queue system, is it a fifo or a lifo
 or random ?

 Depends on the strategy.
 http://www.voip-info.org/wiki-Asterisk+call+queues


Strategy affects which agent will be next to get call, but not which
call will be sent to next agent (if i understood OP correctly)

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Darrin Henshaw
I believe you are correct Atis.

Philipp within your queue setup do you have any announcements? If so read the 
posting on 
queues.conf(http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf), 
announcements will have an effect on the order that calls are picked up.

Cheers,


Darrin Henshaw | IT Administrator | MCTS: Exchange 2007 | MCSE 2003 | LPIC
Ignition Support Center | www.ignition.bm
Bermuda (441) 496-4319 | Cayman (345) 947-4357 | Halifax (902) 482-1288
Atlanta | Bermuda | Cayman | Halifax


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Atis Lezdins
Sent: Thursday, December 18, 2008 14:45
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

On Thu, Dec 18, 2008 at 8:39 PM, Philipp Kempgen
philipp.kemp...@amooma.de wrote:
 Benoit schrieb:

 I'm having a question with asterisk queue system, is it a fifo or a lifo
 or random ?

 Depends on the strategy.
 http://www.voip-info.org/wiki-Asterisk+call+queues


Strategy affects which agent will be next to get call, but not which
call will be sent to next agent (if i understood OP correctly)

Regards,
Atis

--
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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

This email and its attachments may be confidential and are intended solely for 
the use of the individual or parties' to whom it is addressed. All comments are 
solely those of the author and do not necessarily represent those of Ignition.  
If you are not the intended recipient of this email and its attachments, you 
must take no action based upon them, nor must you copy or show them to anyone.  
Please contact the sender if you believe you have received this email in error. 
 Thanks for considering the environmental impact before printing this email.

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Benoit
Atis Lezdins a écrit :
 Calls are distributed in Priority+FIFO. Do you set ${QUEUE_PRIO}
 before sending call to queue? Perhaps you're forgetting it in some
 part of dialplan.
   
Thanks for the hint, could be usefull, however i'm not using it anywhere 
right now

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Benoit
Philipp Kempgen a écrit :
 Benoit schrieb:

   
 I'm having a question with asterisk queue system, is it a fifo or a lifo
 or random ?
 

 Depends on the strategy.
 http://www.voip-info.org/wiki-Asterisk+call+queues

Philipp Kempgen
   
? The strategy is for call distribution to member IIRC, not distribution 
between calls.
Anyway i'm using rrmemory as a strategy.

I have a little precision to make, it seem to happen mostly when then 
regular agent are on
the phone and the manager logs in the queue to handle the extra calls 
that are waiting for
a long time, however he gets the brand new one instead.

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Atis Lezdins
On Thu, Dec 18, 2008 at 8:50 PM, Darrin Henshaw dhens...@ignition.bm wrote:
 I believe you are correct Atis.

 Philipp within your queue setup do you have any announcements? If so read the 
 posting on 
 queues.conf(http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf), 
 announcements will have an effect on the order that calls are picked up.


Yes, announcments could also affect this. If announcement is being
played to caller, he won't get connected at that point, and other call
could jump in front of him.

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Benoit
Atis Lezdins a écrit :
 On Thu, Dec 18, 2008 at 8:50 PM, Darrin Henshaw dhens...@ignition.bm wrote:
   
 I believe you are correct Atis.

 Philipp within your queue setup do you have any announcements? If so read 
 the posting on 
 queues.conf(http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf), 
 announcements will have an effect on the order that calls are picked up.

 

 Yes, announcments could also affect this. If announcement is being
 played to caller, he won't get connected at that point, and other call
 could jump in front of him.

 Regards,
 Atis
   

No, no announcments whatsoever, only a music on hold of a directory type 
with two files.

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Atis Lezdins
On Thu, Dec 18, 2008 at 9:44 PM, Benoit maver...@maverick.eu.org wrote:
 Atis Lezdins a écrit :
 On Thu, Dec 18, 2008 at 8:50 PM, Darrin Henshaw dhens...@ignition.bm wrote:

 I believe you are correct Atis.

 Philipp within your queue setup do you have any announcements? If so read 
 the posting on 
 queues.conf(http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf),
  announcements will have an effect on the order that calls are picked up.



 Yes, announcments could also affect this. If announcement is being
 played to caller, he won't get connected at that point, and other call
 could jump in front of him.

 Regards,
 Atis


 No, no announcments whatsoever, only a music on hold of a directory type
 with two files.


You could enable core set verbose 3 and core set debug 1, and then
post corresponding log when you see this happens.

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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


Re: [asterisk-users] Asterisk 1.4.22 Queues problems (Fifo or not ?)

2008-12-18 Thread Benoit
Atis Lezdins a écrit :
 You could enable core set verbose 3 and core set debug 1, and then
 post corresponding log when you see this happens.
   
Ok so, what you are saying is that this shouldn't happens ? (in normal 
conditions
the queue should be a fifo)

Anyway, i had the idea this was caused by the login of a new member that 
other
calls hadn't have time to 'register' or sometime like that, and the new 
call has already
taken the full list in action.

So  i've investigated the *real* need behind this, and reprogrammed the 
queue and fixed
the penalty system to allow for a multi-level agent system, which answer 
the need better
than connecting/disconnecting at needs.

However if this still happen i'll try the debug, but the core is already 
at verbose 3 and it's a pain in the arse to follow
and even work with the console ...

By the way do someone know a way using AEL/conf to obtain the queue(s) 
an agent is a member of ?
i can't seem to find a way to 'browse' the astdb key 
/Queue/PersistentMembers/* nor is there a key referencing
every queues actives ...


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