Class UACInviteTransaction
SIP transaction that initiates a call to a SIP User Agent Server. This transaction processes outgoing calls SENT by the application.
Inherited Members
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class UACInviteTransaction : SIPTransaction
Constructors
| Improve this Doc View SourceUACInviteTransaction(SIPTransport, SIPRequest, SIPEndPoint, Boolean)
Default constructor for user agent client INVITE transaction.
Declaration
public UACInviteTransaction(SIPTransport sipTransport, SIPRequest sipRequest, SIPEndPoint outboundProxy, bool sendOkAckManually = false)
Parameters
Type | Name | Description |
---|---|---|
SIPTransport | sipTransport | |
SIPRequest | sipRequest | |
SIPEndPoint | outboundProxy | |
System.Boolean | sendOkAckManually | If set an ACK request for the 2xx response will NOT be sent and it will be up to the application to explicitly call the SendACK request. |
UACInviteTransaction(SIPTransport, SIPRequest, SIPEndPoint, Boolean, Boolean)
Default constructor for user agent client INVITE transaction.
Declaration
[Obsolete("Please use the new constructor without disablePrackSupport. Note the original implementation of disablePrackSupport does not behave as previously summarised.")]
public UACInviteTransaction(SIPTransport sipTransport, SIPRequest sipRequest, SIPEndPoint outboundProxy, bool sendOkAckManually, bool disablePrackSupport)
Parameters
Type | Name | Description |
---|---|---|
SIPTransport | sipTransport | |
SIPRequest | sipRequest | |
SIPEndPoint | outboundProxy | |
System.Boolean | sendOkAckManually | If set an ACK request for the 2xx response will NOT be sent and it will be up to the application to explicitly call the SendACK request. |
System.Boolean | disablePrackSupport | If set to true then PRACK support will not be set in the initial INVITE request. |
Methods
| Improve this Doc View SourceAckAnswer(SIPResponse, String, String)
Sends AckAnswer response.
Declaration
public void AckAnswer(SIPResponse sipResponse, string content, string contentType)
Parameters
Type | Name | Description |
---|---|---|
SIPResponse | sipResponse | SIPResponse to acknowledge |
System.String | content | The optional content body for the ACK request. |
System.String | contentType | The optional content type. |
CancelCall(String)
Cancels this transaction. This does NOT generate a CANCEL request. A separate reliable transaction needs to be created for that.
Declaration
public void CancelCall(string cancelReason = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | cancelReason | The reason for cancelling the transaction. |
SendInviteRequest()
Declaration
public void SendInviteRequest()
Events
| Improve this Doc View SourceUACInviteTransactionFailed
Declaration
public event SIPTransactionFailedDelegate UACInviteTransactionFailed
Event Type
Type | Description |
---|---|
SIPTransactionFailedDelegate |
UACInviteTransactionFinalResponseReceived
Declaration
public event SIPTransactionResponseReceivedDelegate UACInviteTransactionFinalResponseReceived
Event Type
Type | Description |
---|---|
SIPTransactionResponseReceivedDelegate |
UACInviteTransactionInformationResponseReceived
Declaration
public event SIPTransactionResponseReceivedDelegate UACInviteTransactionInformationResponseReceived
Event Type
Type | Description |
---|---|
SIPTransactionResponseReceivedDelegate |