Index: main/loader.c =================================================================== --- main/loader.c (revision 431323) +++ main/loader.c (working copy) @@ -310,6 +310,7 @@ const char *name; int (*reload_fn)(void); } reload_classes[] = { /* list in alpha order, longest match first for cli completion */ +/* BUGBUG there are missing core modules in the following list. ccss, stasis, rtp, named_acl */ { "acl", ast_named_acl_reload }, { "cdr", ast_cdr_engine_reload }, { "cel", ast_cel_engine_reload }, Index: main/config_options.c =================================================================== --- main/config_options.c (revision 431323) +++ main/config_options.c (working copy) @@ -633,7 +633,9 @@ } try_alias: - cfg = ast_config_load(filename, cfg_flags); +/* BUGBUG this should be ast_config_load2(filename, info->module, cfg_flags) */ + //cfg = ast_config_load(filename, cfg_flags); + cfg = ast_config_load2(filename, info->module, cfg_flags); if (!cfg || cfg == CONFIG_STATUS_FILEMISSING) { if (file->alias && strcmp(file->alias, filename)) { filename = file->alias; Index: main/cdr.c =================================================================== --- main/cdr.c (revision 431323) +++ main/cdr.c (working copy) @@ -4042,6 +4042,7 @@ aco_option_register(&cfg_info, "time", ACO_EXACT, general_options, DEFAULT_BATCH_TIME, OPT_UINT_T, PARSE_IN_RANGE, FLDSET(struct ast_cdr_config, batch_settings.time), 0, MAX_BATCH_TIME); } +/* BUGBUG this doesn't handle "module reload cdr" with an unchanged config very well. */ if (aco_process_config(&cfg_info, reload)) { if (!mod_cfg) { return 1;