mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
ecs-582, cancel incoming dialog
This commit is contained in:
parent
1aea817f93
commit
8c47c5ed65
3 changed files with 2 additions and 6 deletions
|
|
@ -240,12 +240,6 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
||||||
{
|
{
|
||||||
var call = e.CallItem;
|
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)
|
switch (e.CallItem.Status)
|
||||||
{
|
{
|
||||||
case eCodecCallStatus.Connected:
|
case eCodecCallStatus.Connected:
|
||||||
|
|
@ -267,6 +261,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
||||||
Parent.ShowNotificationRibbon("Connecting", 0);
|
Parent.ShowNotificationRibbon("Connecting", 0);
|
||||||
break;
|
break;
|
||||||
case eCodecCallStatus.Disconnected:
|
case eCodecCallStatus.Disconnected:
|
||||||
|
if (IncomingCallModal != null)
|
||||||
|
IncomingCallModal.HideDialog();
|
||||||
if (!Codec.IsInCall)
|
if (!Codec.IsInCall)
|
||||||
{
|
{
|
||||||
KeypadMode = eKeypadMode.Dial;
|
KeypadMode = eKeypadMode.Dial;
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue