Inserting CDRs into a backend database