From e44316d3ea8951ed66c3eb88bb4971dd7c73a706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Czu=C5=82ada?= Date: Fri, 24 May 2013 12:18:00 +0200 Subject: [PATCH] FS-5042 changed event body creation --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 9f5a655404..b4316cb703 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1058,7 +1058,7 @@ static void conference_cdr_render(conference_obj_t *conference) { switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CDR-Source", CONF_EVENT_CDR); if (conference->cdr_event_mode == CDRE_AS_CONTENT) { - switch_event_add_body(event, xml_text); + switch_event_set_body(event, xml_text); } else { switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CDR-Path", path); }