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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 17 13:52:29 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-17-2007 13:52 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-17-07 13:52  
---------------------------------------------------------------------- 
Good news! I've written a patch which should make things smoother for those
who switch from file storage to ODBC storage in the future. The way the
patch works is that if it can't retrieve the file from the database but
finds it in the file system, it inserts the file into the database. That
way, the transition should be seamless and will not necessitate the
re-recording of voicemail greetings.

After I commit it, this issue will be closed.

My current plan is to be at Astricon. I'll see you there! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-17-07 13:52  putnopvut      Note Added: 0069007                          
======================================================================




More information about the asterisk-bugs mailing list