Option 1

<< Click to Display Table of Contents >>

Navigation:  Program use > Configuration > Modules > How to configure logging to the database using the ODBC Database module >

Option 1

The simplest solution is to install or reinstall the program, and then select the respective option in the installation wizard (Figure 1):

 

Select "Create a configuration."

Select a parser for your PBX.

Select "Write to database" and your database type. If you have 2000 calls per day on your PBX, select the MS Access database. It is free and easy to set up and maintain.

 

pbxlogger-install

Figure 1. Creating a configuration

 

If you are using an MS SQL Server, MySQL, or Oracle database, you must specify a connection string and the credentials (login and password) of an administrator/user who has the privileges to create objects in the database.

 

pbxlogger-install2

Figure 2. Creating a configuration

 

At the next step, you can choose whether to create any objects in the database.. You can copy the object creation script and pass it to your database administrator, who will create objects for you. If you prefer to do that, just skip this step.

 

pbxlogger-install3

Figure 3. Creating objects in the database

 

pbxlogger-install4

Figure 4. Selecting a data source type

 

pbxlogger-install5

Figure 5. DDL script

 

If the installation is successful, Call logging to a database will be configured to write data to the database. You only need to configure the connection to your PBX. PBX Reports will also be configured to read data from the same database.

 

Now each time new data are received, the program will write them to the database in real-time. If you use the "PBX Reports" utility, you need to click the "Refresh" button on the "SMDR data" tab. Reports use real-time data without clicking the "Refresh" button.