$response
Response code to return
Syntax:
$response = a SIP response code
Explanation:
The server returns the response packet with the specified response code to the matched request and the session will not be routed
Where the function can be used:
- Preliminary rules
- Regular rules
Example:
$response = 400
Returns the response “400 Bad Request”.