Add the "config reload <conffile>" command, which allows you to tell Asterisk

to reload any file that references a given configuration file.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-03-26 18:39:06 +00:00
parent caf7b47b69
commit ef4eff9a9b
16 changed files with 131 additions and 24 deletions

View File

@@ -2594,7 +2594,7 @@ static int load_config(void)
atxferdropcall = DEFAULT_ATXFER_DROP_CALL;
atxfercallbackretries = DEFAULT_ATXFER_CALLBACK_RETRIES;
cfg = ast_config_load("features.conf", config_flags);
cfg = ast_config_load2("features.conf", "features", config_flags);
if (!cfg) {
ast_log(LOG_WARNING,"Could not load features.conf\n");
return 0;