mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available add warning for trying to map 'logger.conf', since it cannot be reliably mapped git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
14
config.c
14
config.c
@@ -787,8 +787,18 @@ void read_config_maps(void)
|
||||
database = strsep(&stringp, ",");
|
||||
table = strsep(&stringp, ",");
|
||||
|
||||
if (!strcmp(v->name, extconfig_conf) || !strcmp(v->name, "asterisk.conf")) {
|
||||
ast_log(LOG_WARNING, "Cannot bind asterisk.conf or extconfig.conf!\n");
|
||||
if (!strcmp(v->name, extconfig_conf)) {
|
||||
ast_log(LOG_WARNING, "Cannot bind '%s'!\n", extconfig_conf);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!strcmp(v->name, "asterisk.conf")) {
|
||||
ast_log(LOG_WARNING, "Cannot bind 'asterisk.conf'!\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!strcmp(v->name, "logger.conf")) {
|
||||
ast_log(LOG_WARNING, "Cannot bind 'logger.conf'!\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user