]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved...
authorJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 21:48:41 +0000 (21:48 +0000)
committerJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 21:48:41 +0000 (21:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48248 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index d865075c5b6456d99c685b16809af9d48e4ac0e5..336c63ac4aee5cc2da704cdbff092edf43fcd532 100644 (file)
@@ -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;
                        }