[asterisk-commits] jpeeler: branch 1.6.2 r298684 - in /branches/1.6.2: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 16 23:31:03 UTC 2010
Author: jpeeler
Date: Thu Dec 16 17:30:59 2010
New Revision: 298684
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=298684
Log:
Merged revisions 298683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r298683 | jpeeler | 2010-12-16 17:29:30 -0600 (Thu, 16 Dec 2010) | 2 lines
After recording only silence for a voicemail prepending, restore backup files.
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/apps/app_voicemail.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: branches/1.6.2/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_voicemail.c?view=diff&rev=298684&r1=298683&r2=298684
==============================================================================
--- branches/1.6.2/apps/app_voicemail.c (original)
+++ branches/1.6.2/apps/app_voicemail.c Thu Dec 16 17:30:59 2010
@@ -6473,6 +6473,10 @@
ast_channel_setoption(chan, AST_OPTION_RXGAIN, &record_gain, sizeof(record_gain), 0);
cmd = ast_play_and_prepend(chan, NULL, msgfile, 0, vm_fmts, &prepend_duration, 1, silencethreshold, maxsilence);
+ if (cmd == 'S') {
+ ast_filerename(backup, msgfile, NULL);
+ }
+
if (record_gain)
ast_channel_setoption(chan, AST_OPTION_RXGAIN, &zero_gain, sizeof(zero_gain), 0);
More information about the asterisk-commits
mailing list