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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 26 11:18:31 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11357 
====================================================================== 
Reported By:                reformed
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11357
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
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-26-2007 11: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.

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

---------------------------------------------------------------------- 
 svnbot - 11-26-07 11:18  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 89587

U   branches/1.4/apps/app_mixmonitor.c

------------------------------------------------------------------------
r89587 | file | 2007-11-26 11:18:30 -0600 (Mon, 26 Nov 2007) | 6 lines

Close the audio file before sending it to the post processing application.
(closes issue http://bugs.digium.com/view.php?id=11357)
Reported by: reformed
Patches:
      mixmonitor.patch uploaded by reformed (license 330)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-26-07 11:18  svnbot         Note Added: 0074334                          
11-26-07 11:18  svnbot         Status                   new => assigned     
11-26-07 11:18  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list