]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: fix moving when old messages full 65/465/1
authorJonathan Rose <jrose@digium.com>
Tue, 12 May 2015 22:45:09 +0000 (17:45 -0500)
committerMalcolm Davenport <malcolmd@digium.com>
Wed, 13 May 2015 20:38:50 +0000 (15:38 -0500)
commitb81353a0ecfa1e31b1326348731f21ab89597a64
treeed64e008e259ae435f1750437942b21dea09b331
parent523fab02d8a7ba6e88ee46c37d0ac77ad5408cd9
app_voicemail: fix moving when old messages full

When completing voicemail playback of a message in the 'INBOX', the
message gets moved to the 'Old' messages folder. Without this patch, if
the 'Old' folder is already at its set limit, then the 'INBOX' message will
simply be deleted. With this patch, the flag to delete the message will be
removed if the save_to_folder function indicates that the message could
not be moved due to a full folder.

ASTERISK-25082 #close
Reported by: Jonathan Rose
Review: https://gerrit.asterisk.org/#/c/448/

Change-Id: I2be440a09f42e2d06d50975c40d1ad7f836ecb3f
apps/app_voicemail.c