[asterisk-commits] bweschke: branch 1.4 r80818 - /branches/1.4/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 24 14:52:06 CDT 2007
Author: bweschke
Date: Fri Aug 24 14:52:06 2007
New Revision: 80818
URL: http://svn.digium.com/view/asterisk?view=rev&rev=80818
Log:
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
Modified:
branches/1.4/apps/app_queue.c
Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=80818&r1=80817&r2=80818
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Fri Aug 24 14:52:06 2007
@@ -2178,7 +2178,8 @@
switch (cur->status) {
case AST_DEVICE_NOT_INUSE:
case AST_DEVICE_UNKNOWN:
- avl++;
+ if (!cur->paused)
+ avl++;
break;
}
}
More information about the asterisk-commits
mailing list