From: Jason Parker Date: Mon, 4 Dec 2006 21:20:34 +0000 (+0000) Subject: Revert change from 8016 - this breaks other stuff... Needs further review. X-Git-Tag: 1.2.14~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ce01ec196d6329bc2de12cfa4379812741fc1b0;p=thirdparty%2Fasterisk.git Revert change from 8016 - this breaks other stuff... Needs further review. Tip: When you've reported a bug about something and somebody has put up a patch for it.. It's not a good idea to open a completely new bug and say that something is broken because of the patch in the other bug - PLEASE mention something in the bug where the patch was actually created. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48246 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b7fa310113..a1b46d3188 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6629,6 +6629,8 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re ast_verbose(VERBOSE_PREFIX_3 "Saving message as is\n"); ast_streamfile(chan, "vm-msgsaved", chan->language); ast_waitstream(chan, ""); + STORE(recordfile, vmu->mailbox, vmu->context, -1); + DISPOSE(recordfile, -1); cmd = 't'; return res; }