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
| Parameter | Type | Description |
|---|---|---|
| incomingRequestMessage | IncomingRequestMessage | Incoming request message creating dialog. |
| toTag | string | Tag in the To field in the response to the incoming request. |
| early | boolean |
Returns: