sip.js.clienttransactionuser.md

September 26, 2022 ยท View on GitHub

Home > sip.js > ClientTransactionUser

ClientTransactionUser interface

UAC Core Transaction User.

Signature:

export interface ClientTransactionUser extends TransactionUser 

Extends: TransactionUser

Properties

PropertyModifiersTypeDescription
onRequestTimeout() => void

Callback for request timeout error.

When a timeout error is received from the transaction layer, it MUST be treated as if a 408 (Request Timeout) status code has been received. https://tools.ietf.org/html/rfc3261\#section-8.1.3.1 TU MUST be informed of a timeout. https://tools.ietf.org/html/rfc3261\#section-17.1.2.2

receiveResponse(response: IncomingResponseMessage) => void

Callback for delegation of valid response handling.

Valid responses are passed up to the TU from the client transaction. https://tools.ietf.org/html/rfc3261\#section-17.1