mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-06 16:25:01 +00:00
ecs-582, cancel incoming dialog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user