[asterisk-bugs] [Asterisk 0015259]: MixMonitor is not releasing the file handle on the recorded file

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 9 15:17:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15259 
====================================================================== 
Reported By:                travisghansen
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15259
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Target Version:             1.6.1.2
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-02 22:21 CDT
Last Modified:              2009-06-09 15:17 CDT
====================================================================== 
Summary:                    MixMonitor is not releasing the file handle on the
recorded file
Description: 
I have been using MixMonitor in my dialplan through all the 1.6.0.x line
and recently updated to 1.6.1.0.  Upon update it quit working.

My scenario is as follows:

I accept an incoming call, prompt for some IVR, start MixMonitor with b
option.  Subsequently I initiate a Dial command to an external endpoint. 
On answer the conversation starts recording to a temp directory on my
server.  After either end hangs up, the dialplan continues to the h
extension where I launch an AGI script to convert the wav sound clip to mp3
and do some other post processing.

In all builds prior to 1.6.1 this all worked great.  However starting with
1.6.1 when I externally launch the sox command via the agi script the
resultant file has no audio.  I did some testing and discovered that this
behavior is the same as if I am mid-call even though the line is hung up.
====================================================================== 

---------------------------------------------------------------------- 
 (0106191) travisghansen (reporter) - 2009-06-09 15:17
 https://issues.asterisk.org/view.php?id=15259#c106191 
---------------------------------------------------------------------- 
I was never calling StopMixMonitor (I didn't know it existed) so I'll try
it again with that in there.  Should I put this in the h extension?  I want
the recording to be processed if either end hangs up. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-09 15:17 travisghansen  Note Added: 0106191                          
======================================================================




More information about the asterisk-bugs mailing list