Summary:ASTERISK-03897: [pending stable] voicemail saves wav49 format with wrong extension
Reporter:Russell Bryant (russell)Labels:
Date Opened:2005-04-08 13:38:59Date Closed:2005-04-08 13:43:55
Versions:Frequency of
Description:If wav49 is the default voicemail format (ie: format=wav49 in voicemail.conf), the message is saved with extension .wav49 instead of .WAV (as was done prior to March 30). As a result, when the voicemail app tries to attach the saved message to an email, the attachment fails since it searches for a .WAV extension. Here's the relevant debugging output:<br />
<br />
   -- Executing VoiceMail("Zap/1-1", "9999") in new stack<br />
   -- Playing 'vm-intro' (language 'en')<br />
   -- Playing 'beep' (language 'en')<br />
   -- Recording the message<br />
   -- x=0, open writing:  /var/spool/asterisk/voicemail/outbound/9999/INBOX/msg0007 format: wav49, 0x86d7c20<br />
   -- Channel 0/1, span 1 got hangup request<br />
   -- User hung up<br />
Apr  7 02:17:01 WARNING[31013]: app_voicemail.c:1380 base_encode: Failed to open log file: /var/spool/asterisk/voicemail/outbound/9999/INBOX/msg0007.WAV: No such file or directory<br />


This problem was introduced when changes to file.c were introduced in bug view.php?id=3894" title="[closed] [patch] make format_sln default to write .raw files. Backing out the file.c diff from that bug fixes the problem.
Comments:By: Russell Bryant (russell) 2005-04-08 13:39:35

just playing with this new version of mantis ...

By: Russell Bryant (russell) 2005-04-08 13:43:05

The change from bug 3894 was not included in 1.0, so this is not an issue.