Home > sip.js > Subscriber > subscribe
Subscribe to event notifications.
Signature:
subscribe(options?: SubscriberSubscribeOptions): Promise<void>;
Parameter | Type | Description |
---|---|---|
options | SubscriberSubscribeOptions |
Returns:
Promise<void>
Send an initial SUBSCRIBE request if no subscription as been established. Sends a re-SUBSCRIBE request if the subscription is "active".