Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.68 KB

sip.js.incomingrequest.md

File metadata and controls

35 lines (23 loc) · 1.68 KB

Home > sip.js > IncomingRequest

IncomingRequest interface

A SIP message sent from a remote client to a local server.

Signature:

export interface IncomingRequest 

Remarks

For the purpose of invoking a particular operation. https://tools.ietf.org/html/rfc3261\#section-7.1

Properties

Property Modifiers Type Description
delegate IncomingRequestDelegate Delegate providing custom handling of this incoming request.
message IncomingRequestMessage The incoming message.

Methods

Method Description
accept(options) Send a 2xx positive final response to this request. Defaults to 200.
progress(options) Send a 1xx provisional response to this request. Defaults to 180. Excludes 100. Note that per RFC 4320, this method may only be used to respond to INVITE requests.
redirect(contacts, options) Send a 3xx negative final response to this request. Defaults to 302.
reject(options) Send a 4xx, 5xx, or 6xx negative final response to this request. Defaults to 480.
trying(options) Send a 100 outgoing response to this request.