Files
asterisk/apps
Kinsey Moore 483d127d55 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
........

Merged revisions 402646 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 402647 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-11-11 15:37:03 +00:00
..
2012-10-14 21:45:16 +00:00
2012-10-14 21:45:16 +00:00
2013-08-29 22:49:24 +00:00
2013-05-29 02:26:17 +00:00
2012-10-14 21:45:16 +00:00
2012-09-21 17:14:59 +00:00
2012-11-07 19:15:26 +00:00
2013-08-06 14:44:45 +00:00
2013-08-30 16:27:57 +00:00
2012-11-07 19:15:26 +00:00
2013-02-15 13:38:12 +00:00
2012-06-15 16:20:16 +00:00
2013-08-29 22:49:24 +00:00