public SIPCancelTransaction CreateCancelTransaction(SIPRequest sipRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, UASInviteTransaction inviteTransaction)
{
try
{
if (localSIPEndPoint == null)
{
localSIPEndPoint = GetDefaultSIPEndPoint();
}
CheckTransactionEngineExists();
SIPCancelTransaction cancelTransaction = new SIPCancelTransaction(this, sipRequest, dstEndPoint, localSIPEndPoint, inviteTransaction);
m_transactionEngine.AddTransaction(cancelTransaction);
return cancelTransaction;
}
catch (Exception excp)
{
logger.Error("Exception CreateUASTransaction. " + excp);
throw;
}
}