[svn-commits] mmichelson: trunk r79238 - in /trunk: CHANGES apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Aug 13 10:39:49 CDT 2007
Author: mmichelson
Date: Mon Aug 13 10:39:48 2007
New Revision: 79238
URL: http://svn.digium.com/view/asterisk?view=rev&rev=79238
Log:
Allow non-realtime queues to have realtime members
(issue #10424, reported and patched by irroot)
Modified:
trunk/CHANGES
trunk/apps/app_queue.c
Modified: trunk/CHANGES
URL: http://svn.digium.com/view/asterisk/trunk/CHANGES?view=diff&rev=79238&r1=79237&r2=79238
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Mon Aug 13 10:39:48 2007
@@ -144,6 +144,7 @@
position changes frequently.
* Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
queue log.
+ * Added ability for non-realtime queues to have realtime members
MeetMe Changes
--------------
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=79238&r1=79237&r2=79238
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Mon Aug 13 10:39:48 2007
@@ -410,6 +410,7 @@
static AST_LIST_HEAD_STATIC(queues, call_queue);
+static void update_realtime_members(struct call_queue *q);
static int set_member_paused(const char *queuename, const char *interface, int paused);
static void set_queue_result(struct ast_channel *chan, enum queue_result res)
@@ -1254,6 +1255,8 @@
ast_variables_destroy(queue_vars);
AST_LIST_UNLOCK(&queues);
+ } else {
+ update_realtime_members(q);
}
return q;
}
More information about the svn-commits
mailing list