Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.33 KB

sip.js.sessiondelegate.md

File metadata and controls

26 lines (18 loc) · 1.33 KB

Home > sip.js > SessionDelegate

SessionDelegate interface

Delegate for Session.

Signature:

export interface SessionDelegate 

Methods

Method Description
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.