private void CurrentCall_onDisconnected(CallDisconnectedEvent reason)
 {
     RefreshCallStatusView();
     UpdateRecentContactsStore();
     unRegisterCallEvent();
     output("call is disconnectd for " + reason?.GetType().Name);
     this.curCallView.RefreshViews();
     this.IfShowRatingView = true;
     currentCall           = null;
     ApplicationController.Instance.CurSparkManager.CurCalleeAddress = null;
 }
        private void CurrentCall_onDisconnected(CallDisconnectedEvent reason)
        {
            RefreshCallStatusView();
            UpdateRecentContactsStore();
            UnRegisterCallEvent();
            Output("call is disconnected for " + reason?.GetType().Name);
#pragma warning disable S125 // Sections of code should not be "commented out"
            //this.IfShowRatingView = true;
#pragma warning restore S125 // Sections of code should not be "commented out"
            CurrentCall = null;

            ApplicationController.Instance.CurWebexManager.CurCalleeAddress = null;
            ApplicationController.Instance.ChangeState(State.Main);
        }