mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Merged revisions 28627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28627 | file | 2006-05-19 12:38:59 -0300 (Fri, 19 May 2006) | 2 lines Treat paused queue members as unreachable (issue #7127 reported by peterh) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -455,6 +455,8 @@ static enum queue_member_status get_member_status(const struct ast_call_queue *q
|
|||||||
if (max_penalty && (member->penalty > max_penalty))
|
if (max_penalty && (member->penalty > max_penalty))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (member->paused) continue;
|
||||||
|
|
||||||
switch (member->status) {
|
switch (member->status) {
|
||||||
case AST_DEVICE_INVALID:
|
case AST_DEVICE_INVALID:
|
||||||
/* nothing to do */
|
/* nothing to do */
|
||||||
|
|||||||
Reference in New Issue
Block a user