Esempio n. 1
0
        /// <summary>
        /// The button to hang up an outgoing call.
        /// </summary>
        private void ByeButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            if (_activeClient != null)
            {
                _activeClient.Hangup();
            }
            else
            {
                // If no active client then it must be a loopback test that's ending.
                _mediaManager.EndCall();
                SetStatusText(m_signallingStatus, "Ready");
            }

            ResetToCallStartState();
        }
Esempio n. 2
0
 /// <summary>
 /// The button to hang up an outgoing call.
 /// </summary>
 private void ByeButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     _activeClient.Hangup();
     ResetToCallStartState();
 }