We need to persist the member name also
authorJason Parker <jparker@digium.com>
Wed, 20 Sep 2006 06:14:05 +0000 (06:14 +0000)
committerJason Parker <jparker@digium.com>
Wed, 20 Sep 2006 06:14:05 +0000 (06:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43322 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 02394e0..ff00e44 100644 (file)
@@ -2712,8 +2712,8 @@ static void dump_queue_members(struct call_queue *pm_queue)
                if (!cur_member->dynamic)
                        continue;
 
-               res = snprintf(value + value_len, sizeof(value) - value_len, "%s;%d;%d%s",
-                       cur_member->interface, cur_member->penalty, cur_member->paused,
+               res = snprintf(value + value_len, sizeof(value) - value_len, "%s;%d;%d;%s%s",
+                       cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername,
                        cur_member->next ? "|" : "");
                if (res != strlen(value + value_len)) {
                        ast_log(LOG_WARNING, "Could not create persistent member string, out of space\n");