[asterisk-bugs] [Asterisk 0018111]: [patch] Message lost when sox fails to re-encode with 'volgain'

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 11:08:53 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18111 
====================================================================== 
Reported By:                sysreq
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   18111
Category:                   Applications/app_voicemail
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-2352 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-08 10:28 CDT
Last Modified:              2011-05-04 11:08 CDT
====================================================================== 
Summary:                    [patch] Message lost when sox fails to re-encode
with 'volgain'
Description: 
When general or per-mailbox 'volgain' variable is set, sox is used to
adjust the volume of (re-encode) a message. I've had cases where for some
unknown reason, sox would fail re-encoding the wav file, and I'd be left
_only_ with the message's temporary copy.. no trace of the msg000X.wav.

The message's description file (msg000X.txt) is not lost in the process,
so the user's phone is notified that he/she has a new message through MWI,
but is then unable to listen to it or even erase it.

We started experiencing that problem since we updated from 1.6.2.10 to
1.6.2.13.
====================================================================== 

---------------------------------------------------------------------- 
 (0134435) svnbot (reporter) - 2011-05-04 11:08
 https://issues.asterisk.org/view.php?id=18111#c134435 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316707

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r316707 | seanbright | 2011-05-04 11:08:51 -0500 (Wed, 04 May 2011) | 8
lines

If sox fails when processing a voicemail, don't delete the original file.

(closes issue https://issues.asterisk.org/view.php?id=18111)
Reported by: sysreq
Patches:
      issue18111_trunk.patch uploaded by seanbright (license 71)
Tested by: seanbright

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=316707 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 11:08 svnbot         Checkin                                      
2011-05-04 11:08 svnbot         Note Added: 0134435                          
======================================================================




More information about the asterisk-bugs mailing list