(closes issue #7852)

Reported by: nic_bellamy
Patches:
      2006-10-03_svn_44249_voicemail_lockmode_v3.patch uploaded by nic_bellamy (license 213)

Add support for configurable file locking methods.  The default is "lockfile",
which is the old behavior.  There is an additional option, "flock", which is
intended for use in situations where the lockfile method will not work, such as
with SMB/CIFS mounts.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-08-28 16:28:26 +00:00
parent 01490ecd70
commit 43e9b0f67c
5 changed files with 206 additions and 11 deletions

View File

@@ -118,6 +118,12 @@ systemname = <a_string>
; (only affects relative paths for sound files)
languageprefix = yes | no
; Locking mode for voicemail
; - lockfile: default, for normal use
; - flock: for where the lockfile locking method doesn't work
; eh. on SMB/CIFS mounts
lockmode = lockfile | flock
[files]
; Changing the following lines may compromise your security
@@ -132,4 +138,4 @@ languageprefix = yes | no
;astctl = asterisk.ctl
\end{verbatim}
\end{astlisting}
\end{astlisting}