From be7da57546afa88a5cca059427f76494d05de9bd Mon Sep 17 00:00:00 2001 From: Nathan Bruning Date: Fri, 6 Oct 2017 09:39:42 +0200 Subject: [PATCH] app_queue.c: clear moh field in init_queue ASTERISK-27301 #close Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba --- apps/app_queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_queue.c b/apps/app_queue.c index 0efb2e6831..e3a4e22a9f 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2760,6 +2760,7 @@ static void init_queue(struct call_queue *q) } q->found = 1; + ast_string_field_set(q, moh, ""); ast_string_field_set(q, sound_next, "queue-youarenext"); ast_string_field_set(q, sound_thereare, "queue-thereare"); ast_string_field_set(q, sound_calls, "queue-callswaiting");