mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
FS-6957 #resolve
This commit is contained in:
parent
7ca4ac566c
commit
8f3c157f12
@ -9278,9 +9278,11 @@ SWITCH_STANDARD_APP(conference_function)
|
|||||||
if (flags_str) {
|
if (flags_str) {
|
||||||
set_mflags(flags_str,&mflags);
|
set_mflags(flags_str,&mflags);
|
||||||
|
|
||||||
if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
|
if (!(mflags & MFLAG_CAN_SPEAK)) {
|
||||||
|
if (!(mflags & MFLAG_INDICATE_MUTE)) {
|
||||||
switch_core_media_hard_mute(session, SWITCH_TRUE);
|
switch_core_media_hard_mute(session, SWITCH_TRUE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (mflags & MFLAG_JOIN_ONLY) {
|
if (mflags & MFLAG_JOIN_ONLY) {
|
||||||
switch_event_t *event;
|
switch_event_t *event;
|
||||||
@ -9579,9 +9581,11 @@ SWITCH_STANDARD_APP(conference_function)
|
|||||||
set_mflags(flags_str, &mflags);
|
set_mflags(flags_str, &mflags);
|
||||||
mflags |= MFLAG_RUNNING;
|
mflags |= MFLAG_RUNNING;
|
||||||
|
|
||||||
if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
|
if (!(mflags & MFLAG_CAN_SPEAK)) {
|
||||||
|
if (!(mflags & MFLAG_INDICATE_MUTE)) {
|
||||||
switch_core_media_hard_mute(member.session, SWITCH_TRUE);
|
switch_core_media_hard_mute(member.session, SWITCH_TRUE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (mpin_matched) {
|
if (mpin_matched) {
|
||||||
mflags |= MFLAG_MOD;
|
mflags |= MFLAG_MOD;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user