aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-04 21:48:41 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-04 21:48:41 +0000
commit7c295196556a30173fef15bd9796020c2394a81f (patch)
treee9546f11cd8949019209e6fdd0d2ab5bdbed4fc6 /apps
parent8c3b8e8c877e2c69815aede5200b1ff94d09f665 (diff)
Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP).
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48248 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 d865075c5..336c63ac4 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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;
}