]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Cleanup stale lock files on module load
authorSean Bright <sean.bright@gmail.com>
Tue, 9 Apr 2019 15:10:12 +0000 (11:10 -0400)
committerSean Bright <sean.bright@gmail.com>
Fri, 12 Apr 2019 13:13:56 +0000 (07:13 -0600)
commit34b9b65098783b867c24367191da2a3bcb93ee62
treefd457acc9a784b61a53cc880c5732c88dd35feb9
parentfbed32a1a5e38b6ab4e963ae8ca8627e02f7d4bd
app_voicemail: Cleanup stale lock files on module load

If Asterisk crashes while a VM directory is locked, lock files in the VM
spool directory will not get properly cleaned up. We now clear them on
module load.

ASTERISK-20207 #close
Reported by: Steven Wheeler

Change-Id: If40ccd508e2f6e5ade94dde2f0bcef99056d0aaf
apps/app_voicemail.c