Home > sip.js > SessionDelegate
Delegate for Session.
Signature:
export interface SessionDelegate
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. |