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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Nov 24 07:33:12 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-24-2007 07:33 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.

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

---------------------------------------------------------------------- 
 reformed - 11-24-07 07:33  
---------------------------------------------------------------------- 
Patch attached.
I have faxes the license agreement to Digium long long time ago. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-24-07 07:33  reformed       Note Added: 0074260                          
======================================================================




More information about the asterisk-bugs mailing list