]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix an issue where a message isn't saved correctly when using ODBC storage and review...
authorJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 19:06:26 +0000 (19:06 +0000)
committerJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 19:06:26 +0000 (19:06 +0000)
Issue 8016 - patch by sokhapkin.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48236 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index a1b46d318851a17689c04c28a935cba803cfac83..b7fa3101137a5bdbe1e8de7f12b987178225b6ea 100644 (file)
@@ -6629,8 +6629,6 @@ 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;
                        }