Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.28 KB

sip.js.subscriptiondelegate.md

File metadata and controls

22 lines (14 loc) · 1.28 KB

Home > sip.js > SubscriptionDelegate

SubscriptionDelegate interface

Subscription delegate.

Signature:

export interface SubscriptionDelegate 

Methods

Method Description
onNotify(request) Receive NOTIFY request. This includes in dialog NOTIFY requests only. Thus the first NOTIFY (the subscription creating NOTIFY) will not be provided. https://tools.ietf.org/html/rfc6665\#section-4.1.3
onRefresh(request) Sent a SUBSCRIBE request. This includes "auto refresh" in dialog SUBSCRIBE requests only. Thus SUBSCRIBE requests triggered by calls to refresh() or subscribe() will not be provided. Thus the first SUBSCRIBE (the subscription creating SUBSCRIBE) will not be provided.
onTerminated() Subscription termination. This includes non-NOTIFY termination causes only. Thus this will not be called if a NOTIFY is the cause of termination. https://tools.ietf.org/html/rfc6665\#section-4.4.1