add max_members to conference xml_list

This commit is contained in:
Seven Du 2012-10-11 12:31:27 +08:00
parent 46ca8a0252
commit fb95768ead
1 changed files with 5 additions and 0 deletions

View File

@ -5310,6 +5310,11 @@ static void conference_xlist(conference_obj_t *conference, switch_xml_t x_confer
switch_xml_set_attr_d(x_conference, "enter_sound", "true");
}
if (conference->max_members > 0) {
switch_snprintf(i, sizeof(i), "%d", conference->max_members);
switch_xml_set_attr_d(x_conference, "max_members", ival);
}
if (conference->record_count > 0) {
switch_xml_set_attr_d(x_conference, "recording", "true");
}