[asterisk-users] Fwd: add a new queue strategy: SBR

Mark Michelson mmichelson at digium.com
Sun Mar 8 21:44:21 CDT 2009


David fire wrote:
> you are wrong.
> when you set up an agent in a queue you can put a priority.
> David
The term used in Asterisk for a queue member's "priority" is the word 
"penalty." When you set up a member in queues.conf, the penalty is the 
third option for a member. Here's an example:

member => SIP/2000,Mark Michelson,3

In the above example, Mark Michelson is the name of a queue member who 
can be reached by calling the interface SIP/2000. His penalty is 3. The 
rule for penalties is that members with lower penalties are called 
before members with higher penalties. If all the members of the lowest 
penalty are unavailable (i.e. not logged in or currently on a call) then 
the Queue application will attempt to call a member with a higher penalty.

Caution: One shortcoming of queue member penalties is that they are not 
taken into account if a queue member of a low penalty does not answer a 
call. Say for instance that the queue application determines that there 
are two members available to answer an incoming call. One member has 
penalty 1 and the other has penalty 2. If the member with penalty 1 does 
not answer the call, the queue application still considers that member 
to be available the next time that it tries to reach a member. The 
member with penalty 2 will only be tried if the queue application can 
determine *before the call is placed* that the member with penalty 1 is 
unavailable.

Mark Michelson



More information about the asterisk-users mailing list