C# Класс SIPSorcery.SIP.App.SIPNonInviteServerUserAgent

Наследование: ISIPServerUserAgent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Answer ( string contentType, string body, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
Answer ( string contentType, string body, string toTag, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
AnswerNonInvite ( SIPResponseStatusCodesEnum answerStatus, string reasonPhrase, string customHeaders, string contentType, string body ) : void
AuthenticateCall ( ) : bool
LoadSIPAccountForIncomingCall ( ) : bool
NoCDR ( ) : void
Progress ( SIPResponseStatusCodesEnum progressStatus, string reasonPhrase, string customHeaders, string progressContentType, string progressBody ) : void
Redirect ( SIPResponseStatusCodesEnum redirectCode, SIPURI redirectURI ) : void
Reject ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
SIPNonInviteServerUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, string sipUsername, string sipDomain, SIPCallDirection callDirection, SIPAssetGetDelegate getSIPAccount, SIPAuthenticateRequestDelegate sipAuthenticateRequest, SIPMonitorLogDelegate logDelegate, SIPNonInviteTransaction transaction ) : System
SetDialPlanContextID ( Guid dialPlanContextID ) : void
SetOwner ( string owner, string adminMemberId ) : void
SetTraceDelegate ( SIPTransactionTraceMessageDelegate traceDelegate ) : void

Приватные методы

Метод Описание
TransactionTraceMessage ( SIPTransaction sipTransaction, string message ) : void

Описание методов

Answer() публичный Метод

public Answer ( string contentType, string body, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
contentType string
body string
answeredDialogue SIPDialogue
transferMode SIPDialogueTransferModesEnum
Результат SIPDialogue

Answer() публичный Метод

public Answer ( string contentType, string body, string toTag, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
contentType string
body string
toTag string
answeredDialogue SIPDialogue
transferMode SIPDialogueTransferModesEnum
Результат SIPDialogue

AnswerNonInvite() публичный Метод

public AnswerNonInvite ( SIPResponseStatusCodesEnum answerStatus, string reasonPhrase, string customHeaders, string contentType, string body ) : void
answerStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
contentType string
body string
Результат void

AuthenticateCall() публичный Метод

public AuthenticateCall ( ) : bool
Результат bool

LoadSIPAccountForIncomingCall() публичный Метод

public LoadSIPAccountForIncomingCall ( ) : bool
Результат bool

NoCDR() публичный Метод

public NoCDR ( ) : void
Результат void

Progress() публичный Метод

public Progress ( SIPResponseStatusCodesEnum progressStatus, string reasonPhrase, string customHeaders, string progressContentType, string progressBody ) : void
progressStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
progressContentType string
progressBody string
Результат void

Redirect() публичный Метод

public Redirect ( SIPResponseStatusCodesEnum redirectCode, SIPURI redirectURI ) : void
redirectCode SIPResponseStatusCodesEnum
redirectURI SIPURI
Результат void

Reject() публичный Метод

public Reject ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
failureStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
Результат void

SIPNonInviteServerUserAgent() публичный Метод

public SIPNonInviteServerUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, string sipUsername, string sipDomain, SIPCallDirection callDirection, SIPAssetGetDelegate getSIPAccount, SIPAuthenticateRequestDelegate sipAuthenticateRequest, SIPMonitorLogDelegate logDelegate, SIPNonInviteTransaction transaction ) : System
sipTransport SIPTransport
outboundProxy SIPEndPoint
sipUsername string
sipDomain string
callDirection SIPCallDirection
getSIPAccount SIPAssetGetDelegate
sipAuthenticateRequest SIPAuthenticateRequestDelegate
logDelegate SIPMonitorLogDelegate
transaction SIPNonInviteTransaction
Результат System

SetDialPlanContextID() публичный Метод

public SetDialPlanContextID ( Guid dialPlanContextID ) : void
dialPlanContextID Guid
Результат void

SetOwner() публичный Метод

public SetOwner ( string owner, string adminMemberId ) : void
owner string
adminMemberId string
Результат void

SetTraceDelegate() публичный Метод

public SetTraceDelegate ( SIPTransactionTraceMessageDelegate traceDelegate ) : void
traceDelegate SIPTransactionTraceMessageDelegate
Результат void