[asterisk-bugs] [Asterisk 0016104]: app_voicemail appending IMAPFOLDER to 'vm-' to create filename for prompt to play.
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 23 09:27:46 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16104
======================================================================
Reported By: blkline
Assigned To: jrose
======================================================================
Project: Asterisk
Issue ID: 16104
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Target Version: 1.8.6
Asterisk Version: SVN
JIRA: SWP-3147
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-10-20 13:32 CDT
Last Modified: 2011-05-23 09:27 CDT
======================================================================
Summary: app_voicemail appending IMAPFOLDER to 'vm-' to
create filename for prompt to play.
Description:
If I set IMAPFOLDER=#voicemail.INBOX, then press "2" to change to new
folder, the app hangs up on the call. Looking at the console, I find the
error:
file.c:950 ast_streamfile: Unable to open vm-#voicemail.INBOX (format
0x4 (ulaw)): No such file or directory
If I create a symlink from vm-INBOX.gsm to vm-#voicemail.INBOX.gsm things
work correctly. Clearly, the app is using IMAPFOLDER to create a file
name, which isn't going to work in all cases.
======================================================================
----------------------------------------------------------------------
(0135250) svnbot (reporter) - 2011-05-23 09:27
https://issues.asterisk.org/view.php?id=16104#c135250
----------------------------------------------------------------------
Repository: asterisk
Revision: 320178
_U trunk/
U trunk/apps/app_voicemail.c
------------------------------------------------------------------------
r320178 | jrose | 2011-05-23 09:27:44 -0500 (Mon, 23 May 2011) | 22 lines
Merged revisions 320162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r320162 | jrose | 2011-05-20 13:12:21 -0500 (Fri, 20 May 2011) | 15
lines
Fixes an imapfolder related crash
imapfolders being set in the general section of voicemail would cause
the inbox folder name to
change. Since sound file names are made based on the names of the
folders, this would cause
the audio related to that folder name to change and if Asterisk
attempted to play it, the
channel would instantly hang up when the audio file couldn't be found.
This patch searches for
the name of the folder first to leave existing behavior in tact and if
that fails, it uses
the normal inbox name to get the sound file instead.
(closes issue https://issues.asterisk.org/view.php?id=16104)
Reported by: blkline
Review: https://reviewboard.asterisk.org/r/1215/
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=320178
Issue History
Date Modified Username Field Change
======================================================================
2011-05-23 09:27 svnbot Checkin
2011-05-23 09:27 svnbot Note Added: 0135250
======================================================================
More information about the asterisk-bugs
mailing list