ecs-582, cancel incoming dialog

This commit is contained in:
Heath Volmer
2017-10-22 11:11:42 -06:00
parent 1aea817f93
commit 8c47c5ed65
3 changed files with 2 additions and 6 deletions

View File

@@ -240,12 +240,6 @@ namespace PepperDash.Essentials.UIDrivers.VC
{
var call = e.CallItem;
//var newStatus = e.NewStatus;
//// Catch events with no status and reuse previous status if found
//if (newStatus == eCodecCallStatus.Unknown && e.PreviousStatus != eCodecCallStatus.Unknown)
// newStatus = e.PreviousStatus;
switch (e.CallItem.Status)
{
case eCodecCallStatus.Connected:
@@ -267,6 +261,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
Parent.ShowNotificationRibbon("Connecting", 0);
break;
case eCodecCallStatus.Disconnected:
if (IncomingCallModal != null)
IncomingCallModal.HideDialog();
if (!Codec.IsInCall)
{
KeypadMode = eKeypadMode.Dial;