Brekeke SIP Server Wiki

$action

Command name to execute or response code to return

 

Syntax:
$action = an internal command name
$action = a SIP response code
Explanation:
If an internal command name is specified, the server executes the command.
If a SIP response code is specified, 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:
$action = 200
Returns the response “200 OK”.
$action = block
Blocks matched incoming SIP requests and adds their source IP addresses in the Blocked IP Address database.

 

Related link:
Yes No
Suggest Edit