[asterisk-commits] trunk r28628 - in /trunk: ./ apps/app_queue.c

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


Author: file
Date: Fri May 19 10:40:39 2006
New Revision: 28628

URL: http://svn.digium.com/view/asterisk?rev=28628&view=rev
Log:
Merged revisions 28627 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28627 | file | 2006-05-19 12:38:59 -0300 (Fri, 19 May 2006) | 2 lines

Treat paused queue members as unreachable (issue #7127 reported by peterh)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_queue.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=28628&r1=28627&r2=28628&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri May 19 10:40:39 2006
@@ -454,6 +454,8 @@
 	for (member = q->members; member; member = member->next) {
 		if (max_penalty && (member->penalty > max_penalty))
 			continue;
+
+		if (member->paused) continue;
 
 		switch (member->status) {
 		case AST_DEVICE_INVALID:



More information about the asterisk-commits mailing list