Brekeke SIP Server Wiki

$math.min

Get the lowest numerical value

 

Syntax:
$math.min( num1, num2, [num3] )
Parameters:

num – numbers

 

Returns:

The lowest numerical value.

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules

 

Example:
$math.min( “100”, “200”, "300" ) = (.+)

It will return 100.

$math.min( $getSIPuser(To), “9999” ) = (.+)

Use “9999” if a dialed number is more than 9999.

 

See Also:

$math.max

Yes No
Suggest Edit