mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -1548,7 +1548,7 @@ static int _dsp_init(int reload)
|
||||
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
|
||||
struct ast_config *cfg;
|
||||
|
||||
cfg = ast_config_load(CONFIG_FILE_NAME, config_flags);
|
||||
cfg = ast_config_load2(CONFIG_FILE_NAME, "dsp", config_flags);
|
||||
|
||||
if (cfg && cfg != CONFIG_STATUS_FILEUNCHANGED) {
|
||||
const char *value;
|
||||
|
Reference in New Issue
Block a user