提交 a4408e62 authored 作者: Ken Rice's avatar Ken Rice

--resolve FS-3918 using patch that adds conference_moderator_pin channel variable

上级 842c5ea8
...@@ -7355,7 +7355,7 @@ SWITCH_STANDARD_APP(conference_function) ...@@ -7355,7 +7355,7 @@ SWITCH_STANDARD_APP(conference_function)
switch_core_session_message_t msg = { 0 }; switch_core_session_message_t msg = { 0 };
uint8_t rl = 0, isbr = 0; uint8_t rl = 0, isbr = 0;
char *dpin = ""; char *dpin = "";
char *mdpin = ""; const char *mdpin = "";
conf_xml_cfg_t xml_cfg = { 0 }; conf_xml_cfg_t xml_cfg = { 0 };
switch_event_t *params = NULL; switch_event_t *params = NULL;
int locked = 0; int locked = 0;
...@@ -7597,6 +7597,9 @@ SWITCH_STANDARD_APP(conference_function) ...@@ -7597,6 +7597,9 @@ SWITCH_STANDARD_APP(conference_function)
rl++; rl++;
} }
/* Moderator PIN as a channel variable */
mdpin = switch_channel_get_variable(channel, "conference_moderator_pin");
if (zstr(dpin) && conference->pin) { if (zstr(dpin) && conference->pin) {
dpin = conference->pin; dpin = conference->pin;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论