Atis Lezdins wrote: > Hi, > > I'm experiencing something like this: > > Agent A with penalty 0 logs into queue > Agent B with penalty 1 logs into queue > Agent C with penalty 1 logs into queue > Call arrives, it goes to agent A (penalty 0) > Call arrives, it goes to agent C (penalty 1) > Agent D with penalty 1 logs into queue > Call arrives, it goes to agent D (penalty 1) > > and so on.. it is possible for agent B to wait quite some long time (if not > forever), until he gets a call. I suppose, it's not expected behaviour. Can > anybody confirm? > > Regards, > Atis >
If you're using a recent version of 1.4, then members are not kept in any particular order in memory since they are now kept in a hash table. Most likely, even though B logs in first, C and D appear earlier when iterating the hash table, so they will get calls before B. Mark Michelson _______________________________________________ --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