[asterisk-dev] [Code Review] 2995: app_queue: Honor penalty limits of 0
opticron
reviewboard at asterisk.org
Mon Nov 11 09:31:13 CST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2995/
-----------------------------------------------------------
(Updated Nov. 11, 2013, 9:31 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 402645
Bugs: ASTERISK-20862
https://issues.asterisk.org/jira/browse/ASTERISK-20862
Repository: Asterisk
Description
-------
In the current app_queue code from 1.8 up to trunk the upper and lower penalties can be set to 0 but the value is interpreted to be disabled instead of actually setting limits. This is especially evident if min and max limits are set to 0 and members with penalties of 0 and 1 are in the queue since the member with penalty 1 will still receive calls. This patch adjusts the special disabled value to be INT_MAX instead of 0.
Diffs
-----
branches/1.8/apps/app_queue.c 402335
Diff: https://reviewboard.asterisk.org/r/2995/diff/
Testing
-------
Manual testing of the scenario described above.
Thanks,
opticron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131111/cd542b0a/attachment.html>
More information about the asterisk-dev
mailing list