mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
--resolve FS-3918 using patch that adds conference_moderator_pin channel variable
This commit is contained in:
parent
fa174ec3d8
commit
f91bdf12aa
@ -7359,7 +7359,7 @@ SWITCH_STANDARD_APP(conference_function)
|
||||
switch_core_session_message_t msg = { 0 };
|
||||
uint8_t rl = 0, isbr = 0;
|
||||
char *dpin = "";
|
||||
char *mdpin = "";
|
||||
const char *mdpin = "";
|
||||
conf_xml_cfg_t xml_cfg = { 0 };
|
||||
switch_event_t *params = NULL;
|
||||
int locked = 0;
|
||||
@ -7601,6 +7601,9 @@ SWITCH_STANDARD_APP(conference_function)
|
||||
rl++;
|
||||
}
|
||||
|
||||
/* Moderator PIN as a channel variable */
|
||||
mdpin = switch_channel_get_variable(channel, "conference_moderator_pin");
|
||||
|
||||
if (zstr(dpin) && conference->pin) {
|
||||
dpin = conference->pin;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user