Class UASInviteTransaction
The server transaction for an INVITE request. This transaction processes incoming calls RECEIVED by the application.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class UASInviteTransaction : SIPTransaction
Constructors
| Improve this Doc View SourceUASInviteTransaction(SIPTransport, SIPRequest, SIPEndPoint, Boolean)
Declaration
public UASInviteTransaction(SIPTransport sipTransport, SIPRequest sipRequest, SIPEndPoint outboundProxy, bool noCDR = false)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPTransport | sipTransport | |
| SIPRequest | sipRequest | |
| SIPEndPoint | outboundProxy | |
| System.Boolean | noCDR |
Properties
| Improve this Doc View SourceLocalTag
The local tag is set on the To SIP header and forms part of the information used to identify a SIP dialog.
Declaration
public string LocalTag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceCancelCall(SIPRequest)
Cancels this transaction stopping any further processing or transmission of a previously generated final response.
Declaration
public void CancelCall(SIPRequest sipCancelRequest = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPRequest | sipCancelRequest |
GetOkResponse(String, String)
Declaration
public SIPResponse GetOkResponse(string contentType, string messageBody)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | contentType | |
| System.String | messageBody |
Returns
| Type | Description |
|---|---|
| SIPResponse |
SendFinalResponse(SIPResponse)
Declaration
public void SendFinalResponse(SIPResponse sipResponse)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPResponse | sipResponse |
SendProvisionalResponse(SIPResponse)
Declaration
public Task<SocketError> SendProvisionalResponse(SIPResponse sipResponse)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPResponse | sipResponse |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Net.Sockets.SocketError> |
Events
| Improve this Doc View SourceOnAckReceived
An application will be interested in getting a notification about the ACK request if it is being used to carry the SDP answer. This occurs if the original INVITE did not contain an SDP offer.
Declaration
public event SIPTransactionRequestReceivedDelegate OnAckReceived
Event Type
| Type | Description |
|---|---|
| SIPTransactionRequestReceivedDelegate |
UASInviteTransactionCancelled
Declaration
public event SIPTransactionCancelledDelegate UASInviteTransactionCancelled
Event Type
| Type | Description |
|---|---|
| SIPTransactionCancelledDelegate |
UASInviteTransactionFailed
Declaration
public event SIPTransactionFailedDelegate UASInviteTransactionFailed
Event Type
| Type | Description |
|---|---|
| SIPTransactionFailedDelegate |