checkMatchRule()


This application is used to check if number matches regular expression.


Method could be used to check the following rules:

  • CLI validation rule on Tariff
  • CLI validation rule on Destination set


Parameters:

  • rule - rule to match. String. Required.
  • number - the number to be checked. String. Optional. Default is empty string.

Returns:

  • result - OK means that operation was successful. String.
  • match - if the number matches. Boolean.
  • XMLRPC fault in case of any error.