From 4bc06f4114e32e0fa02353ac645f0827ffc26c18 Mon Sep 17 00:00:00 2001 From: bbryant Date: Thu, 10 Jul 2008 19:13:12 +0000 Subject: Fixes a bug where the interface for a queue member gets reloaded as the state_interface, if a state_interface was set, on reload because the state_interface isn't stored in the ast_db. (closes issue #13043) Reported by: jvandal Patches: app_queue.patch uploaded by jvandal (license 413) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129684 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_queue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/app_queue.c b/apps/app_queue.c index 1331703b0..61630d14d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3857,7 +3857,7 @@ static struct member *interface_exists(struct call_queue *q, const char *interfa /*! \brief Dump all members in a specific queue to the database * - * / = ;;[|...] + * / = ;;;[|...] */ static void dump_queue_members(struct call_queue *pm_queue) { @@ -3879,8 +3879,8 @@ static void dump_queue_members(struct call_queue *pm_queue) continue; } - res = snprintf(value + value_len, sizeof(value) - value_len, "%s%s;%d;%d;%s", - value_len ? "|" : "", cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername); + res = snprintf(value + value_len, sizeof(value) - value_len, "%s%s;%d;%d;%s;%s", + value_len ? "|" : "", cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername, cur_member->state_interface); ao2_ref(cur_member, -1); -- cgit v1.2.3