Skip to content

101t/elastix-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.