FS-10220: [mod_conference] fix conference channels variable to force number of channels

This commit is contained in:
Mike Jerris 2017-04-11 13:52:03 -05:00
parent 819847b53a
commit b443774498
1 changed files with 1 additions and 1 deletions

View File

@ -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 ((force_channels = switch_channel_get_variable(channel, "conference_force_channels"))) {
if (!strcasecmp(force_channels, "auto")) { if (!strcasecmp(force_channels, "auto")) {
force_rate_i = channels = read_impl.number_of_channels; force_channels_i = channels = read_impl.number_of_channels;
} else { } else {
tmp = atoi(force_channels); tmp = atoi(force_channels);