diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 20:21:17 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 20:21:17 +0000 |
commit | bc10951fdb60c7cac9aec47edb389088eb70e2ba (patch) | |
tree | bf1fd3d15b0a0f002704e16f77741ae9ea8984ea /apps | |
parent | 94fd3bf1d48ce03654f382e35e067b61a9da79e4 (diff) |
Merged revisions 80818 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@80819 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index b65ec0cfb..2bf67bde1 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2260,7 +2260,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; } } |