[asterisk-dev] roundrobin and rrmemory with pre-defined agent order

Dmitry Andrianov dimas at dataart.com
Thu Nov 29 10:38:14 CST 2007


No, you should not use penalty. Personally I think penalty is one of the most confusing things about queues - you are third person in my memory who misinterprets the penalty setting this way (and I was the first :) )

There is new strategy "linear" in the trunk for that - http://bugs.digium.com/view.php?id=7279
But I doubt if it works because Asterisk now uses hashtable (?) to store queue members which means order in which they are read from file will be definitely lost...

PS: 1.2 is not supported anymore


-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Fernando Urzedo
Sent: Thursday, November 29, 2007 7:09 PM
To: asterisk-dev at lists.digium.com
Subject: [asterisk-dev] roundrobin and rrmemory with pre-defined agent order

Hi,

I would like to implement a queue using a circular strategy, I mean,
using roundrobin or rrmemory strategies. However, I am not able to
define the orderAsterisk will call the agents once a new call arrives in
the queue. Seems that Asterisk will always define its order as the
queues.conf file is read, and most of times this order is different from
the one I want (for each queue in queues.conf, I add members in the
order I want them to be called).

I tried to use the "penalty" setting, but then Asterisk gets stuck in
the first agent (lowest penalty) until it answers a call.

Is there a way to implement what I need? I am using Asterisk 1.2.19...

Thanks in advance!

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

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



More information about the asterisk-dev mailing list