answer_stamp is a regular channel variable not a caller profile variable ${answer_stamp} is correct but its only set once the channel is hungup billing is best done in a separate process from the dialplan on the backend via EVENTS or CDR