Add delete inactive cdr history script