提交 e44316d3 authored 作者: Mariusz Czułada's avatar Mariusz Czułada 提交者: Anthony Minessale

FS-5042 changed event body creation

上级 d00ed860
...@@ -1058,7 +1058,7 @@ static void conference_cdr_render(conference_obj_t *conference) ...@@ -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); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CDR-Source", CONF_EVENT_CDR);
if (conference->cdr_event_mode == CDRE_AS_CONTENT) { if (conference->cdr_event_mode == CDRE_AS_CONTENT) {
switch_event_add_body(event, xml_text); switch_event_set_body(event, xml_text);
} else { } else {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CDR-Path", path); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "CDR-Path", path);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论