Brekeke SIP Server Wiki

$str.isdigits

Check whether the string is digits.

 

Syntax:
$str.isdigits( string )
Returns:

true – if the string is digits.
false – otherwise

 

Version Since:

1.0

 

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

 

 

Example:
$str.isdigits(“1234”)= true

The string “1234” is digits.

$str.isdigits($getSIPuser(To))= true

If the SIP user name in To URI is digits.

Yes No
Suggest Edit