C# Class SIPSorcery.SIP.App.SIPServerUserAgent

A To tag MUST be set on all non 100 Trying responses, see RFC 3261 "8.2.6.2 Headers and Tags".
Inheritance: ISIPServerUserAgent
Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Méthode Description
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
SIPServerUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, string sipUsername, string sipDomain, SIPCallDirection callDirection, SIPAssetGetDelegate getSIPAccount, SIPAuthenticateRequestDelegate sipAuthenticateRequest, SIPMonitorLogDelegate logDelegate, UASInviteTransaction uasTransaction ) : System
SetDialPlanContextID ( System.Guid dialPlanContextID ) : void
SetOwner ( string owner, string adminMemberId ) : void
SetTraceDelegate ( SIPTransactionTraceMessageDelegate traceDelegate ) : void

Private Methods

Méthode Description
ClientTimedOut ( SIPTransaction sipTransaction ) : void
TransactionTraceMessage ( SIPTransaction sipTransaction, string message ) : void
UASTransactionCancelled ( SIPTransaction sipTransaction ) : void
UASTransaction_TransactionRemoved ( SIPTransaction sipTransaction ) : void

Method Details

Answer() public méthode

public Answer ( string contentType, string body, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
contentType string
body string
answeredDialogue SIPSorcery.SIP.SIPDialogue
transferMode SIPDialogueTransferModesEnum
Résultat SIPSorcery.SIP.SIPDialogue

Answer() public méthode

public Answer ( string contentType, string body, string toTag, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
contentType string
body string
toTag string
answeredDialogue SIPSorcery.SIP.SIPDialogue
transferMode SIPDialogueTransferModesEnum
Résultat SIPSorcery.SIP.SIPDialogue

AnswerNonInvite() public méthode

public AnswerNonInvite ( SIPResponseStatusCodesEnum answerStatus, string reasonPhrase, string customHeaders, string contentType, string body ) : void
answerStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
contentType string
body string
Résultat void

AuthenticateCall() public méthode

public AuthenticateCall ( ) : bool
Résultat bool

LoadSIPAccountForIncomingCall() public méthode

public LoadSIPAccountForIncomingCall ( ) : bool
Résultat bool

NoCDR() public méthode

public NoCDR ( ) : void
Résultat void

Progress() public méthode

public Progress ( SIPResponseStatusCodesEnum progressStatus, string reasonPhrase, string customHeaders, string progressContentType, string progressBody ) : void
progressStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
progressContentType string
progressBody string
Résultat void

Redirect() public méthode

public Redirect ( SIPResponseStatusCodesEnum redirectCode, SIPURI redirectURI ) : void
redirectCode SIPResponseStatusCodesEnum
redirectURI SIPSorcery.SIP.SIPURI
Résultat void

Reject() public méthode

public Reject ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
failureStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
Résultat void

SIPServerUserAgent() public méthode

public SIPServerUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, string sipUsername, string sipDomain, SIPCallDirection callDirection, SIPAssetGetDelegate getSIPAccount, SIPAuthenticateRequestDelegate sipAuthenticateRequest, SIPMonitorLogDelegate logDelegate, UASInviteTransaction uasTransaction ) : System
sipTransport SIPSorcery.SIP.SIPTransport
outboundProxy SIPSorcery.SIP.SIPEndPoint
sipUsername string
sipDomain string
callDirection SIPCallDirection
getSIPAccount SIPAssetGetDelegate
sipAuthenticateRequest SIPAuthenticateRequestDelegate
logDelegate SIPMonitorLogDelegate
uasTransaction SIPSorcery.SIP.UASInviteTransaction
Résultat System

SetDialPlanContextID() public méthode

public SetDialPlanContextID ( System.Guid dialPlanContextID ) : void
dialPlanContextID System.Guid
Résultat void

SetOwner() public méthode

public SetOwner ( string owner, string adminMemberId ) : void
owner string
adminMemberId string
Résultat void

SetTraceDelegate() public méthode

public SetTraceDelegate ( SIPTransactionTraceMessageDelegate traceDelegate ) : void
traceDelegate SIPTransactionTraceMessageDelegate
Résultat void