Home > sip.js > InviteServerTransaction
INVITE Server Transaction.
Signature:
export declare class InviteServerTransaction extends ServerTransaction
Extends: ServerTransaction
https://tools.ietf.org/html/rfc3261\#section-17.2.1
Constructor | Modifiers | Description |
---|---|---|
(constructor)(request, transport, user) | Constructor. Upon construction, a "100 Trying" reply will be immediately sent. After construction the transaction will be in the "proceeding" state and the transaction id will equal the branch parameter set in the Via header of the incoming request. https://tools.ietf.org/html/rfc3261\#section-17.2.1 |
Property | Modifiers | Type | Description |
---|---|---|---|
kind | string | Transaction kind. Deprecated. |
Method | Modifiers | Description |
---|---|---|
dispose() | Destructor. | |
onTransportError(error) | First, the procedures in [4] are followed, which attempt to deliver the response to a backup. If those should all fail, based on the definition of failure in [4], the server transaction SHOULD inform the TU that a failure has occurred, and MUST remain in the current state. https://tools.ietf.org/html/rfc6026\#section-8.8 | |
receiveRequest(request) | Receive requests from transport matching this transaction. | |
receiveResponse(statusCode, response) | Receive responses from TU for this transaction. | |
retransmitAcceptedResponse() | Retransmit the last 2xx response. This is a noop if not in the "accepted" state. | |
typeToString() | For logging. |