Files
asterisk/apps
Kinsey Moore 3b3c9f38f4 app_queue: Honor penalty limits of 0
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.

(closes issue ASTERISK-20862)
Review: https://reviewboard.asterisk.org/r/2995/
Reported by: Schmooze Com
........

Merged revisions 402645 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@402646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-11-11 15:35:22 +00:00
..
2013-08-29 22:16:41 +00:00
2012-04-06 18:19:03 +00:00
2012-11-07 19:03:42 +00:00
2013-08-30 16:20:21 +00:00
2012-11-07 19:03:42 +00:00
2012-06-15 16:20:16 +00:00
2012-06-25 17:59:34 +00:00
2013-08-29 22:16:41 +00:00