/// <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(); }
/// <summary> /// The button to hang up an outgoing call. /// </summary> private void ByeButton_Click(object sender, System.Windows.RoutedEventArgs e) { _activeClient.Hangup(); ResetToCallStartState(); }