Fix generate CDR for FreeSWITCH