]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_queue.c: clear moh field in init_queue
authorNathan Bruning <nathan@iperity.com>
Fri, 6 Oct 2017 07:39:42 +0000 (09:39 +0200)
committerJoshua Colp <jcolp@digium.com>
Wed, 11 Oct 2017 10:34:36 +0000 (05:34 -0500)
ASTERISK-27301 #close

Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba

apps/app_queue.c

index c4c3dbcc04f6eb320e5461858a44b22f0a7251cd..b7718a1310a3f6a417fb9487f3a751f57f098e3a 100644 (file)
@@ -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");