Skip to content

Get Data from the Cloud Voice Database

Cloud Voice can expose its underlying system database so that reporting tools and other third-party software can read records such as call detail records (CDRs) directly. This page walks you through granting database access from the PBX (Private Branch Exchange) web portal and then connecting to it with the Navicat for MySQL client.

The work happens in two stages: first you enable and secure access on the PBX, then you build a connection from your MySQL client.

  1. Sign in to the PBX web portal and navigate to Integrations > Database Grant.

  2. Enable the Database Grant switch, then set the credentials that external software will use to connect.

    Enabling database access and entering the connection user name and password

    • User Name: Keep the automatically generated user name, or replace it with one of your own.
    • Password: Keep the automatically generated password, or replace it with one of your own.
  3. Under Permitted IP, define which addresses are allowed to reach the database.

    Adding a permitted IP address and subnet mask for database access

    1. Click Add.

    2. Enter the permitted IP address and subnet mask. For example, entering the public IP address of your current network (110.80.36.162) with a subnet mask of 255.255.255.0 lets every host on that network connect.

  4. Click Save, then Apply. The PBX now displays the Database Address and Port; these values are fixed and cannot be edited.

    Cloud Voice, database access enabled, showing the read-only database address and port

  1. Open Navicat for MySQL on your computer.

  2. Click Connection and choose MySQL.

    Starting a new MySQL connection in Navicat

  3. In the dialog that appears, fill in the connection details:

    Cloud Voice, Navicat connection settings with host, port, and credentials

    • Connection Name: Any label that helps you recognize this connection.
    • Host: The database address shown on the PBX.
    • Port: 15023.
    • User Name: The user name you configured on the PBX (for example, mQRpgU7N).
    • Password: The password you configured on the PBX (for example, Ydugei296kd).
  4. Click Save.

  5. Double-click the connection to open it, then select a table to view its data.

    Browsing the CDR table after opening the database connection