protected virtual void IncomingCallEvent(int number, int targetNumber, Guid id) { CallPortEvent?.Invoke(this, new CallEvent(number, targetNumber, id)); }
public void IncomingCall(PhoneNumber number, PhoneNumber targetNumber) { CallPortEvent?.Invoke(this, new EventArgsCall(number, targetNumber)); }