Class ServerInviteTransaction
Class for managing a SIP server INVITE transaction. See Section 17.2.1 of RFC 3261.
Inherited Members
Namespace: SipLib.Transactions
Assembly: SipLib.dll
Syntax
public class ServerInviteTransaction : SipTransactionBase
Constructors
| Edit this page View SourceServerInviteTransaction(SIPRequest, IPEndPoint, SipTransactionCompleteDelegate, SipTransport, SIPResponse)
Constructor. The transaction is not started until the StartTransaction method is called by the transport layer.
Declaration
public ServerInviteTransaction(SIPRequest request, IPEndPoint remoteEndPoint, SipTransactionCompleteDelegate transactionComplete, SipTransport TransportManager, SIPResponse ResponseToSend)
Parameters
Type | Name | Description |
---|---|---|
SIPRequest | request | SIP request that was received by the server. |
IPEndPoint | remoteEndPoint | IP endpoint of the remote client that sent the request. |
SipTransactionCompleteDelegate | transactionComplete | Notification callback. Called when the transaction is completed or terminated. May be null if a notification is not required. |
SipTransport | TransportManager | Transport from which the request was received. |
SIPResponse | ResponseToSend | Initial response to send to the client. Will be sent when the transport layer calls the StartTransaction() method. |
Methods
| Edit this page View SourceSendResponse(SIPResponse)
Sends a response to the INVITE request. The transaction user must use this method to send a response.
Declaration
public void SendResponse(SIPResponse response)
Parameters
Type | Name | Description |
---|---|---|
SIPResponse | response | SIP response to send |