sip.js.sessiondelegate.md

April 18, 2020 ยท View on GitHub

Home > sip.js > SessionDelegate

SessionDelegate interface

Session delegate.

Signature:

export interface SessionDelegate 

Methods

MethodDescription
onAck(request)Receive ACK request.
onAckTimeout()Timeout waiting for ACK request. If no handler is provided the Session will terminated with a BYE. https://tools.ietf.org/html/rfc3261\#section-13.3.1.4
onBye(request)Receive BYE request. https://tools.ietf.org/html/rfc3261\#section-15.1.2
onInfo(request)Receive INFO request.
onInvite(request)Receive re-INVITE request. https://tools.ietf.org/html/rfc3261\#section-14.2
onMessage(request)Receive MESSAGE request. https://tools.ietf.org/html/rfc3428\#section-7
onNotify(request)Receive NOTIFY request. https://tools.ietf.org/html/rfc6665\#section-4.1.3
onPrack(request)Receive PRACK request. https://tools.ietf.org/html/rfc3262\#section-3
onRefer(request)Receive REFER request. https://tools.ietf.org/html/rfc3515\#section-2.4.2