Fixed CDR writing for replicated dialogs