mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
A minor correction to the available logic of autofill. If a queue member is paused, they're not really "available" so don't count them as such. Somewhat related to issue #10155
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@80818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2178,7 +2178,8 @@ static int is_our_turn(struct queue_ent *qe)
|
||||
switch (cur->status) {
|
||||
case AST_DEVICE_NOT_INUSE:
|
||||
case AST_DEVICE_UNKNOWN:
|
||||
avl++;
|
||||
if (!cur->paused)
|
||||
avl++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user