FS-6381 add hostname to conference cdr

This commit is contained in:
Brian West 2014-03-21 17:23:50 -05:00
parent 230b217810
commit f890854e0d
1 changed files with 5 additions and 0 deletions

View File

@ -933,6 +933,11 @@ static void conference_cdr_render(conference_obj_t *conference)
}
switch_xml_set_txt_d(x_ptr, conference->name);
if (!(x_ptr = switch_xml_add_child_d(x_conference, "hostname", conf_off++))) {
abort();
}
switch_xml_set_txt_d(x_ptr, switch_core_get_hostname());
if (!(x_ptr = switch_xml_add_child_d(x_conference, "rate", conf_off++))) {
abort();
}