summaryrefslogtreecommitdiff
path: root/apps
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:36 -0500
commit416e35589e320ecd25d5a34b262017bee078fa87 (patch)
treec74e36e613acc7999c7a4636293c7977ea7f6a3f /apps
parent821d7428ab5e09c9860067b9e29fd4a535f59ac0 (diff)
app_queue.c: clear moh field in init_queue
ASTERISK-27301 #close Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
Diffstat (limited to 'apps')
-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 c4c3dbcc0..b7718a131 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2696,6 +2696,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");