SIPSorcery.SIP.SIPCancelTransaction.SIPCancelTransaction_TransactionFinalResponseReceived C# (CSharp) Method

SIPCancelTransaction_TransactionFinalResponseReceived() private method

private SIPCancelTransaction_TransactionFinalResponseReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPTransaction sipTransaction, SIPResponse sipResponse ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipTransaction SIPTransaction
sipResponse SIPResponse
return void
        private void SIPCancelTransaction_TransactionFinalResponseReceived(SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPTransaction sipTransaction, SIPResponse sipResponse)
        {
            if (sipResponse.StatusCode < 200)
            {
                logger.Warn("A SIP CANCEL transaction received an unexpected SIP information response " + sipResponse.ReasonPhrase + ".");
            }
            else
            {
                if (CancelTransactionFinalResponseReceived != null)
                {
                    CancelTransactionFinalResponseReceived(localSIPEndPoint, remoteEndPoint, sipTransaction, sipResponse);
                }
            }
        }