Brekeke SIP Server Wiki

Limit session per second in Dial Plan

From Brekeke SIP Server v3.0, with the method listed below, the number of SIP sessions in a second can be limited from dial plan rules.

 

Method in Matching Patterns

$sps – It returns the number of session at Brekeke SIP Server in each second
Syntax: $sps

 

Example:

check if the session per second is greater or equal to 20

------------------------
[Matching Patterns]
$request = ^INVITE
$math.ge($sps, "20") = true
------------------------
Yes No
Suggest Edit