Ticket #2085 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 7 months ago

Allow Dynamic Queue Members to be Assigned Penalties

Reported by: daroz Assigned to:
Priority: minor Milestone: 2.7
Component: Queues Version: 2.3-branch
Keywords: priority dynamic agent Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

(Yes, Penalties are kinda bonkers in Asterisk 1.2, but seem to be a fair bit better in 1.4.)

I have a number of queues that my agents log into and take calls from. Some agents are better suited for some queues then others, but the goal is to get to the calls as quickly as possible, and not have calls holding and agents idle.

What I'd like to do is to assign a penalty to each agent for each queue. For example John might be a priority 1 in queues 100, and 101, but a priority 2 in 102 and 103, while Mary would be a priority 2 in 100/101 and a priority 1 in 102/103. Such that in the ringall strategy a call into queue 100 will only ring John on it's first attempt, then try both John and Mary again on the 2nd go around.

Static agents aren't viable as with them there's no way to tell that the agent isn't available to answer the call. (We have a fallover mechanism for calls into a queue either too long, or with no agents.)

So the idea is to alter the admin UI such that we add a new parameter for each queue "Default Dynamic Agent Penalty" (defaults to 1), and this penalty is used in the dialplan in the AddQueueMember? command. Then in the UI we can add specific agents that would have a different non-default priority. These could be stored in the AsteriskDB internally, or generated somehow in the .conf file, or perhaps an AGI command.

Change History

08/29/09 06:19:31 changed by Ste73

it's what i'm looking for!

08/29/09 07:33:17 changed by p_lindheimer

  • confirmation set to Unreviewed.
  • milestone changed from 3.0 to 2.7.

02/07/10 16:52:01 changed by p_lindheimer

in addition to the request, add ability to restrict the queue to only those agents listed.

02/07/10 16:54:30 changed by p_lindheimer

(In [8785]) adds place to define penalties for dynamic agents and optionally restrict queue members to these agents, this code was mostly written by mbrevda (Moshe), I'm just checking it in for him. WARNING: NOT YET TESTED (comming soon). re #2085

02/07/10 17:06:27 changed by p_lindheimer

(In [8786]) add changed to js insertExten() re #2085

02/07/10 18:01:18 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [8787]) closes #2085 cleans up initially untested checking, only toggle feature code is still untested