[asterisk-commits] rmudgett: branch 10 r378689 - /branches/10/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 8 17:56:01 CST 2013


Author: rmudgett
Date: Tue Jan  8 17:55:57 2013
New Revision: 378689

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378689
Log:
app_queue: Fix incorrect assertion.

(issue ASTERISK-16115)

Modified:
    branches/10/apps/app_queue.c

Modified: branches/10/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_queue.c?view=diff&rev=378689&r1=378688&r2=378689
==============================================================================
--- branches/10/apps/app_queue.c (original)
+++ branches/10/apps/app_queue.c Tue Jan  8 17:55:57 2013
@@ -3270,7 +3270,7 @@
 		++*busies;
 		return 0;
 	}
-	ast_assert(qe->parent->ringinuse || tmp->member->call_pending);
+	ast_assert((qe->parent->ringinuse && tmp->member->ignorebusy) || tmp->member->call_pending);
 
 	ast_copy_string(tech, tmp->interface, sizeof(tech));
 	if ((location = strchr(tech, '/')))




More information about the asterisk-commits mailing list