diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-08-13 15:39:48 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-08-13 15:39:48 +0000 |
commit | 8d929d7afd7a7fbd66077280bc4542675593d74b (patch) | |
tree | 8521ebf98374bd4cf03e5df94cf0cfdbba599c12 /apps | |
parent | a2847deb73193d077672d317f73c53e832138231 (diff) |
Allow non-realtime queues to have realtime members
(issue #10424, reported and patched by irroot)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 724f66c54..d571dc354 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -410,6 +410,7 @@ struct call_queue { 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 @@ static struct call_queue *load_realtime_queue(const char *queuename) ast_variables_destroy(queue_vars); AST_LIST_UNLOCK(&queues); + } else { + update_realtime_members(q); } return q; } |