[asterisk-bugs] [Asterisk 0010452]: Unavailable and Busy messages are deleted.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 16 02:28:57 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10452 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10452
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-14-2007 17:59 CDT
Last Modified:              08-16-2007 02:28 CDT
====================================================================== 
Summary:                    Unavailable and Busy messages are deleted.
Description: 
Voicemail(user at context,su) causes
/var/spool/asterisk/voicemail/context/user/unavail.gsm (or WAV/wav) to be
played once and then deleted. Subsequent calls to
Voicemail(user at context,su) then just play Alison's standard voicemail
greeting.

A strange warning message is also displayed when VM recording is
complete.

The process seems to be (in the following, 'unavail' and 'busy' are
interchangeable:

1 - Call to Voicemail(user at context,su) is issued
2 - Directory /var/spool/asterisk/voicemail/context/user/unavail is
created (with no content)
3 - Empty file /var/spool/asterisk/voicemail/context/user/unavail.txt is
created.
4 - /var/spool/asterisk/voicemail/context/user/unavail.gsm (or WAV/wav) is
played.
5 - /var/spool/asterisk/voicemail/context/user/unavail.* is deleted.
6 - Voicemail is recorded as:

    -- Recording the message
    -- x=0, open writing: 
/var/spool/asterisk/voicemail/context/user/tmp/qMXbOo format: wav49,
0x9aadac8
    -- x=1, open writing: 
/var/spool/asterisk/voicemail/context/user/tmp/qMXbOo format: gsm,
0x9a841b8
    -- x=2, open writing: 
/var/spool/asterisk/voicemail/context/user/tmp/qMXbOo format: wav,
0x9f34ac0

7 - The warning message similar to:

[Aug 15 00:00:36] WARNING[24341]: app_voicemail.c:1629 base_encode: Failed
to open log file:
/var/spool/asterisk/voicemail/context/user/tmp/UdrEnJ.WAV: No such file or
directory

is given (note that the filename in (7) is different to the one in (6).

====================================================================== 

---------------------------------------------------------------------- 
 bcnit - 08-16-07 02:28  
---------------------------------------------------------------------- 
The "Failed to open log file" message was caused by the absence of sox.

However, I am concerned that the error message is a little misleading -
surely a .WAV file is not a log file. Also, there were no errors other
than:

[Aug 15 17:36:06] WARNING[30646] app_voicemail.c: Failed to open log file:
/var/spool/asterisk/voicemail/vitell/home/tmp/ylZFYX.WAV: No such file or
directory

in the Asterisk log. Surely there should be some reference that the call
to sox failed?

Anyway, my bad. Apologies for this one. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-16-07 02:28  bcnit          Note Added: 0068905                          
======================================================================




More information about the asterisk-bugs mailing list