Ejemplo n.º 1
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
 }
Ejemplo n.º 2
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     OnTimeOutEvent(timeOutEvent);
 }
Ejemplo n.º 3
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.º 4
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     throw new System.NotImplementedException();
 }
Ejemplo n.º 5
0
        public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
        {
            EventAggregator.Instance.Publish(new LogEvent("<<<< [RECEIVED TIMEOUT] " + SipFormatter.FormatMessageEnvelope(timeOutEvent.Request)));

            _listener.ProcessTimeOut(timeOutEvent);
        }
Ejemplo n.º 6
0
 public void ProcessTimeOut(SipTimeOutEvent timeOutEvent)
 {
     EventAggregator.Instance.Publish(new LogEvent("<<<< [RECEIVED TimeOutEvent]" + timeOutEvent.Request.RequestLine.FormatToString() + ":" + timeOutEvent.Request.Vias.GetTopMost().Branch));
 }
Ejemplo n.º 7
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.");
        }