Files
asterisk/apps
David Vossel 86c204f34c StopMixMonitor race condition (not giving up file immediately)
StopMixMonitor only indicates to the MixMonitor thread to stop
writing to the file.  It does not guarantee that the recording's
file handle is available to the dialplan immediately after execution.
This results in a race condition.  To resolve this, the filestream
pointer is placed in a datastore on the channel. When StopMixMonitor
is called, the datastore is retrieved from the channel and the
filestream is closed immediately before returning to the dialplan.
Documentation indicating the use of StopMixMonitor to free files
has been updated as well.

(closes issue #15259)
Reported by: travisghansen
Tested by: dvossel

Review: https://reviewboard.asterisk.org/r/283/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@201423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-17 19:28:12 +00:00
..
2008-12-19 19:48:00 +00:00
2008-12-19 19:48:00 +00:00
2007-02-10 09:08:55 +00:00
2008-03-11 17:32:17 +00:00
2008-06-22 02:54:52 +00:00
2008-06-12 15:46:08 +00:00