]> 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:45 +0000 (05:34 -0500)
ASTERISK-27301 #close

Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba

apps/app_queue.c

index 0efb2e6831b8c1db6b42b05b4a136064fef7f09b..e3a4e22a9f0bc28a9793fcec9741afd67e4cd2be 100644 (file)
@@ -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");