[asterisk-commits] qwell: branch 1.6.2 r306346 - /branches/1.6.2/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 4 13:21:48 CST 2011


Author: qwell
Date: Fri Feb  4 13:21:43 2011
New Revision: 306346

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306346
Log:
Don't fallthrough to 'unknown' in the 'ringing' case.

This could cause improper exits from the queue.

(closes issue #18499)
Reported by: zaltar
Patches: 
      app_queue.patch uploaded by zaltar (license 1148)

Modified:
    branches/1.6.2/apps/app_queue.c

Modified: branches/1.6.2/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=306346&r1=306345&r2=306346
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Fri Feb  4 13:21:43 2011
@@ -987,6 +987,7 @@
 				ast_debug(4, "%s is unavailable because his device state is 'ringing'\n", member->membername);
 				break;
 			}
+			goto default_case;
 		case AST_DEVICE_UNKNOWN:
 			if (conditions & QUEUE_EMPTY_UNKNOWN) {
 				ast_debug(4, "%s is unavailable because his device state is 'unknown'\n", member->membername);




More information about the asterisk-commits mailing list