mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -865,7 +865,7 @@ static int load_moh_classes(void)
|
||||
char *args;
|
||||
int x = 0;
|
||||
|
||||
cfg = ast_load("musiconhold.conf");
|
||||
cfg = ast_config_load("musiconhold.conf");
|
||||
|
||||
if (!cfg)
|
||||
return 0;
|
||||
@@ -897,7 +897,7 @@ static int load_moh_classes(void)
|
||||
var = var->next;
|
||||
}
|
||||
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
return x;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user