diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index bf7635ea27..4e5056358f 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -1808,7 +1808,8 @@ static char *handle_cli_moh_reload(struct ast_cli_entry *e, int cmd, struct ast_ if (a->argc != e->args) return CLI_SHOWUSAGE; - reload(); + /* The module loader will prevent concurrent reloads from occurring, so we delegate */ + ast_module_reload("res_musiconhold"); return CLI_SUCCESS; }