C# Class SIPSorcery.SIP.App.SIPTransferServerUserAgent

A server user agent that replaces an existing sip dialogue rather than creating a new dialogue with a client user agent.
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

An answer on a blind transfer means the remote end of the dialogue being replaced should be re-invited and then the replaced dialogue should be hungup.

AnswerNonInvite ( SIPResponseStatusCodesEnum answerStatus, string reasonPhrase, string customHeaders, string contentType, string body ) : void
AuthenticateCall ( ) : bool
LoadSIPAccountForIncomingCall ( ) : bool
NoCDR ( ) : void
PendingLegHungup ( ) : void

Fired when a transfer is pending and the call leg that is going to be bridged hangs up before the transfer completes.

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
SIPTransferServerUserAgent ( SIPMonitorLogDelegate logDelegate, BlindTransferDelegate blindTransfer, SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPDialogue dialogueToReplace, SIPDialogue oppositeDialogue, string callDestination, string owner, string adminID ) : System
SetDialPlanContextID ( System.Guid dialPlanContextID ) : void
SetOwner ( string owner, string adminMemberId ) : void
SetTraceDelegate ( SIPTransactionTraceMessageDelegate traceDelegate ) : void

Private Methods

Méthode Description
CreateDummyRequest ( SIPDialogue dialogueToReplace, string callDestination ) : SIPRequest

Method Details

Answer() public méthode

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

Answer() public méthode

An answer on a blind transfer means the remote end of the dialogue being replaced should be re-invited and then the replaced dialogue should be hungup.
public Answer ( string contentType, string body, string toTag, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum transferMode ) : SIPDialogue
contentType string
body string
toTag string
answeredDialogue SIPDialogue
transferMode SIPDialogueTransferModesEnum
Résultat 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

PendingLegHungup() public méthode

Fired when a transfer is pending and the call leg that is going to be bridged hangs up before the transfer completes.
public PendingLegHungup ( ) : 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 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

SIPTransferServerUserAgent() public méthode

public SIPTransferServerUserAgent ( SIPMonitorLogDelegate logDelegate, BlindTransferDelegate blindTransfer, SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPDialogue dialogueToReplace, SIPDialogue oppositeDialogue, string callDestination, string owner, string adminID ) : System
logDelegate SIPMonitorLogDelegate
blindTransfer BlindTransferDelegate
sipTransport SIPTransport
outboundProxy SIPEndPoint
dialogueToReplace SIPDialogue
oppositeDialogue SIPDialogue
callDestination string
owner string
adminID string
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