From: Anthony Minessale Date: Mon, 10 Apr 2017 18:31:19 +0000 (-0500) Subject: FS-10220: [mod_conference] Conference channel parameters not working #resolve X-Git-Tag: v1.8.0~620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33a059ec7226ae52efe4c3607d413424da629b90;p=thirdparty%2Ffreeswitch.git FS-10220: [mod_conference] Conference channel parameters not working #resolve --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index a8a480818e..20ef6860c1 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2668,7 +2668,7 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co if ((force_rate = switch_channel_get_variable(channel, "conference_force_rate"))) { if (!strcasecmp(force_rate, "auto")) { - force_rate_i = read_impl.actual_samples_per_second; + force_rate_i = rate = read_impl.actual_samples_per_second; } else { tmp = atoi(force_rate); @@ -2680,7 +2680,7 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co if ((force_channels = switch_channel_get_variable(channel, "conference_force_channels"))) { if (!strcasecmp(force_channels, "auto")) { - force_rate_i = read_impl.number_of_channels; + force_rate_i = channels = read_impl.number_of_channels; } else { tmp = atoi(force_channels); @@ -2692,7 +2692,7 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co if ((force_interval = switch_channel_get_variable(channel, "conference_force_interval"))) { if (!strcasecmp(force_interval, "auto")) { - force_interval_i = read_impl.microseconds_per_packet / 1000; + force_interval_i = interval = read_impl.microseconds_per_packet / 1000; } else { tmp = atoi(force_interval);