[asterisk-bugs] [Asterisk 0011357]: filestream is not closed before executing commands

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Nov 25 15:18:09 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11357 
====================================================================== 
Reported By:                reformed
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11357
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-23-2007 07:18 CST
Last Modified:              11-25-2007 15:18 CST
====================================================================== 
Summary:                    filestream is not closed before executing commands
Description: 
mixmonitor_thread() closes filestream after it executes [command]

If cache_record_files option used, recorded files will always result in
empty files.

I suggest moving ast_closestream if stament above
if(mixmonitor->post_process)

I have tested this on our production machine and everything behaves as
expected after the change.

All * versions are affected by this.

====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 11-25-07 15:18  
---------------------------------------------------------------------- 
reformed.. you must sign the web disclaimer now, the fax ones are
invalidated 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-25-07 15:18  snuffy         Note Added: 0074289                          
======================================================================




More information about the asterisk-bugs mailing list