Class ClientInviteTransaction
Class for managing a single SIP client INVITE transaction. See Section 17.1.1 of RFC 3261.
Inherited Members
Namespace: SipLib.Transactions
Assembly: SipLib.dll
Syntax
public class ClientInviteTransaction : SipTransactionBase
Constructors
| Edit this page View SourceClientInviteTransaction(SIPRequest, IPEndPoint, SipTransactionCompleteDelegate, SipTransport)
Constructor. The transaction is not started until the StartTransaction method is called by the transport layer.
Declaration
public ClientInviteTransaction(SIPRequest request, IPEndPoint remoteEndPoint, SipTransactionCompleteDelegate transactionComplete, SipTransport TransportManager)
Parameters
Type | Name | Description |
---|---|---|
SIPRequest | request | SIP INVITE request that will be send by the client. |
IPEndPoint | remoteEndPoint | Destination to send the request to |
SipTransactionCompleteDelegate | transactionComplete | Notification callback. Called when the transaction is completed or terminated. May be null if a notification is not required. |
SipTransport | TransportManager | SipTransport that is managing this transaction |
Methods
| Edit this page View SourceCancelInvite()
Cancels the client INVITE request transaction by building and sending a CANCEL request.
Declaration
public bool CancelInvite()
Returns
Type | Description |
---|---|
bool | Returns true if a CANCEL request is sent. Returns false if a CANCEL request was not sent because the INVITE transaction is not in the Proceeding state. If false is returned then the caller must wait until an interim response is received and then try again later. |