[asterisk-users] MixMonitor Files Always Empty

Steve Edwards asterisk.org at sedwards.com
Wed Apr 22 13:34:05 CDT 2015


Please don't top post.

On Wed, 22 Apr 2015, Mark Farmer wrote:

> The file is always created but is always zero size. This is the dial plan that records the call:
> 
> exten = _0[1-8]X.,1,Set(CALLFILENAME=/var/spool/asterisk/callrecordings/its/${STRFTIME(${EPOCH},,%Y/%m/%d)}/Outbound-${UNIQUEID})
> exten = _0[1-8]X.,2,MixMonitor(${CALLFILENAME}.gsm,b)
> 
> The dial plan then calls a macro that makes the call.
> I’ve tried adding a StopMixMonitor after calling the macro but that did not help and I have tried putting an Answer() at the start of the dial plan.
> 
> I am currently using the Monitor application instead which is working OK but I’d much rather stick with MixMonitor.

Change something and see if it yields clues.

1) Change the file location to /tmp/, without the STRFTIME subdirectory.

2) Change the codec by changing the file type.

3) Don't use a macro.

What's different between your monitor() call path and your mixmonitor() 
call path?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list