Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

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.

Follow the next steps to enable it:

  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

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.