Olivier
2013-Jan-25 16:39 UTC
[asterisk-users] How to implement "priority queuing" within a single queue ? [SOLVED]
2013/1/25 Michael Keuter <lists at mksolutions.info>> > 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) >That's exactly what I was looking for. The strange thing is I couldn't find it mentioned in Queue app doc, if I'm not mistaken (but that's another story). Thank you very much.> > > > > 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 > > > > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130125/c6e95820/attachment.htm>
Michael Keuter
2013-Jan-25 16:58 UTC
[asterisk-users] How to implement "priority queuing" within a single queue ? [SOLVED]
Am 25.01.2013 um 17:39 schrieb Olivier:> > > 2013/1/25 Michael Keuter <lists at mksolutions.info> > > 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) > > That's exactly what I was looking for. > The strange thing is I couldn't find it mentioned in Queue app doc, if I'm not mistaken (but that's another story). > > Thank you very much.I found it here a while ago: http://www.voip-info.org/wiki/view/Asterisk+Detailed+Variable+List https://wiki.asterisk.org/wiki/display/AST/Various+application+variables 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/123acfed/attachment-0001.bin>