Fernando Urzedo
2007-Nov-29 13:46 UTC
[asterisk-users] 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 order Asterisk 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 am trying? I am using Asterisk 1.2.19... Thanks in advance! LocaWeb Telecom www.locawebtelecom.com.br :: Central Suporte 24 horas :: http://www.locawebtelecom.com.br/suporte
Julian J. M.
2007-Nov-29 14:52 UTC
[asterisk-users] roundrobin and rrmemory with pre-defined agent order
I've also looked into this issue, and it seems that asterisk doesn't respect the order of the members in queues.conf. Asterisk uses a hash table internally to hold the queue members. I guess it's fine when you have dozens of agents, but for simpler scenarios, it's a pain not to be able to determine agent's order. Julian J. M. On Nov 29, 2007 1:46 PM, Fernando Urzedo <Fernando.Urzedo at locaweb.com.br> wrote:> > 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 order Asterisk 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 am trying? I am using Asterisk > 1.2.19... > > Thanks in advance!-- http://www.julianmenendez.es