- missed one are where we are not propagating message from Meeting Actor

This commit is contained in:
Richard Alam 2014-08-27 16:46:28 -07:00
parent fe5aabd38a
commit 7914c656a4
2 changed files with 12 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class FreeswitchConferenceActor(fsproxy: FreeswitchManagerProxy, bbbInGW: IBigBl
val fsconf = confs.values find (c => c.conferenceNum == msg.conference)
fsconf foreach (fc => {
logger.debug("Conference [" + msg.conference + "] has [" + fc.numUsers + "]")
logger.debug("Meeting [" + fc.meetingId + "] has [" + fc.numUsers + "]")
fc.getWebUserUsingExtId(msg.webUserId) match {
case Some(user) => {
logger.info("The user is also in the web client. [" +

View File

@ -23,6 +23,8 @@ class FreeswitchConferenceService(fsproxy: FreeswitchManagerProxy,
def handleMessage(msg: IOutMessage) {
msg match {
case msg: MeetingCreated => handleMeetingCreated(msg)
case msg: MeetingEnded => handleMeetingEnded(msg)
case msg: MeetingDestroyed => handleMeetingDestroyed(msg)
case msg: UserJoined => handleUserJoined(msg)
case msg: UserLeft => handleUserLeft(msg)
case msg: MuteVoiceUser => handleMuteVoiceUser(msg)
@ -62,6 +64,15 @@ class FreeswitchConferenceService(fsproxy: FreeswitchManagerProxy,
fsActor ! msg
}
private def handleMeetingEnded(msg: MeetingEnded) {
fsActor ! msg
}
private def handleMeetingDestroyed(msg: MeetingDestroyed) {
fsActor ! msg
}
private def handleEjectAllVoiceUsers(msg: EjectAllVoiceUsers) {
fsActor ! msg
}