Page tree

Versions Compared

Key

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

Excerpt

This example written in PHP allows users to manage VoipNow accounts and fetch call statistics. Download.

Table of Contents
maxLevel3

...

This demonstrative code SHOULD NOT be used in production. It is designed to show how a client application interacts with the VoipNow SystemAPI. From this perspective, validations and error-checks aiming to demonstrate the most common mistakes are minimal and can be done easily.

...

How To Install It

System Requirements

In order to be able to use the SystemAPI PHP Tool, your system must be compliant with the requirements below:

  • Your system needs to have PHP 5.1.2 or any subsequent version installed.
  • PHP must be compiled using the --enable-soap configuration option.
  • The SystemAPI PHP Tool requires the PHP extension libxml - Version 2.5.4 or any subsequent version.

...

Please follow these steps:

STEP 1: Start by downloading the archive. Files are located in our GitHub repository. Copy the files using:

Code Block
git clone https://github.com/4psa/systemapi-example-php.git

 

STEP 2: Extract the files and copy them to a directory that can be accessed over the Web.

...

Note
Although everybody can see the web interface of the SystemAPI PHP Tool, it is important that the user account associated with the parameter parameter $voipnow_access_token is allowed to access the SystemAPI web service. For more information on how to generate an access token for your application, please check Access Management document.

...

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