diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-14 00:08:24 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-14 00:08:24 +0000 |
commit | cc5f36d13940766493e6a975525559988b7d5ff7 (patch) | |
tree | 58a434ab4acbfb6cdacfccd3ab1c817154170e66 /apps | |
parent | 9ce40204d602fc08443d76b7da2cb427da6f5e10 (diff) |
ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 4621cd513..8f19fbbaa 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6332,7 +6332,9 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s make_file(vms->fn2, sizeof(vms->fn2), vms->curdir, vms->curmsg); snprintf(filename,sizeof(filename), "%s.txt", vms->fn2); + RETRIEVE(vms->curdir, vms->curmsg); msg_cfg = ast_config_load(filename); + DISPOSE(vms->curdir, vms->curmsg); if (!msg_cfg) { ast_log(LOG_WARNING, "No message attribute file?!! (%s)\n", filename); return 0; |