aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-xchannels/chan_oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 0219e360d..b6dbeae22 100755
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -1026,7 +1026,7 @@ int load_module()
}
for (x=0;x<sizeof(myclis)/sizeof(struct ast_cli_entry); x++)
ast_cli_register(myclis + x);
- if ((cfg = ast_load(config))) {
+ if ((cfg = ast_config_load(config))) {
v = ast_variable_browse(cfg, "general");
while(v) {
if (!strcasecmp(v->name, "autoanswer"))
@@ -1045,7 +1045,7 @@ int load_module()
playbackonly = ast_true(v->value);
v=v->next;
}
- ast_destroy(cfg);
+ ast_config_destroy(cfg);
}
ast_pthread_create(&sthread, NULL, sound_thread, NULL);
return 0;