Exemple #1
0
        public void SetCallHeld()
        {
            if (_voipCall == null)
            {
                throw new InvalidOperationException("No active call to hold");
            }

            _voipCall.NotifyCallHeld();
        }
Exemple #2
0
 void callObj_RejectRequested(VoipPhoneCall sender, CallRejectEventArgs args)
 {
     sender.NotifyCallHeld();
 }
 private static void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args)
 {
     sender.NotifyCallHeld();
 }
Exemple #4
0
 private static void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args)
 {
     sender.NotifyCallHeld();
 }
Exemple #5
0
 private void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args)
 {
     Current.StopAudio();
     sender.NotifyCallHeld();
     Current.VoipCall = sender;
 }
 private void Call_HoldRequested(VoipPhoneCall sender, CallStateChangeEventArgs args)
 {
     Current.StopAudio();
     sender.NotifyCallHeld();
     Current.VoipCall = sender;
 }
 void callObj_RejectRequested(VoipPhoneCall sender, CallRejectEventArgs args)
 {
     sender.NotifyCallHeld();
 }