From: Seven Du Date: Thu, 11 Oct 2012 04:31:27 +0000 (+0800) Subject: add max_members to conference xml_list X-Git-Tag: v1.3.0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb95768ead8e7ac53c6bec819e093569e5dcb9d1;p=thirdparty%2Ffreeswitch.git add max_members to conference xml_list --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index f267780d38..d8bcf488fb 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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"); }