Home > sip.js > SubscribeUserAgentClient
SUBSCRIBE UAC.
Signature:
export declare class SubscribeUserAgentClient extends UserAgentClient implements OutgoingSubscribeRequest
Extends: UserAgentClient
Implements: OutgoingSubscribeRequest
4.1. Subscriber Behavior https://tools.ietf.org/html/rfc6665\#section-4.1
User agent client for installation of a single subscription per SUBSCRIBE request. TODO: Support for installation of multiple subscriptions on forked SUBSCRIBE requests.
Constructor | Modifiers | Description |
---|---|---|
(constructor)(core, message, delegate) | Constructs a new instance of the SubscribeUserAgentClient class |
Property | Modifiers | Type | Description |
---|---|---|---|
delegate | OutgoingSubscribeRequestDelegate | undefined |
Method | Modifiers | Description |
---|---|---|
dispose() | Destructor. Note that Timer N may live on waiting for an initial NOTIFY and the delegate may still receive that NOTIFY. If you don't want that behavior then either clear the delegate so the delegate doesn't get called (a 200 will be sent in response to the NOTIFY) or call waitNotifyStop which will clear Timer N and remove this UAC from the core (a 481 will be sent in response to the NOTIFY). |
|
onNotify(uas) | Handle out of dialog NOTIFY associated with SUBSCRIBE request. This is the first NOTIFY received after the SUBSCRIBE request. | |
receiveResponse(message) | Receive a response from the transaction layer. | |
waitNotifyStart() | ||
waitNotifyStop() |