FS-5042 changed event body creation

This commit is contained in:
Mariusz Czułada 2013-05-24 12:18:00 +02:00 committed by Anthony Minessale
parent d00ed860a1
commit e44316d3ea
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}