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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 15 14:29:28 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:                     new
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-15-2007 14:29 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).

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

---------------------------------------------------------------------- 
 putnopvut - 08-15-07 14:29  
---------------------------------------------------------------------- 
By any chance, were you using file system storage for voicemail and then
switch over to ODBC storage later? If so, were the disappearing greetings
recorded prior to the switch to ODBC storage?

The reason I ask is that ODBC stores greetings in the database but creates
temporary files when someone calls voicemail so Asterisk can play them when
needed. Those files are then intentionally deleted after being played. If
the greetings were originally recorded using file system storage, then they
never made it into the database to begin with, so the behavior you're
describing would be exactly what I'd expect.

Anyway, if this is the case, then the correct course of action is to
rerecord the greetings so that they get stored properly in the database. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-15-07 14:29  putnopvut      Note Added: 0068889                          
======================================================================




More information about the asterisk-bugs mailing list