FreePBX panel integration?

  1. 8 years ago
    Edited 8 years ago by jgould

    So I tried the steps in the FAQ.

    How to replace the FOP link in FreePBX to FOP2?
    You can do it by means of modifying your apache configuration file. In Centos the file is located in /etc/httpd/conf/httpd.conf. In Debian it is located in /etc/apache2/sites-available/default. For other distros you can check apache wiki. In this file add the following line:

    alias /panel/ "/var/www/html/fop2/"
    You will then need to copy the index.html file to index_amp.php in order to make FreePBX happy:

    cp /var/www/html/fop2/index.html /var/www/html/fop2/index_amp.php
    After the changes, reload Apache. From then one, all requests to /panel will be redirected to your FOP2 install.

    It doesn't seem to be working for me. I assume this was written for moving from FOP to FOP2. And since FreePBX now provide that other panel by default, I assume the steps aren't the same. I also tried making requests to http://server/panel but that didn't redirect to fop2 either.

    What I was hoping to do was direct the "Operator Panel" links in FreePBX to FOP2. This is a current release of FreePBX. Is this possible?

  2. admin

    5 Dec 2015 Administrator

    I think you can define a link in FreePBX in the Advanced Settings page, but I am not sure how the setting is named. Also, it might direct you by default to "cxpanel", so the Alias trick should work the same but using cxpanel instead.

    Apache alias *will* work for sure, so if you created the alias /panel and then go to http://your.servrer/panel and does not work, then your alias is not correctly defined or apache was not reloaded.

    So, try setting the alias like:

    Alias /cxpanel "/var/www/html/fop2"

or Sign Up to reply!