public void Rejected(object o, EventArgs e) { Terminal.ToAnswerCall -= Answered; Terminal.ToRejectCall -= Rejected; Terminal.ToNoAnswerCall -= NoAnswered; Mode = Enums.Mode.Free; RejectEvent?.Invoke(this, null); }
private void OnEndCallEvent(int number) { RejectEvent?.Invoke(this, new RejectEventArgs(Number)); }
private void Reject(object sender, RejectEventArgs e) { RejectEvent?.Invoke(this, e); }
/// <summary> /// Method to reject active or incoming call. /// </summary> public void Reject() { RejectEvent?.Invoke(this, new RejectEventArgs(Number, _incomingCallId)); }