Attended transfer

Hello,

In attended transfer can we pass in some variables in the environment from
the first call to the next after dialing the *2. Is there a way to print out the environment that is passed to the call ?.
I will explain the scenario, here after the transfer completes recordings are in two files .So i just want to recognize two files of the same attended transfer. That means i have to give related names for those recordings.

Thanks