sip.js.sessiondialog.message.md

September 26, 2022 ยท View on GitHub

Home > sip.js > SessionDialog > message

SessionDialog.message() method

A UAC MAY associate a MESSAGE request with an existing dialog. If a MESSAGE request is sent within a dialog, it is "associated" with any media session or sessions associated with that dialog. https://tools.ietf.org/html/rfc3428\#section-4

Signature:

message(delegate: OutgoingRequestDelegate, options?: RequestOptions): OutgoingMessageRequest;

Parameters

ParameterTypeDescription
delegateOutgoingRequestDelegate
optionsRequestOptionsOptions bucket.

Returns:

OutgoingMessageRequest