提交 3866a6e1 authored 作者: Mariusz Czułada's avatar Mariusz Czułada

FS-5042 changed event body creation

上级 610718fd
......@@ -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);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论