Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.44 KB

sip.js.sessiondelegate.md

File metadata and controls

27 lines (19 loc) · 1.44 KB

Home > sip.js > SessionDelegate

SessionDelegate interface

Delegate for Session.

Signature:

export interface SessionDelegate 

Methods

Method Description
onAck(ack) Called upon receiving an incoming in dialog ACK request.
onBye(bye) Called upon receiving an incoming in dialog BYE request.
onInfo(info) Called upon receiving an incoming in dialog INFO request.
onInvite(request, response, statusCode) Called upon receiving an incoming in dialog INVITE request.
onMessage(message) Called upon receiving an incoming in dialog MESSAGE request.
onNotify(notification) Called upon receiving an incoming in dialog NOTIFY request.
onRefer(referral) Called upon receiving an incoming in dialog REFER request.
onSessionDescriptionHandler(sessionDescriptionHandler, provisional) Called upon creating a SessionDescriptionHandler.