sip.js.dialog.initialdialogstateforuseragentserver.md

September 26, 2022 ยท View on GitHub

Home > sip.js > Dialog > initialDialogStateForUserAgentServer

Dialog.initialDialogStateForUserAgentServer() method

The UAS then 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.1

Signature:

static initialDialogStateForUserAgentServer(incomingRequestMessage: IncomingRequestMessage, toTag: string, early?: boolean): DialogState;

Parameters

ParameterTypeDescription
incomingRequestMessageIncomingRequestMessageIncoming request message creating dialog.
toTagstringTag in the To field in the response to the incoming request.
earlyboolean

Returns:

DialogState