From b14724adb3ec6a5b2e09061618f49d7b0a205335 Mon Sep 17 00:00:00 2001 From: Daniel Journo Date: Wed, 8 Mar 2017 20:29:16 +0000 Subject: [PATCH] res_musiconhold: moh general section is a class and issues warning * res_musiconhold.c: Ensure the general section is not treated as a moh class. ASTERISK-26353 #close Change-Id: Ia3dbd11ea2b43ab3e6c820a9827811dd24bea82d --- res/res_musiconhold.c | 1 + 1 file changed, 1 insertion(+) diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 70bb040182..5ee1ac30ba 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -1748,6 +1748,7 @@ static int load_moh_classes(int reload) ast_log(LOG_WARNING, "Unknown option '%s' in [general] section of musiconhold.conf\n", var->name); } } + continue; } if (!(class = moh_class_malloc())) {