FS-10220: [mod_conference] fix conference channels variable to force number of channels
This commit is contained in:
parent
819847b53a
commit
b443774498
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue