mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 17:54:59 +00:00
feat(essentials): Adds interface and implementation to join calls
This commit is contained in:
@@ -30,7 +30,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||
IHasScheduleAwareness, IOccupancyStatusProvider, IHasCodecLayouts, IHasCodecSelfView,
|
||||
ICommunicationMonitor, IRouting, IHasCodecCameras, IHasCameraAutoMode, IHasCodecRoomPresets,
|
||||
IHasExternalSourceSwitching, IHasBranding, IHasCameraOff, IHasCameraMute, IHasDoNotDisturbMode,
|
||||
IHasHalfWakeMode, IHasCallHold
|
||||
IHasHalfWakeMode, IHasCallHold, IJoinCalls
|
||||
{
|
||||
private bool _externalSourceChangeRequested;
|
||||
|
||||
@@ -1400,6 +1400,23 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||
SendText(string.Format("xCommand Call Resume CallId: {0}", activeCall.Id));
|
||||
}
|
||||
|
||||
#endregion
|
||||
#region IJoinCalls
|
||||
|
||||
public void JoinCall(CodecActiveCallItem activeCall)
|
||||
{
|
||||
SendText(string.Format("xCommand Call Join CallId: {0}", activeCall.Id));
|
||||
}
|
||||
|
||||
public void JoinAllCalls()
|
||||
{
|
||||
foreach (var call in ActiveCalls)
|
||||
{
|
||||
if(call.IsActiveCall)
|
||||
JoinCall(call);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public override void SendDtmf(string s)
|
||||
|
||||
Reference in New Issue
Block a user