.Call files & variables


I try to use .call files to generate a call. I read almost everything about it, and it’s working fine.
But in the dialplan, I need to check some variables (DIALSTATUS,…) to send them to a res_perl program. It seems that every variable is empty, I even tried to just print current time with NoOp(${TIMESTAMP}). But it does nothing.

Is there something special to know about generating calls with .call files ?

Thank you.