From db68a40698819e063f0d0ceb76b1f87636095d23 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 4 Dec 2006 21:48:41 +0000 Subject: [PATCH] Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48248 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index d865075c5b..336c63ac4a 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -7876,6 +7876,8 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Saving message as is\n"); ast_stream_and_wait(chan, "vm-msgsaved", chan->language, ""); + STORE(recordfile, vmu->mailbox, vmu->context, -1, chan, vmu, fmt, duration, vms); + DISPOSE(recordfile, -1); cmd = 't'; return res; }