[asterisk-bugs] [Asterisk 0016722]: [patch] app_queue: Give members a penalty time for not answering
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 10 02:20:43 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16722
======================================================================
Reported By: haakon
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16722
Category: Applications/app_queue
Reproducibility: N/A
Severity: feature
Priority: normal
Status: ready for testing
Asterisk Version: SVN
JIRA: SWP-815
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 243693
Request Review:
======================================================================
Date Submitted: 2010-01-27 19:05 CST
Last Modified: 2010-06-10 02:20 CDT
======================================================================
Summary: [patch] app_queue: Give members a penalty time for
not answering
Description:
This patch adds a new option notpresent-penalty option on queues.conf,
which sets how many seconds of penalty a member will get for not answering
in time.
Say you have a queue with current setup:
penalty, member
0, member1
0, member2
1, member3
If both member1 and member2 have left their phones, and forgot to log out,
a normal queue would loop between these two users, trying to get them to
answer. With this patch, they will be given a penalty when they don't
answer, and so the queue will go to the next penalty level if neither
member1 or member2 is answering their calls.
======================================================================
----------------------------------------------------------------------
(0123218) jazzy (reporter) - 2010-06-10 02:20
https://issues.asterisk.org/view.php?id=16722#c123218
----------------------------------------------------------------------
I understand the purpose of your patch. I'll try to explain my point.
Consider the following configuration:
extensions.conf
exten => somext,1,Set(QUEUE_MIN_PENALTY=1)
exten => somext,n,Set(QUEUE_MAX_PENALTY=2)
exten => somext,n,Queue(myqueue,,,,60)
exten => somext,n,Hangup()
queues.conf
[myqueue]
defaultrule = myrule
member => SIP/1001,1
member => SIP/1002,1
member => SIP/1003,2
[myrule]
penaltychange => 30,,+1
Wouldn't it behave the similar way?
Issue History
Date Modified Username Field Change
======================================================================
2010-06-10 02:20 jazzy Note Added: 0123218
======================================================================
More information about the asterisk-bugs
mailing list