Adding cdr file generation based on timer