]> 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:20 +0000 (07:13 -0600)
commitfd2e8d0da7ba539470ed73d463d8bc641f7843af
treef426b65e33d4922092a6960cf7e170030f3f6bc9
parent6531f8b2ea50c0e9ead60f29f355912df907c43b
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