aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-04 21:20:34 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-04 21:20:34 +0000
commit45bbfd2bece9136655f4f3e9e2a2e1171e01a50a (patch)
tree6a5f48c54b566ec1f54f8533a715ce6d405260a7
parentbcdbfff0e6c822b07f28630a8e2df520c83a89b0 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.2@48246 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index b7fa31011..a1b46d318 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;
}