Brekeke SIP Server Wiki

$math.dec

Decrement the number by 1.

Syntax:
$math.dec( num )
Parameters:
num – number
Returns:

a decremented value

 

Version Since:

1.0

 

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

 

Example:
$math.dec( $getSIPuser(To) ) = (.+)

Decrement the dialed number

See Also:

$math.inc

Yes No
Suggest Edit