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 *prefix = switch_channel_get_variable(channel, "conference_auto_outcall_prefix");
|
||||||
const char *maxwait = switch_channel_get_variable(channel, "conference_auto_outcall_maxwait");
|
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 *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 to = 60;
|
||||||
int wait_sec = 2;
|
int wait_sec = 2;
|
||||||
int loops = 0;
|
int loops = 0;
|
||||||
|
@ -1185,6 +1186,7 @@ void conference_loop_output(conference_member_t *member)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!skip_member_beep || !switch_true(skip_member_beep))
|
||||||
conference_member_play_file(member, "tone_stream://%(500,0,640)", 0, SWITCH_TRUE);
|
conference_member_play_file(member, "tone_stream://%(500,0,640)", 0, SWITCH_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue