[Asterisk-bugs] [Asterisk 0010185]: [patch]: Added automixmonitor feature / ability to use mixmonitor to record queue conversations on demand.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 11 19:42:31 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10185 
====================================================================== 
Reported By:                xmarksthespot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10185
Category:                   Resources/res_features
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-11-2007 16:21 CDT
Last Modified:              07-11-2007 19:42 CDT
====================================================================== 
Summary:                    [patch]: Added automixmonitor feature / ability to
use mixmonitor to record queue conversations on demand.
Description: 
I needed to record queue conversations again on demand only. I found out
about the option 'w' in app_queue, but found out it recorded using monitor
and produced two sound files, as everyone knows.

There was also the automon (*1 by default) feature, but that didn't help
either, as I need it to work on a queue and produce only one file.

I set out to find another way to do this, which led me to code this. What
this patch does is add a new feature: automixmon, which is auto mix
monitor. Now you can specify a new option in app_queue, which is called
'x', which lets the callee dial a string to get the conversation recorded
by MixMonitor instead of monitor, and thus get only one file.

I also added the 'X' function, just for the sake of being able to do all
that Monitor does, and finally do away with it.
====================================================================== 

---------------------------------------------------------------------- 
 xmarksthespot - 07-11-07 19:42  
---------------------------------------------------------------------- 
There we go! patchv2.diff features tabs (ooh, fancy)!

I think I get it though, the channel variables are just set or not set, so
I just have to change their names in the patch and use the dialplan Set()
function on them! Should work!

I forgot one very important caveat: I can't stop recording. Don't know how
to do so. Maybe I just need to add a keypress for that in features. If you
think of something let me know. At any rate it DOES stop when hung up. I
think it's important to stop recording on demand.

Very important is going to be to set a variable to know that this has been
activated once, to prevent recursive use. I don't even want to know what
happens if that can be done. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-11-07 19:42  xmarksthespot  Note Added: 0067166                          
======================================================================




More information about the Asterisk-bugs mailing list