User Rating: 4 / 5

Star Active Star Active Star Active Star Active Star Inactive
 
key.png

FusionPBX has a way to allow authentication with key. This way you will be able to log into your WEB console with a GET parameter. Something like this:

http://YOUR_IP/fusionpbx/app/xml_cdr/xml_cdr.php?key=YOUR_KEY

This authentication is very useful when you want to code your own REST API or to have a backdoor.

If you have FusionPBX 4.2, or an early version of 4.4 (before August 2018), the way to enable is as follows:

  1. Log into your server, and go to your FusionPBX web directory. For example
    cd /var/www/html/fusionpbx
  2. Create the app/api directory
    mkdir app/api
  3. Create the app_config.php file inside that directory
    touch app/api/app_config.php

If you have updated to Fusion 4.4 and your last update is after August 2018, follow these steps:

  1. Go to the Group Manager (Advanced -> Group Manager) and Edit the Group Permissions of the Super Admin group
  2. Look for the User Manager section, check the api_key permission and save
  3. Log out and relog in

Next time you add or edit a user, you will find a new field where you can put your key.

FusionPBX API key input field

blog comments powered by Disqus

About

Read about IT, Migration, Business, Money, Marketing and other subjects.

Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.