[asterisk-bugs] [Asterisk 0011359]: setting voicemail greeting when using IMAP backend causes zero byte messages to be left

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 28 09:31:11 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11359 
====================================================================== 
Reported By:                spditner
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11359
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 89527 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-23-2007 11:16 CST
Last Modified:              11-28-2007 09:31 CST
====================================================================== 
Summary:                    setting voicemail greeting when using IMAP backend
causes zero byte messages to be left
Description: 
If you are using an imap server for storage, a zero-byte message is left on
the IMAP server every time you set a voicemail greeting. I created these by
dialing into the voicemail manager, and going to the prompt recording: 
- option 0, 
- option 1, 
- record a prompt, # 
- accept 1, 
check your email for a new zero-byte wav file.

The following error message will also appear on the console:
[Nov 23 12:06:28] WARNING[6032]: app_voicemail.c:1632 base_encode: Failed
to open file:
/var/spool/asterisk/voicemail/default/8080/unavail/msg-001.WAV: No such
file or directory

These zero byte wav files also cause the voicemail manager to hangup when
it comes across one, making them impossible to delete from the voicemail
manager 

You will see the following message on the console whwen you attempt to
remove it:
[Nov 23 12:04:25] WARNING[6029]: format_wav_gsm.c:109 check_header: Read
failed (type)
[Nov 23 12:04:25] WARNING[6029]: file.c:316 fn_wrapper: Unable to open
format wav49
[Nov 23 12:04:25] WARNING[6029]: format_wav_gsm.c:109 check_header: Read
failed (type)
[Nov 23 12:04:25] WARNING[6029]: file.c:316 fn_wrapper: Unable to open
format wav49
[Nov 23 12:04:25] WARNING[6029]: file.c:866 ast_streamfile: Unable to open
/var/spool/asterisk/voicemail/default/8080/tmp/msg0000 (format 0x4 (ulaw)):
No such file or directory

This may be related to ticket http://bugs.digium.com/view.php?id=0011083,
however the patch posted there did
not help.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 11-28-07 09:31  
---------------------------------------------------------------------- 
I have reproduced this issue locally and will work on a fix as soon as I
can. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-28-07 09:31  putnopvut      Note Added: 0074475                          
======================================================================




More information about the asterisk-bugs mailing list