Home > sip.js > IncomingRequest
A SIP message sent from a remote client to a local server.
Signature:
export interface IncomingRequest For the purpose of invoking a particular operation. https://tools.ietf.org/html/rfc3261\#section-7.1
| Property | Type | Description |
|---|---|---|
| delegate | IncomingRequestDelegate |
Delegate providing custom handling of this incoming request. |
| message | IncomingRequestMessage |
The incoming message. |
| 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. |