Home > sip.js > SubscriptionDialog > initialDialogStateForSubscription
When a UAC receives a response that establishes a dialog, it constructs the state of the dialog. This state MUST be maintained for the duration of the dialog. https://tools.ietf.org/html/rfc3261\#section-12.1.2
Signature:
static initialDialogStateForSubscription(outgoingSubscribeRequestMessage: OutgoingRequestMessage, incomingNotifyRequestMessage: IncomingRequestMessage): DialogState;
Parameter | Type | Description |
---|---|---|
outgoingSubscribeRequestMessage | OutgoingRequestMessage | |
incomingNotifyRequestMessage | IncomingRequestMessage |
Returns: