[svn-commits] mmichelson: trunk r69809 - /trunk/apps/app_voicemail.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jun 18 18:28:10 CDT 2007
Author: mmichelson
Date: Mon Jun 18 18:28:10 2007
New Revision: 69809
URL: http://svn.digium.com/view/asterisk?view=rev&rev=69809
Log:
Undoing my last commit. I misread the code before.
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=69809&r1=69808&r2=69809
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jun 18 18:28:10 2007
@@ -8597,9 +8597,10 @@
/* Otherwise 1 is to save the existing message */
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Saving message as is\n");
+ if (!outsidecaller)
+ ast_filerename(tempfile, recordfile, NULL);
+ ast_stream_and_wait(chan, "vm-msgsaved", "");
if (!outsidecaller) {
- ast_filerename(tempfile, recordfile, NULL);
- ast_stream_and_wait(chan, "vm-msgsaved", "");
STORE(recordfile, vmu->mailbox, vmu->context, -1, chan, vmu, fmt, *duration, vms);
DISPOSE(recordfile, -1);
}
More information about the svn-commits
mailing list