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

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