WHMCS Module - Voice Servers

This module allows WHMCS to interact with GSP-Panel using the WebAPI to setup voice servers.

The following WHMCS functions work in this module:

  • Create Package
  • Terminate Package
  • Upgrade/Downgrade Package
  • Suspend Package
  • Unsuspend Package

Installation

  • Download the WHMCS Module from the Members Area
  • Place the module in the “modules/servers/gsppanelv/” folder in WHMCS

Setup Module

  • Login to GSP-Panel and go into Configuration > Settings > API and setup an API password
  • Login to WHMCS and go to Setup > Servers, click “Add New Server”
  • Enter the following settings for “Edit Server”
  • Enter the following settings for “Server Details”
    • Type: Select gsppanelv
    • Password: Enter the API password you previously setup
    • Click “Save Changes”

Create a Package

This section is just an example to create a package compatible with GSP-Panel

  • Login to WHMCS and go to Setup > Products/Services, click “Create a New Group”
  • Name the group anything you want products under it to be associated with
  • Click “Create Group”
  • You should be back at the Products/Services page, click “Create a New Product”
  • Select the product type, select the group you just created and enter a name for the product and click “continue”
  • Enter these settings on the specified tabs
    • Details
      • Uncheck “Require Domain”
    • Pricing
      • Enter whatever pricing you want for the package
    • Module Settings
      • Select Gsppanelv as the module
      • Server ID: The ServerID from GSP-Panel, you can find this in the url by going into Machines > Edit Machine and looking at the url, it should say “sid=<number>”, the number is the server's id
      • Slots: Not required if you'll be using a configurable option
      • Voice Type: The type of voice server to setup

Advanced

  • Package custom fields
    • These fields can be used to specify the following options:
      • hostname
      • password
      • adminpassword
      • Slots
  • Configurable Options
    • These fields can be used the same as above
    • Slots field as a configurable option
      • Must be named “Slots”
      • Valid options are numbers
    • Location field as a configurable option
      • Must be named “Location”
      • Valid options are the serverid's of the machines in GSP-Panel