sip.js.inviteservertransaction.md

September 26, 2022 ยท View on GitHub

Home > sip.js > InviteServerTransaction

InviteServerTransaction class

INVITE Server Transaction.

Signature:

export declare class InviteServerTransaction extends ServerTransaction 

Extends: ServerTransaction

Remarks

https://tools.ietf.org/html/rfc3261\#section-17.2.1

Constructors

ConstructorModifiersDescription
(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

Properties

PropertyModifiersTypeDescription
kindstringTransaction kind. Deprecated.

Methods

MethodModifiersDescription
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.