mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix ENUM to live w/out config file, and fix internationalization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -147,8 +147,6 @@ static int load_config(void)
|
||||
struct ast_config *cfg;
|
||||
char *s;
|
||||
|
||||
ast_log(LOG_WARNING, "reading enum config\n");
|
||||
|
||||
cfg = ast_load(ENUM_CONFIG);
|
||||
if (cfg) {
|
||||
if (!(s=ast_variable_retrieve(cfg, "general", "h323driver"))) {
|
||||
@@ -159,8 +157,8 @@ static int load_config(void)
|
||||
ast_destroy(cfg);
|
||||
return 0;
|
||||
}
|
||||
ast_log(LOG_WARNING, "Error reading enum config\n");
|
||||
return -1;
|
||||
ast_log(LOG_NOTICE, "No ENUM Config file, using defaults\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user