Hi, I already considered such a solution: I will have lots of loops and the customer will loose its position if someone else who called later will find the queue 'ready to join' before him. I will also have a music on hold mismatch when he will join the queue and I will loose all the benefits of the asterisk queue management! If someone else will confirm me there is no other way to do it maybe I should file a wishlist bug in the asterisk tracker, beacuse I'm sure I'm not the only one who need such a feature.
Cheers, Darkbasic 2009/10/20 Miguel Molina <[email protected]>: > With the standard options your are right, you can limit the incoming calls > that enter the queue. But AFAIK, there's no way to limit how many calls > leave the queue. You only have a timeout to control when a call leaves the > queue, not how many of them. With that been said, I only can think of a > dialplan solution, that could fit your needs or not: > > 1. Queue your call normally, with the standard timeout you want > 2. If the call leaves the Queue, it will continue dialplan execution at next > priority, and there you can make it be part of a group of channels. > 3. Count that group and check if it reached the limit you need. If above the > limit, requeue your call to the same queue it was. > > That's all I can think of, without a hard work of messing with app_queue.c > source code. Hope you get the idea. _______________________________________________ -- 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
