]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: fix moving when old messages full 61/461/2
authorJonathan Rose <jrose@digium.com>
Tue, 12 May 2015 22:45:09 +0000 (17:45 -0500)
committerJonathan Rose <jrose@digium.com>
Wed, 13 May 2015 20:28:28 +0000 (15:28 -0500)
commitd49d64b79c365841c01aff1b25be43af8065bd2d
tree02c61caa93eaf07fd1e245fc1b6bdbd3b65412df
parent16f602f5c2297f2d75360efe27893df00b34285a
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