key.png

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

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

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

I used to do this in a project that is called friendsmap.biz (this project shows you in a Google Map your Facebook friends). By now, the page is broken (Facebook updated its API, and I haven't had time to update the project). Yesterday I had a long discussion with my boss about the need to take a snapshot of a dynamic element (let's call it a graph or a map, anything that it is dynamically created on user end with javascript).

reseller.png

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

I want to thanks the FusionPBX community for their sponsor. Without the given support this new capability wouldn't be possible. Today I have published into the FusionPBX pull requests 3972 and 3973 (for FusionPBX 4.4). This new capability gives your PBX the parent-child domain. This means an admin user will be able to manage more than one domain without being super-admins. The best case scenario for this is new capability is the reseller one.

Once it is configured, you may give access to a reseller and let him manage their domains. I will explain how it works.