[asterisk-commits] jpeeler: branch 1.6.2 r277377 - in /branches/1.6.2: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 16 14:24:42 CDT 2010


Author: jpeeler
Date: Fri Jul 16 14:24:38 2010
New Revision: 277377

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=277377
Log:
Merged revisions 277366 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r277366 | jpeeler | 2010-07-16 14:22:49 -0500 (Fri, 16 Jul 2010) | 7 lines
  
  Add missing handling for ringing state for use with queue empty options.
  
  (closes issue #17471)
  Reported by: jazzy
  Patches: 
        app_queue.c.diff uploaded by jazzy (license 1056)
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/apps/app_queue.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

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=277377&r1=277376&r2=277377
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Fri Jul 16 14:24:38 2010
@@ -980,6 +980,11 @@
 				break;
 			}
 			goto default_case;
+		case AST_DEVICE_RINGING:
+			if (conditions & QUEUE_EMPTY_RINGING) {
+				ast_debug(4, "%s is unavailable because his device state is 'ringing'\n", member->membername);
+				break;
+			}
 		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