How to use mixmonitor when transfering a call

Carlos Chavez <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <[email protected]>
     I am having a problem with my recordings.  Mixmonitor is called in 
the "macro" when you dial an extension.  If that call is transferred to 
another extension then the recording is reset and we lose the recording 
for the original call.  How can I tell Mixmonitor to keep recording and 
not reset?  I have the "a" option set in mixmonitor to append and not 
overwrite.  Is there a way to know if Mixmonitor has already started on 
this call and avoid executing it again when transferred?  This is what I 
use:

[ Context 'grabar' created by 'pbx_config' ]
   's' =>            1. 
Set(MONITOR_FILE=${STRFTIME(${EPOCH},,%Y)}/${STRFTIME(${EPOCH},,%m)}/${UNIQUEID}.wav) 
[extensions.conf:0]
                     2. Mixmonitor(${MONITOR_FILE},ba) [extensions.conf:0]
                     3. Return() [extensions.conf:0]

     On every transfer the recording starts again at the moment. I 
thought the "a" option would simply append to the file and keep going.  
Any ideas?

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.