[asterisk-commits] branch 1.2 r28627 - /branches/1.2/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 19 08:38:59 MST 2006


Author: file
Date: Fri May 19 10:38:59 2006
New Revision: 28627

URL: http://svn.digium.com/view/asterisk?rev=28627&view=rev
Log:
Treat paused queue members as unreachable (issue #7127 reported by peterh)

Modified:
    branches/1.2/apps/app_queue.c

Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=28627&r1=28626&r2=28627&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Fri May 19 10:38:59 2006
@@ -431,6 +431,8 @@
 	enum queue_member_status result = QUEUE_NO_MEMBERS;
 
 	for (member = q->members; member; member = member->next) {
+		if (member->paused) continue;
+
 		switch (member->status) {
 		case AST_DEVICE_INVALID:
 			/* nothing to do */



More information about the asterisk-commits mailing list