mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
(Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker for the advice on this). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8067,8 +8067,11 @@ 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);
|
||||
if (!outsidecaller)
|
||||
{
|
||||
STORE(recordfile, vmu->mailbox, vmu->context, -1, chan, vmu, fmt, *duration, vms);
|
||||
DISPOSE(recordfile, -1);
|
||||
}
|
||||
cmd = 't';
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user