mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 08:11:21 +00:00
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
This commit is contained in:
committed by
Richard Mudgett
parent
ff0569740a
commit
b14724adb3
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user