fix(essentials): fixes to on hold feedback and call status xsig

This commit is contained in:
Neil Dorin
2022-02-09 17:44:53 -07:00
parent 0bb4b6edd4
commit cb3c80ff8f
2 changed files with 8 additions and 10 deletions

View File

@@ -909,11 +909,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
if (!string.IsNullOrEmpty(call.Status.Value))
{
tempActiveCall.Status = CodecCallStatus.ConvertToStatusEnum(call.Status.Value);
if (tempActiveCall.Status == eCodecCallStatus.OnHold)
{
tempActiveCall.IsOnHold = true;
}
tempActiveCall.IsOnHold = tempActiveCall.Status == eCodecCallStatus.OnHold;
if (newStatus == eCodecCallStatus.Connected)
GetCallHistory();