Skip to main content

Overview

The sip:decline verb rejects an incoming call with a specific status. The session ends immediately after the action is executed.

Example

{
  "verb": "sip:decline",
  "status": 480,
  "reason": "Gone Fishing",
  "headers": {
    "Retry-After": 1800
  }
}

Parameters

ParameterTypeRequiredDescription
statusnumberYesA valid SIP status code in the range 4XX - 6XX.
headersobjectNoSIP headers to include in the response.
reasonstringNoA brief description. Default: The well-known SIP reasons associated with the specified status code.