From: Mariusz Czułada Date: Fri, 24 May 2013 10:18:00 +0000 (+0200) Subject: FS-5042 changed event body creation X-Git-Tag: v1.2.13~340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44316d3ea8951ed66c3eb88bb4971dd7c73a706;p=thirdparty%2Ffreeswitch.git FS-5042 changed event body creation --- 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); }