[asterisk-bugs] [Asterisk 0014559]: [patch] Queue setting to disregard penalty on few queue members

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 8 07:44:25 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14559 
====================================================================== 
Reported By:                fiddur
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14559
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 178702 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-26 07:10 CST
Last Modified:              2009-06-08 07:44 CDT
====================================================================== 
Summary:                    [patch] Queue setting to disregard penalty on few
queue members
Description: 
I've added a queue-setting to disregard members penalties when there are
fewer than 'penaltymemberslimit' members in the queue.

E.G.: Setting penaltymemberslimit to 4 makes the queue disregard all
members penalty levels if there are 4 or less members.

In queues that normally has many calls and many members prioritizing using
penaltiy levels makes good sense.  When these persons work off hours with
just a few others and few calls over several hours, they can now get an
even distribution during these times.
====================================================================== 

---------------------------------------------------------------------- 
 (0106118) eliel (manager) - 2009-06-08 07:44
 https://issues.asterisk.org/view.php?id=14559#c106118 
---------------------------------------------------------------------- 
do not use:
if (a)
   b

always put brackets:
if (a) {
    b;
}

also do not added \n when not needed like:
if () {
}\n <--- not needed.
else {
} 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-08 07:44 eliel          Note Added: 0106118                          
======================================================================




More information about the asterisk-bugs mailing list