From 3866a6e15c61b9188584fd937436a8ffc093609a 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 60bcbe2201..224e182ba6 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); }