FS-9441 optional skip member outcall beep
This commit is contained in:
parent
bfb9e96f84
commit
f8c2abc189
|
@ -1122,6 +1122,7 @@ void conference_loop_output(conference_member_t *member)
|
|||
const char *prefix = switch_channel_get_variable(channel, "conference_auto_outcall_prefix");
|
||||
const char *maxwait = switch_channel_get_variable(channel, "conference_auto_outcall_maxwait");
|
||||
const char *delimiter_val = switch_channel_get_variable(channel, "conference_auto_outcall_delimiter");
|
||||
const char *skip_member_beep = switch_channel_get_variable(channel, "conference_auto_outcall_skip_member_beep");
|
||||
int to = 60;
|
||||
int wait_sec = 2;
|
||||
int loops = 0;
|
||||
|
@ -1185,7 +1186,8 @@ void conference_loop_output(conference_member_t *member)
|
|||
goto end;
|
||||
}
|
||||
|
||||
conference_member_play_file(member, "tone_stream://%(500,0,640)", 0, SWITCH_TRUE);
|
||||
if (!skip_member_beep || !switch_true(skip_member_beep))
|
||||
conference_member_play_file(member, "tone_stream://%(500,0,640)", 0, SWITCH_TRUE);
|
||||
}
|
||||
|
||||
if (!conference_utils_test_flag(member->conference, CFLAG_ANSWERED)) {
|
||||
|
|
Loading…
Reference in New Issue