提交 98360021 authored 作者: Brian West's avatar Brian West

FS-10341: [mod_conference] Remove unused conference object member from FS-5461 #resolve

上级 ac6092e6
......@@ -2599,7 +2599,6 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co
char *is_locked_sound = NULL;
char *is_unlocked_sound = NULL;
char *kicked_sound = NULL;
char *join_only_sound = NULL;
char *deaf_sound = NULL;
char *undeaf_sound = NULL;
char *pin = NULL;
......@@ -2864,8 +2863,6 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co
cdr_event_mode = val;
} else if (!strcasecmp(var, "kicked-sound") && !zstr(val)) {
kicked_sound = val;
} else if (!strcasecmp(var, "join-only-sound") && !zstr(val)) {
join_only_sound = val;
} else if (!strcasecmp(var, "pin") && !zstr(val)) {
pin = val;
} else if (!strcasecmp(var, "moderator-pin") && !zstr(val)) {
......@@ -3322,10 +3319,6 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co
conference->kicked_sound = switch_core_strdup(conference->pool, kicked_sound);
}
if (!zstr(join_only_sound)) {
conference->join_only_sound = switch_core_strdup(conference->pool, join_only_sound);
}
if (!zstr(pin_sound)) {
conference->pin_sound = switch_core_strdup(conference->pool, pin_sound);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论