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 sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users