]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Temp message left after review/hangup with ODBC/IMAP backend
authorMatthew Jordan <mjordan@digium.com>
Tue, 20 Jan 2015 02:25:25 +0000 (02:25 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 20 Jan 2015 02:25:25 +0000 (02:25 +0000)
commitee3290a70c2cbe756971f748455def8c43ae6087
tree03e0883e1b5181b004e8770ac0cbf286a0215647
parent77dcac119ca856d8bb2d8f35284bec8f55b1a075
app_voicemail: Temp message left after review/hangup with ODBC/IMAP backend

When using ODBC or IMAP storage, temporary files created on the file system
must be disposed of using the DISPOSE macro. The DELETE macro will map to a
deletion function for the backend storage, but does not clean up any local
files created as a result of the operation.

When using voicemail with the operator and review options enabled, pressing
0 to enter the menu, followed by 1 to save the message, followed by any
other DTMF press to delete the message, will result in the temporary file
lingering on the file system.

This patch properly calls DISPOSE after the DELETE. This causes the local
file to be disposed of.

ASTERISK-24288 #close
Reported by: LEI FU
patches:
  voicemail_odbc_review_fix.diff uploaded by LEI FU (License 6640)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@430795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c