matchAccountMinutePlan()

This application is used to match a given destination against the Minute Plans of an account.

Parameters:

  • i_account - i_account of account. Integer. Required.
  • cld - destination to check. String. Required.

Returns:

  • result - OK means that query was successfully. String.
  • i_service_plan - an ID of minute plan. Integer.
  • seconds_total - total seconds included in minute plan. Integer. Null value means Unlimited.
  • seconds_left - seconds left in minute plan. Integer. Null value means Unlimited.
  • XMLRPC fault with code 410 if no plan has been matched.
  • XMLRPC fault in case of any error.