[asterisk-users] How to implement "priority queuing" within a single queue ?

Michael Keuter lists at mksolutions.info
Fri Jan 25 10:31:04 CST 2013


Am 25.01.2013 um 17:22 schrieb Olivier:

> Hi,
> 
> Let say that in a call center, callers are recognized and categorized in 4 priority levels (priority 1 for Very Very Important Personalities, 2 for VIP, and so on)  before entering a Queue.
> How can you make sure a priority 2 caller is answered before priority 3 callers, for instance ?
> 
> I can think of several solutions but none really pleases me :
> 
> 1. Have 4 different queues, set penalty value and let each caller enter one queue depending on its own priority.
> I don't like this solution because I foresee editing stats for 4 queues instead of one is harder.

Just set the Queue_PRIO for that specific caller-type before you send them all into the same queue:

exten => s,n,Set(QUEUE_PRIO=10)
exten => s,n,Queue(test,tC,,,180)

> 
> 2. Iterate over each call waiting in the queue and insert new call with Queue's position argument accordingly valued.
> I don't like this one because I'm afraid coding this won't be so easy.
> 
> What would you suggest ?
> 
> Regards
> 
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


Michael

http://www.mksolutions.info




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6060 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130125/7bea192a/attachment.bin>


More information about the asterisk-users mailing list