CDR(answer) empty in deadagi since update


Since updating from 1.4.21 to I have noticed that I am not getting CDR(answer) values being populated in my Database. The values are simply empty.

Has anyone else experienced this / has a workaround solution?

Thank you!

Have noticed this problem also with

Dialplan is like this:
exten => _XXXXXXXXXX,n,AGI(log-call.agi|start,${START-TIME},${QUEUE-TIME},${QUEUE},${OLD_NAME},${CDR(accountcode)},${CHANNEL})
exten => _XXXXXXXXXX,n,ResetCDR()

;;Uncomment for Voicemail rollover
;exten => _XXXXXXXXXX,n,Goto(queue-out,0,2)

;;Play Intro Message
exten => _XXXXXXXXXX,n,Playback(${INTROMSG})

;;queue call
exten => _XXXXXXXXXX,n,Queue(${QUEUE}|||)

;;Log details after call is hungup
exten => h,1,DEADAGI(log-call.agi|2,${EPOCH},${HANGUPCAUSE},${CDR(answer)},${CDR(dstchannel)},${SIPUSERAGENT},${CDR(accountcode)})

There are more lines elsewhere but these are the important parts. All other vars stay put, it appears to be the ${CDR(answer)} variable that is cleared when the call is hung up. As a test it has been tested without the ResetCDR() function being used to no avail (This is used to get the time the call is answered from the queue).

I cannot see any obvious changes (or any for that matter) to the source of the CDR aspects of asterisk. (from 1.4.21 to

Any thoughts?