Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script
Excerpt

TrackMyCalls is a web application written in PHP that keeps a record of all successful calls made to a list of contacts. Download.

Table of Contents
maxLevel2

...

This example illustrates how you can accomplish this.

...

this

...

.

How to Install It

Note
titleSystem Requirements

In order to be able to use the TrackMyCalls plug-in, you need a webserver with PHP 5.2.14 or higher installed. Also, please note that the MySQLi PHP extension is necessary to make the TrackMyCalls setup work.

STEP 1: Download the archive, extract the files, and copy them to a directory that can be accessed over the Web.Clone the files from our GitHub repository into a folder which can be accessed by your web server.

Code Block
git clone https://github.com/4psa/app-trackmycalls.git /var/www/html/app-trackmycalls

 

STEP 2: Allow permissions and ownership rights. You need to give proper permissions and ownership rights to the files of the plugin - the plugin needs to be owned by the web server user and group.

...

Code Block
chmod -R 755 <PATH_TO_TRACKMYCALLS>
chwon -R httpdapache:httpdapache <PATH_TO_TRACKMYCALLS>

STEP 3: In order to use the tool, you must first set up the database by running the SQL script located at /sql/callevents.sql.

...

STEP 4: Configure the tool. As soon as the database is set up, you must configure it by opening the file /config.conf in the <PATH_TO_TRACKMYCALLS>/interface/config/ and changing the following settings:

...

As soon as calls are placed, the information about the callers involved will be recorded in the database. Calls made to phone numbers that don do not exist in the database are ignored. That is why, in order to make this work, you have to insert some contacts in the database (along with their phone numbers).

...

In order to make this script usable, you need to follow these steps:

STEP 1: Register an extension using a real phone or a softphone.

STEP 2: In the extension manager of your VoipNow administration page, select the extension you wish to monitor and click Call Events.

STEP 3: Configure a 'Hangup' event by clicking on the corresponding link.

...

STEP 6: Make a call to a number from the contacts list. If the callee called party answers, a note is written in the database:

...

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.