[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
Fri Nov 23 11:38:43 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
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-23-2007 11:38 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.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-23-07 11:38  russell        Status                   new => assigned     
11-23-07 11:38  russell        Assigned To               => putnopvut       
======================================================================




More information about the asterisk-bugs mailing list