Queue Penalty Rules
THIS WIKI HAS BEEN UPDATED FOR VERSION 13 OF YOUR PBX GUI
Part of the VQ Plus Commercial Module
Overview
Queue Penalty Rules are part of the VQ Plus commercial module. This component allows you to assign dynamic queue penalty rules to escalate calls based on the length of hold time. For example, the system might try agents with a penalty of 0 for the first 30 seconds, then agents with penalties of 0 and 1 for the next minute.
This wiki assumes you are familiar with assigning agent penalties in the Queues module. For more information on how to do this, please see the Queues Module User Guide.
By default app_queue in asterisk handles agent penalties in a fashion some people do not like. Asterisk tries to call the lowest-numbered penalty group first. Only if nobody in that group is able to take a call does the system escalate to calling the next group. Any agent logged into the queue who is not paused or on a call is considered available to take a call. This means if you have one agent who has stepped away from their phone and they are in penalty group 1, the queue will never move on to calling a higher penalty group until that agent either is logged out, paused, or on a call, or until the queue's minimum penalty is changed to be greater than that agent's penalty.
One way to get around this is to enable auto-pause in the queue page in the PBX GUI. This will automatically pause agents when they miss a call, until they unpause themselves. When paused, the agent will not be considered available.
The other way around this is to use the lazymember patch that we have built and included in Asterisk 11 and newer on FreePBX Distro and PBXact systems only. This will force app_queue to mark the agent who does not answer a call as "busy" for the current caller, which will allow app_queue to move on to the next penalty group. Once all agents in all penalties have been called for that inbound call, the system will reset the temporary "busy" and restart the cycle again. You can turn on lazymembers on a per-queue basis in the queue module in the PBX GUI.
Navigating to Queue Penalty Rules
Log into the PBX GUI
In the top menu go to Admin
In the drop-down menu go to Queue Penalty Rules
Creating a Queue Penalty Rule
A queue penalty rule dynamically changes the minimum and/or maximum agent penalties that will be tried, based upon how long the caller has been waiting.
Click the New Rule Set button.