CDR recordingfile is empty

Hi
Using FreePBX 12, Asterisk 12, Centos 7. Using ODBC for the connection to MariaDB if that makes a difference.

Our calls are being recorded as expected, the files are there in the correct subdirectory of the monitor directory.

However, the recordingfile column of the cdr table is not being populated.

The log shows:

[2014-11-12 15:44:55] VERBOSE[3696][C-0000018f] pbx.c:     -- Executing [[email protected]:21] Set("PJSIP/VoipTalk-SIP-000004cd", "__CALLFILENAME=rg-8131-07900502223-20141112-154455-1415807062.9148") in new stack
[2014-11-12 15:44:55] VERBOSE[3696][C-0000018f] pbx.c:     -- Executing [[email protected]:22] Goto("PJSIP/VoipTalk-SIP-000004cd", "rg,1") in new stack
[2014-11-12 15:44:55] VERBOSE[3696][C-0000018f] pbx.c:     -- Goto (sub-record-check,rg,1)
[2014-11-12 15:44:55] VERBOSE[3696][C-0000018f] pbx.c:     -- Executing [[email protected]:1] GosubIf("PJSIP/VoipTalk-SIP-000004cd", "1?record,1(rg,always,07900502223)") in new stack