[asterisk-bugs] [JIRA] (ASTERISK-20207) Asterisk should clear out any .lock files in the voice mail directory on startup.

Sean Bright (JIRA) noreply at issues.asterisk.org
Mon Oct 7 14:45:48 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248286#comment-248286 ] 

Sean Bright commented on ASTERISK-20207:
----------------------------------------

Note that this change is being reverted. There are many ways to configure Asterisk's voicemail directory (on an NFS drive, shared between two or more Asterisk instances, etc.) and automatically deleting {{.lock}} files can potentially break installations and will not necessarily be the correct thing to do in all cases.

Ideally Asterisk should not crash, but if it does it will continue to be the responsibility of the system administrator to clean up stale lock files.

> Asterisk should clear out any .lock files in the voice mail directory on startup.
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20207
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20207
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 1.8.14.1, 13.18.4
>            Reporter: Steven Wheeler
>            Severity: Minor
>      Target Release: 13.27.0, 16.4.0, 17.0.0
>
>
> We recently experienced a segfault while a user was accessing their voice mail messages.  This resulted in Asterisk leaving behind a .lock file in the user's voice mail directories.  This prevented them from accessing their voice mail or receiving new voice mails until we noticed it.  Can Asterisk automatically delete these lock files when it starts up?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list