Merged revisions 48248 via svnmerge from
authorJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 21:49:38 +0000 (21:49 +0000)
committerJason Parker <jparker@digium.com>
Mon, 4 Dec 2006 21:49:38 +0000 (21:49 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48248 | qwell | 2006-12-04 15:48:41 -0600 (Mon, 04 Dec 2006) | 2 lines

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/trunk@48249 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 202b648..2eb30bc 100644 (file)
@@ -8003,6 +8003,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", "");
+                               STORE(recordfile, vmu->mailbox, vmu->context, -1, chan, vmu, fmt, duration, vms);
+                               DISPOSE(recordfile, -1);
                                cmd = 't';
                                return res;
                        }