Merged revisions 111049 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:26:23 +0000 (19:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:26:23 +0000 (19:26 +0000)
commit5278d1d62b1afebd3872bddea7105b13bc54923d
treeb7ccb249b7c3bcf425d60996bad7c56df4161dfd
parente6fc9ae52cceaf321d8ed834d6e191d83212b422
Merged revisions 111049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r111049 | mmichelson | 2008-03-26 14:22:16 -0500 (Wed, 26 Mar 2008) | 9 lines

Add a lock to the vm_state structure and use the lock around mail_open calls
to prevent concurrent access of the same mailstream. This, along with trunk's
ability to configure TCP timeouts for IMAP storage will help to prevent
crashes and hangs when using voicemail with IMAP storage.

(closes issue #10487)
Reported by: ewilhelmsen

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c