Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.06 KB

sip.js.noninviteservertransaction.md

File metadata and controls

40 lines (26 loc) · 2.06 KB

Home > sip.js > NonInviteServerTransaction

NonInviteServerTransaction class

Non-INVITE Server Transaction.

Signature:

export declare class NonInviteServerTransaction extends ServerTransaction 

Remarks

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

Constructors

Constructor Modifiers Description
(constructor)(request, transport, user) Constructor. After construction the transaction will be in the "trying": 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.2

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 SHOULD transition to the terminated state. https://tools.ietf.org/html/rfc3261\#section-17.2.4
receiveRequest(request) Receive requests from transport matching this transaction.
receiveResponse(statusCode, response) Receive responses from TU for this transaction.
typeToString() For logging.