public ConferenceMember(ConferenceController parent, InCallController call, eConferenceMemberStatus conStatus, byte conferenceId) : base(call.ClientApp, call.Channel, call.Unit) { this.Parent = parent; call.DisconnectPOConnectionWhenFinalise = false; call.KeepSelection = true; call.Finalise(); this.ConferenceId = conferenceId; this.Connection.ConferenceId = this.ConferenceId; SendConnection(this.Connection); this.ConStatus = conStatus; }
public void InitMemberVolumn() { eConferenceMemberStatus status = eConferenceMemberStatus.Listening; var list = GetAllMembers().ToList(); if (list.Count <= MaxSpeaker) { status = eConferenceMemberStatus.Speaking; } foreach (var mem in list) { mem.ConStatus = status; mem.SendAdjustVolumn(); } }
public ConferenceMember(ConferenceController parent, HostPhoneViewModel channel, byte conferenceId, UnitPhoneViewModel unit = null) : base(parent.ClientApp, channel, unit) { this.StartSpeakingTime = DateTime.Now; this.Parent = parent; _conStatus = eConferenceMemberStatus.Waiting; this.ConferenceId = conferenceId; this.Connection.ConferenceId = this.ConferenceId; if (this.Unit != null) { this.Channel.Tone = this.Unit.GetFullNumber(); } Dial(); }