<div dir="ltr">On 17 June 2013 11:02, Shanavaz E A <span dir="ltr">&lt;<a href="mailto:shanavazea@yahoo.com" target="_blank">shanavazea@yahoo.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div><font><span style="font-family:arial,helvetica,sans-serif">Hi,</span></font></div><div><font><span style="font-family:arial,helvetica,sans-serif"><br>

</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">I have a requirement, which I am not sure whether it can be implemented. I had done some searches but didnt find an answer to this. Kindly let me know if some one has an idea to implement this:</span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div></div></div></blockquote><div><br></div><div><br></div><div style>

I am not aware of an existing way to do this. By default, Asterisk does not appear to be able to dynamically change the priority of a queue, which seems to be what you are after. </div><div style><br></div><div style>On one of my systems I implemented the patch at <a href="https://issues.asterisk.org/jira/browse/ASTERISK-17570">https://issues.asterisk.org/jira/browse/ASTERISK-17570</a> which, although it does not do exactly what you are after, it does help a great deal. Basically it dynamically increases the priority of callers based on their hold time across all queues, so that for a given agent they will be presented with the call having the longest wait time across all the queues they are a member of. This has made a big difference to our avg hold time, as queues are no longer competing against one anther for available agents.</div>

<div style><br></div><div style>Hope this helps.</div><div style><br></div><div style>-Barry Flanagan</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"></span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">I have two Queues - Sales &amp; Booking</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif">I have 12 Agents who are added to both the queues<br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br>

</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">Suppose there are 12 calls in the Booking Queue, and 6 calls in the Sales Queue.</span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif">Only 8 calls in the Booking Queue should hit the Agents and the other 4 calls should remain in hold.</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif">4 calls in the Sales Queue should hit the other 4 agents and the other 2 call should be in hold.</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">Means at a time a maximum of 8 Booking calls only should hit the agents and 4 Sales Calls only should hit the agents.</span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif">If number of logged in agents are less, proportionally the number of call limit should be reduced. For example, if there are only 10 agents, 7 Booking Calls should hit and 3 Sales calls should hit. The idea is that all agents should be able to answer calls in both queues in rotation. Otherwise its possible to add some agents to booking
 queue and other agents to sales queue. But thats not what is required.<br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br>

</span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">Kindly help if there is some idea to implement this.</span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div style="font-style:normal;font-size:16px;background-color:transparent">

<font><span style="font-family:arial,helvetica,sans-serif">Regards</span></font></div><span class=""><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif">Shanavaz.</span></font></div>

<div style="font-style:normal;font-size:16px;background-color:transparent"><font><span style="font-family:arial,helvetica,sans-serif"></span></font></div></font></span></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>