Brekeke SIP Server Wiki

$route.underlimit

Check whether the number of concurrent sessions reaches the maximum.

 

Syntax:
$route.underlimit( routename, max )
Returns:

true – if the number of concurrent sessions doesn’t reach the maximum yet.
false – otherwise

 

Version Since:

3.1

 

Where the function can be used:
  • Preliminary rules
  • Regular rules
Example:
$route.underlimit( "gateway", "10" ) = true

If the number of concurrent sessions under the route “gateway” reaches 10.

 

See Also:

$route.concurrent
$route.sps
$route.spslimit
more examples

Yes No
Suggest Edit