mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
FS-10967: [mod_conference] chan var "conference_enter_sound" not working, only work when profile param active and being overridden #resolve
This commit is contained in:
parent
5199939f48
commit
ada117fb73
@ -866,7 +866,7 @@ switch_status_t conference_member_add(conference_obj_t *conference, conference_m
|
|||||||
conference_file_stop(conference, FILE_STOP_ASYNC);
|
conference_file_stop(conference, FILE_STOP_ASYNC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!switch_channel_test_app_flag_key("conference_silent", channel, CONF_SILENT_REQ) && !zstr(conference->enter_sound)) {
|
if (!switch_channel_test_app_flag_key("conference_silent", channel, CONF_SILENT_REQ)) {
|
||||||
const char * enter_sound = switch_channel_get_variable(channel, "conference_enter_sound");
|
const char * enter_sound = switch_channel_get_variable(channel, "conference_enter_sound");
|
||||||
if (conference_utils_test_flag(conference, CFLAG_ENTER_SOUND) && !conference_utils_member_test_flag(member, MFLAG_SILENT)) {
|
if (conference_utils_test_flag(conference, CFLAG_ENTER_SOUND) && !conference_utils_member_test_flag(member, MFLAG_SILENT)) {
|
||||||
if (!zstr(enter_sound)) {
|
if (!zstr(enter_sound)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user