[asterisk-commits] bweschke: trunk r80819 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 24 15:21:17 CDT 2007


Author: bweschke
Date: Fri Aug 24 15:21:17 2007
New Revision: 80819

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80819
Log:
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 


........

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=80819&r1=80818&r2=80819
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Aug 24 15:21:17 2007
@@ -2260,7 +2260,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