https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80818 | bweschke | 2007-08-24 15:52:06 -0400 (Fri, 24 Aug 2007) | 3 lines
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/trunk@80819
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
switch (cur->status) {
case AST_DEVICE_NOT_INUSE:
case AST_DEVICE_UNKNOWN:
- avl++;
+ if (!cur->paused)
+ avl++;
break;
}
}