public void SetCallHeld() { if (_voipCall == null) { throw new InvalidOperationException("No active call to hold"); } _voipCall.NotifyCallHeld(); }
void callObj_RejectRequested(VoipPhoneCall sender, CallRejectEventArgs args) { sender.NotifyCallHeld(); }
private static void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args) { sender.NotifyCallHeld(); }
private void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args) { Current.StopAudio(); sender.NotifyCallHeld(); Current.VoipCall = sender; }