From b1b406cb12ece5ac9435a6b9e15abb1230b7debf Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Mon, 12 Sep 2016 12:25:54 -0500 Subject: [PATCH] app_queue: Fix CLI "queue show" and AMI Queues action output truncation. The output of CLI "queue show" and AMI Queues action is truncated and "failed to extend from 240 to 327" messages are generated if the queue member and interface names are lengthy. * Increase the string buffer size from 240 to 512 in order to accommodate for more information fields added to the output since v1.8. ASTERISK-26360 #close Reported by: Richard Mudgett Change-Id: Id99c03cf5362453b80491a4b3b0434cb67aa966d --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 84564c55b7..4010693d63 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -8451,7 +8451,7 @@ static void do_print(struct mansession *s, int fd, const char *str) static char *__queues_show(struct mansession *s, int fd, int argc, const char * const *argv) { struct call_queue *q; - struct ast_str *out = ast_str_alloca(240); + struct ast_str *out = ast_str_alloca(512); int found = 0; time_t now = time(NULL); struct ao2_iterator queue_iter; -- 2.47.2