EndCall() публичный Метод

public EndCall ( ) : void
Результат void
Пример #1
0
        /// <summary>
        /// Cleans up after a SIP call has completely finished.
        /// </summary>
        private void CallFinished()
        {
            if (_mediaManager != null)
            {
                _mediaManager.EndCall();
                _mediaManager = null;
            }

            m_uac = null;
            m_uas = null;

            CallEnded();
        }
Пример #2
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();
        }
Пример #3
0
        /// <summary>
        /// Cleans up after a SIP call has completely finished.
        /// </summary>
        private void CallFinished()
        {
            if (_mediaManager != null)
            {
                _mediaManager.EndCall();
                _mediaManager = null;
            }

            //_cancelCallTokenSource.Cancel();

            m_uac = null;
            m_uas = null;

            CallEnded();
        }