diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-25 06:10:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-25 06:10:20 +0000 |
commit | 2207b9a515214bf72785eabf75bd587bd7df23e8 (patch) | |
tree | 5e740f79246c281ef1bc43bcffc87fd21f676005 /pbx/pbx_dundi.c | |
parent | c7f2030d7977ded782c6430a33e57bbbb69cd6df (diff) |
Merge config updates (bug #3406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_dundi.c')
-rwxr-xr-x | pbx/pbx_dundi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index cc927080b..dc3ee80ed 100755 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -4446,7 +4446,7 @@ static int set_config(char *config_file, struct sockaddr_in* sin) dundi_eid testeid; dundi_ttl = DUNDI_DEFAULT_TTL; - cfg = ast_load(config_file); + cfg = ast_config_load(config_file); if (!cfg) { @@ -4569,7 +4569,7 @@ static int set_config(char *config_file, struct sockaddr_in* sin) cat = ast_category_browse(cfg, cat); } prune_peers(); - ast_destroy(cfg); + ast_config_destroy(cfg); load_password(); if (globalpcmodel & DUNDI_MODEL_OUTBOUND) dundi_precache_full(); |