Summary: | ASTERISK-03883: [patch] voicemail saves wav49 format with wrong extension | ||
Reporter: | pupfuzz (pupfuzz) | Labels: | |
Date Opened: | 2005-04-07 01:26:56 | Date Closed: | 2008-01-15 15:31:13.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20050407__file_fix.diff.txt | |
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: -- Executing VoiceMail("Zap/1-1", "9999") in new stack -- Playing 'vm-intro' (language 'en') -- Playing 'beep' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/outbound/9999/INBOX/msg0007 format: wav49, 0x86d7c20 -- Channel 0/1, span 1 got hangup request -- User hung up 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 ****** ADDITIONAL INFORMATION ****** This problem was introduced when changes to file.c were introduced in bug ASTERISK-3804. Backing out the file.c diff from that bug fixes the problem. | ||
Comments: | By: Tilghman Lesher (tilghman) 2005-04-07 02:22:33 Patch moves the wav49 fix to a more logical location. Disclaimer on file. By: pupfuzz (pupfuzz) 2005-04-07 09:11:34 Thanks, the patch works for me. By: Mark Spencer (markster) 2005-04-07 14:33:32 Fixed in CVS head. Thanks! By: Digium Subversion (svnbot) 2008-01-15 15:31:13.000-0600 Repository: asterisk Revision: 5436 U trunk/file.c ------------------------------------------------------------------------ r5436 | markster | 2008-01-15 15:31:12 -0600 (Tue, 15 Jan 2008) | 2 lines Match special case of wav49 behavior (bug ASTERISK-3883) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5436 |