mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -231,7 +231,7 @@ static int odbc_load_module(void)
|
||||
|
||||
ast_mutex_lock(&odbc_lock);
|
||||
|
||||
cfg = ast_load(config);
|
||||
cfg = ast_config_load(config);
|
||||
if (!cfg) {
|
||||
ast_log(LOG_WARNING, "cdr_odbc: Unable to load config for ODBC CDR's: %s\n", config);
|
||||
goto out;
|
||||
@@ -331,7 +331,7 @@ static int odbc_load_module(void)
|
||||
table = "cdr";
|
||||
}
|
||||
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
if (option_verbose > 2) {
|
||||
ast_verbose( VERBOSE_PREFIX_3 "cdr_odbc: dsn is %s\n",dsn);
|
||||
ast_verbose( VERBOSE_PREFIX_3 "cdr_odbc: username is %s\n",username);
|
||||
|
Reference in New Issue
Block a user