Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.11 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.11 KB

Elastix API

Elastix and Asterisk API Provider to make FreePBX easy to manage, written in PHP4.

Installation

Open your Elastix (CentOS) terminal, and go to elastix directory, then download it:

cd /var/www/html
git clone https://github.com/101t/elastix-api.git

Open api.php and generate token key then replace it in:

$this->key = 'YOUR_SECRETKEY_50_RANDOM_CHARS';

Now you have elastix api ready to use it.

Useful API functions

This api package can implement:

  • Get Authentication
  • Get SIP Peers
  • Get SIP Extensions
  • Check System Resources
  • Get CDR Report
  • Get *.wav files
  • Get Hard Driver State
  • Check IPTable Status
  • Get Active Call (Live Calls)
  • SIP Trunk / Extension Management (Create, Update, Delete, Read)
  • Follow Me Extension Management (Create, Update, Delete, Read)

Documentation

Installation and developer guide here.

Contribute

Thank you for amazing community of FreePBX for useful information.