diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/voice/GetMicrophonePermissionReqMsgHdlr.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/voice/GetMicrophonePermissionReqMsgHdlr.scala
index ff78e1859f..f3004b7da3 100644
--- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/voice/GetMicrophonePermissionReqMsgHdlr.scala
+++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/voice/GetMicrophonePermissionReqMsgHdlr.scala
@@ -2,6 +2,7 @@ package org.bigbluebutton.core.apps.voice
import org.bigbluebutton.common2.msgs._
import org.bigbluebutton.core.running.{ LiveMeeting, MeetingActor, OutMsgRouter }
+import org.bigbluebutton.core2.MeetingStatus2x
trait GetMicrophonePermissionReqMsgHdlr {
this: MeetingActor =>
@@ -16,7 +17,8 @@ trait GetMicrophonePermissionReqMsgHdlr {
voiceConf: String,
userId: String,
sfuSessionId: String,
- allowed: Boolean
+ allowed: Boolean,
+ muteOnStart: Boolean
): Unit = {
val routing = Routing.addMsgToClientRouting(MessageTypes.DIRECT, meetingId, userId)
val envelope = BbbCoreEnvelope(GetMicrophonePermissionRespMsg.NAME, routing)
@@ -26,7 +28,8 @@ trait GetMicrophonePermissionReqMsgHdlr {
voiceConf,
userId,
sfuSessionId,
- allowed
+ allowed,
+ muteOnStart
)
val event = GetMicrophonePermissionRespMsg(header, body)
val eventMsg = BbbCommonEnvCoreMsg(envelope, event)
@@ -47,7 +50,8 @@ trait GetMicrophonePermissionReqMsgHdlr {
liveMeeting.props.voiceProp.voiceConf,
msg.body.userId,
msg.body.sfuSessionId,
- allowed
+ allowed,
+ MeetingStatus2x.isMeetingMuted(liveMeeting.status)
)
}
}
diff --git a/bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/VoiceConfMsgs.scala b/bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/VoiceConfMsgs.scala
index 1100597274..77732f90d5 100755
--- a/bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/VoiceConfMsgs.scala
+++ b/bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/VoiceConfMsgs.scala
@@ -613,7 +613,8 @@ case class GetMicrophonePermissionRespMsgBody(
voiceConf: String,
userId: String,
sfuSessionId: String,
- allowed: Boolean
+ allowed: Boolean,
+ muteOnStart: Boolean
)
/**
diff --git a/bbb-voice-conference/config/freeswitch/conf/dialplan/default/bbb_conference.xml b/bbb-voice-conference/config/freeswitch/conf/dialplan/default/bbb_conference.xml
index bf223c33d7..428a4a85dc 100644
--- a/bbb-voice-conference/config/freeswitch/conf/dialplan/default/bbb_conference.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/dialplan/default/bbb_conference.xml
@@ -8,7 +8,15 @@
-
+
+
+
+
+
+
+
+
+
diff --git a/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu.xml b/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu.xml
index 7f6a6e08f4..00bd7ff61b 100644
--- a/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu_muted.xml b/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu_muted.xml
new file mode 100644
index 0000000000..c3586353f0
--- /dev/null
+++ b/bbb-voice-conference/config/freeswitch/conf/dialplan/public/bbb_sfu_muted.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bigbluebutton-html5/client/main.html b/bigbluebutton-html5/client/main.html
index 9e707aa5d2..125313de36 100755
--- a/bigbluebutton-html5/client/main.html
+++ b/bigbluebutton-html5/client/main.html
@@ -171,7 +171,7 @@ with BigBlueButton; if not, see .
-
+
+