add cdr export functionality