Ejemplo n.º 1
0
        /// <summary>
        /// Stops the DTMF singalling.
        /// </summary>
        internal void StopDtmfSignal(DtmfNamedEvents signal)
        {
            lock (_sync)
            {
                MediaHandlers.StopDtmf(signal);

                if (SelectedCall == null)
                {
                    return;
                }

                SelectedCall.StopDTMFSignal(signal);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// This will be called when the other party stopped DTMF signaling.
        /// </summary>
        private void Call_DtmfReceived(object sender, VoIPEventArgs <DtmfInfo> e)
        {
            DtmfSignal signal = e.Item.Signal;

            MediaHandlers.StopDtmf(signal.Signal);
        }