Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.05 KB

File metadata and controls

25 lines (15 loc) · 1.05 KB

Home > sip.js > Dialog > initialDialogStateForUserAgentClient

Dialog.initialDialogStateForUserAgentClient() method

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;

Parameters

Parameter Type Description
outgoingRequestMessage OutgoingRequestMessage Outgoing request message for dialog.
incomingResponseMessage IncomingResponseMessage Incoming response message creating dialog.

Returns:

DialogState