mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +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:
@@ -497,7 +497,7 @@ int iax_provision_reload(int reload)
|
||||
cur->dead = 1;
|
||||
cur = cur->next;
|
||||
}
|
||||
cfg = ast_config_load("iaxprov.conf", config_flags);
|
||||
cfg = ast_config_load2("iaxprov.conf", "chan_iax2", config_flags);
|
||||
if (cfg != NULL && cfg != CONFIG_STATUS_FILEUNCHANGED) {
|
||||
/* Load as appropriate */
|
||||
cat = ast_category_browse(cfg, NULL);
|
||||
|
Reference in New Issue
Block a user