Pinsets and call recordings problem

trunks with pinsets dont show link on cdr reports when recordings its enable i hat to coment 2 lines at pinsets macro in extensions_additional.conf

include => macro-pinsets-custom
exten => s,1,GotoIf(${ARG2} = 1?cdr,1)
exten => s,n,ExecIf($["${DB(AMPUSER/${AMPUSER}/pinless)}" != “NOPASSWD”]?Authenticate(/etc/asterisk/pinset_${ARG1}))
;exten => s,n,ExecIf($["${DB(AMPUSER/${AMPUSER}/pinless)}" != “NOPASSWD”]?ResetCDR())

exten => cdr,1,ExecIf($["${DB(AMPUSER/${AMPUSER}/pinless)}" != “NOPASSWD”]?Authenticate(/etc/asterisk/pinset_${ARG1},a))
;exten => cdr,n,ExecIf($["${DB(AMPUSER/${AMPUSER}/pinless)}" != “NOPASSWD”]?ResetCDR())

;–== end of [macro-pinsets] ==–;
and its works i think its a bug