[asterisk-bugs] [Asterisk 0011083]: [patch] Empty voicemail message file causes call into voicemail to disconnect

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 20 08:01:46 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11083 
====================================================================== 
Reported By:                dtyoo
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11083
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-24-2007 20:44 CDT
Last Modified:              11-20-2007 08:01 CST
====================================================================== 
Summary:                    [patch] Empty voicemail message file causes call
into voicemail to disconnect
Description: 
After upgrading from 1.4.9 to 1.4.13 we are having the following problem
with voicemail.  We sometimes get voicemail messages left in mailboxes
where the wav / data file is 44 bytes long.  The file basically has a
header but no data.  Under 1.4.13 calls into voicemail will be disconnected
after listening to such a message.  1.4.9 did not have this issue.

In case you are curious, these 44 byte messages are being left despite
minmessage being set to 3 in the general section of voicemail.conf.  These
messages are accompanied by a console message "app.c: No audio available on
SIP/IP ADDRESS-b50d7b38??"

Nothing special in the console / log file.  Looks the same as when a
caller hangs up normally even though in this case they are being
disconnected.
====================================================================== 

---------------------------------------------------------------------- 
 dtyoo - 11-20-07 08:01  
---------------------------------------------------------------------- 
gkloepfer-

I think there would definitely be value in looking at the playback routine
to see if it can be made to handle the empty file condition more
gracefully.  Corydon76's patch should fix one scenario where these empty
files are being created, but as is evident from jharragi's note, there is
this and possibly other ways that empty files are being created.  Its
unclear to me that Corydon76's patch will fix all possible scenarios where
files are being created (Corydon76 - can you comment on this?).  

These empty files definitely did not disconnect callers under 1.4.9 so
something must have changed in the playback routine between 1.4.9 and
1.4.13.  I would be happy to test anything you come up with. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-20-07 08:01  dtyoo          Note Added: 0074065                          
======================================================================




More information about the asterisk-bugs mailing list