Ejemplo n.º 1
0
        public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
        {
            if (_logger.IsDebugEnabled)
            {
                _logger.Debug("Dialog[Id={0}] received a timeout. Forwarding to listener...", GetId());
            }

            /*A UAC SHOULD also terminate a dialog if
             * no response at all is received for the request (the client
             * transaction would inform the TU about the timeout.) (==> and not the dialog)*/

            _listener.ProcessTimeOut(timeOutEvent);
        }
Ejemplo n.º 2
0
        public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
        {
            Check.Require(PendingCall, "PendingCall");  /*a timeout can only come from a pending call.*/

            if (_logger.IsInfoEnabled)
            {
                _logger.Info("Processing Timeout...");
            }

            PendingCall.RaiseCallErrorOccured(CallError.TransactionTimeout);
            PendingCall.RaiseCallStateChanged(CallState.Error);

            if (_logger.IsInfoEnabled)
            {
                _logger.Info("Changing state to 'IDLE'...");
            }
            ChangeState(_stateProvider.GetIdle());

            if (_logger.IsInfoEnabled)
            {
                _logger.Info("Timeout processed.");
            }
        }
Ejemplo n.º 3
0
        public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
        {
            EventAggregator.Instance.Publish(new LogEvent("<<<< [RECEIVED TIMEOUT] " + SipFormatter.FormatMessageEnvelope(timeOutEvent.Request)));

            _listener.ProcessTimeOut(timeOutEvent);
        }
Ejemplo n.º 4
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
 }
Ejemplo n.º 5
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     Console.WriteLine("Received timeout for request '{0}' on {1}", timeOutEvent.Request.CSeq.Command, DateTime.Now.ToString("hh:mm:ss"));
 }
Ejemplo n.º 6
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     OnTimeOutEvent(timeOutEvent);
 }
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 8
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     EventAggregator.Instance.Publish(new LogEvent("<<<< [RECEIVED TimeOutEvent]" + timeOutEvent.Request.RequestLine.FormatToString() + ":" + timeOutEvent.Request.Vias.GetTopMost().Branch));
 }
Ejemplo n.º 9
0
        public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
        {
            if (_logger.IsDebugEnabled) _logger.Debug("Dialog[Id={0}] received a timeout. Forwarding to listener...", GetId());

            /*A UAC SHOULD also terminate a dialog if
               no response at all is received for the request (the client
               transaction would inform the TU about the timeout.) (==> and not the dialog)*/

            _listener.ProcessTimeOut(timeOutEvent);
        }