LinkedID mapping to transferred call

Hi All,
I am transferring calls answered from Queue to custom destination there I am generating CDR, is it possible to map Parent uniqueID (linkedID) to transferred call CDR.

You could store it as a persistent variable and write it to the CDR.