Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 2.32 KB

sip.js.inviteservertransaction.md

File metadata and controls

42 lines (28 loc) · 2.32 KB

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

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

Properties

Property Modifiers Type Description
kind string Transaction kind. Deprecated.

Methods

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.