Recordings not recording after upgrade to 2.8

Extensions are set to always record. the default path is being used in main.conf.php /var/spool/asterisk/monitor/. nothing shows up in that directory after a call is made. it looks like its not executing any recording macros but I dont know why.

Here is the call flow:
sip*CLI>
– Executing Macro(“SIP/3000-5279”, “user-callerid|SKIPTTL|”) in new stack
– Executing Set(“SIP/3000-5279”, “AMPUSER=3000”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?report”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “1|Set|REALCALLERIDNUM=3000”) in new stack
– Executing Set(“SIP/3000-5279”, “AMPUSER=3000”) in new stack
– Executing Set(“SIP/3000-5279”, “AMPUSERCIDNAME=drudge”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?report”) in new stack
– Executing Set(“SIP/3000-5279”, “AMPUSERCID=3000”) in new stack
– Executing Set(“SIP/3000-5279”, “CALLERID(all)=“drudge” <3000>”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|Set|LANGUAGE()=”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing NoOp(“SIP/3000-5279”, “Using CallerID “drudge” <3000>”) in new stack
– Executing NoOp(“SIP/3000-5279”, “Calling Out Route: defaultout”) in new stack
– Executing Set(“SIP/3000-5279”, “MOHCLASS=default”) in new stack
– Executing Set(“SIP/3000-5279”, “_NODEST=”) in new stack
– Executing Macro(“SIP/3000-5279”, “record-enable|3000|OUT|”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing ExecIf(“SIP/3000-5279”, “0|MacroExit|”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing GotoIf(“SIP/3000-5279”, “0?IN”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “1|MacroExit|”) in new stack
– Executing Macro(“SIP/3000-5279”, “dialout-trunk|1|18004321000|”) in new stack
– Executing Set(“SIP/3000-5279”, “DIAL_TRUNK=1”) in new stack
– Executing GosubIf(“SIP/3000-5279”, “0?sub-pincheck|s|1”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?disabletrunk|1”) in new stack
– Executing Set(“SIP/3000-5279”, “DIAL_NUMBER=18004321000”) in new stack
– Executing Set(“SIP/3000-5279”, “DIAL_TRUNK_OPTIONS=trwW”) in new stack
– Executing Set(“SIP/3000-5279”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing GotoIf(“SIP/3000-5279”, “0?skipoutcid”) in new stack
– Executing Set(“SIP/3000-5279”, “DIAL_TRUNK_OPTIONS=wW”) in new stack
– Executing Macro(“SIP/3000-5279”, “outbound-callerid|1”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|SetCallerPres|”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|Set|REALCALLERIDNUM=3000”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing Set(“SIP/3000-5279”, “USEROUTCID=2122122112”) in new stack
– Executing Set(“SIP/3000-5279”, “EMERGENCYCID=”) in new stack
– Executing Set(“SIP/3000-5279”, “TRUNKOUTCID=”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing ExecIf(“SIP/3000-5279”, “0|Set|CALLERID(all)=”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “1|Set|CALLERID(all)=2122122112”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|Set|CALLERID(all)=”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|SetCallerPres|prohib_passed_screen”) in new stack
– Executing GosubIf(“SIP/3000-5279”, “1?sub-flp-1|s|1”) in new stack
== Channel ‘SIP/3000-5279’ jumping out of macro ‘dialout-trunk’
– Executing ExecIf(“SIP/3000-5279”, “0|Return|”) in new stack
– Executing Return(“SIP/3000-5279”, “”) in new stack
– Executing Set(“SIP/3000-5279”, “OUTNUM=18004321000”) in new stack
– Executing Set(“SIP/3000-5279”, “custom=ZAP/g0”) in new stack
– Executing ExecIf(“SIP/3000-5279”, “0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)wW”) in new stack
– Executing Macro(“SIP/3000-5279”, “dialout-trunk-predial-hook|”) in new stack
– Executing MacroExit(“SIP/3000-5279”, “”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?bypass|1”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “0?customtrunk”) in new stack
– Executing Dial(“SIP/3000-5279”, “ZAP/g0/18004321000|300|wW”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g0/18004321000
– Zap/2-1 is proceeding passing it to SIP/3000-5279
– PROGRESS with cause code 127 received
– Zap/2-1 is making progress passing it to SIP/3000-5279
– Zap/2-1 answered SIP/3000-5279
– Hungup ‘Zap/2-1’
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/3000-5279’
– Executing Macro(“SIP/3000-5279”, “hangupcall|”) in new stack
– Executing GotoIf(“SIP/3000-5279”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing GotoIf(“SIP/3000-5279”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing GotoIf(“SIP/3000-5279”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing Hangup(“SIP/3000-5279”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/3000-5279’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/3000-5279’

Forget what I just said which was:

check your general settings, it appears that you may have recording globally disabled. As you can see, the macro-recordings is returning without doing anything which is what happens if you globally disable recording.

I looked to quick.

It looks like it is checking for recording being enabled:

-- Executing Macro("SIP/3000-5279", "record-enable|3000|OUT|") in new stack
-- Executing GotoIf("SIP/3000-5279", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing ExecIf("SIP/3000-5279", "0|MacroExit|") in new stack
-- Executing GotoIf("SIP/3000-5279", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing GotoIf("SIP/3000-5279", "0?IN") in new stack
-- Executing ExecIf("SIP/3000-5279", "1|MacroExit|") in new stack

and it looks like it is deciding it is not. Double check the settings, and make sure your modules are completely up to date as I think there may have previously been a bug.

Otherwise, you may want to have a look at the log file which should have more details of the settings as it is running though above to see why it may not be working.

I can say that I have tested setting always record outbound on 2.8 (this is 2.8 isn’t it?) and the recordings are happening?

Extension Recording Override is currently set to “DISABLED”. There was some previous confusion regarding that setting so I tried both “ENABLED” and “DISABLED” as well as trying to hardcore the path, but no luck.

our paths crossed, see my previous edited comment as I spoke too soon.

here is an error in messages log:

Sep 16 10:23:02 ERROR[25955] app_cut.c: Usage: Splits a variable’s contents using the specified delimiter

that could be related, you may want to include more around that to see where that error is coming from.

As mentioned, I am pretty sure there was a bug and it may have been related to the CUT() command. So make sure your modules are completely up-to-date. Then reproduce this and lets see more of the dialplan around that error to see if there is still something lurking in there.