summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorNathan Bruning <nathan@iperity.com>2017-10-06 09:39:42 +0200
committerJoshua Colp <jcolp@digium.com>2017-10-11 05:34:45 -0500
commitbe7da57546afa88a5cca059427f76494d05de9bd (patch)
tree5e1e9c2de8a63a4f81acd02605e055fc1ee76dba /apps/app_queue.c
parent65366a435e42e7531fe4e7b332aa72d3a06dc46f (diff)
app_queue.c: clear moh field in init_queue
ASTERISK-27301 #close Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 0efb2e683..e3a4e22a9 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");