Home > sip.js > Dialog > initialDialogStateForUserAgentClient
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 initialDialogStateForUserAgentClient(outgoingRequestMessage: OutgoingRequestMessage, incomingResponseMessage: IncomingResponseMessage): DialogState;| Parameter | Type | Description |
|---|---|---|
| outgoingRequestMessage | OutgoingRequestMessage |
Outgoing request message for dialog. |
| incomingResponseMessage | IncomingResponseMessage |
Incoming response message creating dialog. |
Returns:
DialogState