Hello,
I have been trying to get a call recorded and am close, but for some reason the call recording file is not being saved as expected. I can see in the Asterisk CLI that the recording is starting, but when I press *1, I get booted from the CLI.
Here is the relevant section of output from the CLI:
-- Executing [s@macro-dial-one:34] GosubIf("DAHDI/i1/xx-2", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("DAHDI/i1/xx-2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("DAHDI/i1/xx-2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("DAHDI/i1/xx-2", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("DAHDI/i1/xx-2", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [s@macro-dial-one:42] Dial("DAHDI/i1/xx-2", "SIP/161,15,trwW") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/161
-- SIP/161-00000001 is ringing
-- SIP/161-00000001 answered DAHDI/i1/xx-2
-- Feature Found: apprecord exten: apprecord
-- Executing [s@macro-one-touch-record:1] ExecIf("SIP/161-00000001", "0?Set(THISEXTEN=161)") in new stack
-- Executing [s@macro-one-touch-record:2] ExecIf("SIP/161-00000001", "1?Set(THISEXTEN=161)") in new stack
-- Executing [s@macro-one-touch-record:3] ExecIf("SIP/161-00000001", "0?MacroExit()") in new stack
-- Executing [s@macro-one-touch-record:4] GotoIf("SIP/161-00000001", "0?stoprec") in new stack
-- Executing [s@macro-one-touch-record:5] GotoIf("SIP/161-00000001", "0?stopped") in new stack
-- Executing [s@macro-one-touch-record:6] GotoIf("SIP/161-00000001", "0?recording") in new stack
-- Executing [s@macro-one-touch-record:7] Set("SIP/161-00000001", "MASTER_CHANNEL(ONETOUCH_REC)=RECORDING") in new stack
-- Executing [s@macro-one-touch-record:8] Set("SIP/161-00000001", "MASTER_CHANNEL(REC_STATUS)=RECORDING") in new stack
-- Executing [s@macro-one-touch-record:9] Set("SIP/161-00000001", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [s@macro-one-touch-record:10] MixMonitor("SIP/161-00000001", "2013/02/21/exten-161-xx-20130221-154805-1361479685.2.wav,a,") in new stack
-- Executing [s@macro-one-touch-record:11] Set("SIP/161-00000001", "MON_FMT=wav") in new stack
-- Executing [s@macro-one-touch-record:12] Set("SIP/161-00000001", "MASTER_CHANNEL(CDR(recordingfile))=exten-161-xx-20130221-154805-1361479685.2.wav") in new stack
-- Executing [s@macro-one-touch-record:13] Set("SIP/161-00000001", "MASTER_CHANNEL(ONETOUCH_RECFILE)=exten-161-xx-20130221-154805-1361479685.2.wav") in new stack
-- Executing [s@macro-one-touch-record:14] Playback("SIP/161-00000001", "beep") in new stack
-- <SIP/161-00000001> Playing 'beep.ulaw' (language 'en')
localhost*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
[root@localhost ~]#
I checked /var/spool/asterisk/monitor/2013/02/21 after each attempt and there is never a file.
FreePBX distro - 2.10
CentOS 6.2