freeswitch-logo-blue.png

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

So one of my customers is creating a calling card service to call abroad. Without entering in many details, the big challenge here is setting a variable after leg B has been answered. It took me a while to figure out how; I can tell you now that exporting variables locally or non-locally (nolocal:) doesn't work. But then, I found the right way.

ispconfig.png

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

For some quite years I have been managing WEB servers for hosting with the command line. It was driving me crazy, but I haven't found yet a friendly solution. Later, in one of my past jobs, I was introduced to cPanel. It was not a good experience. I can tell that cPanel, first it is not free, it has an easy installer but the way it is though it is not the best for a Linux guy. cPanel (when I tested) bundles its own Apache and other software, so security fixes rely on cPanel guys, not on your distro updates. cPanel web interface is awful, too many ports opened! To find a single option you need to go into many menus as possible.

After a while, I discovered ISPConfig and while testing I started liking it. It uses system RPM's, it can run on a VPS or bare metal box and configurations are very easy to follow. As any management software, installing is not a short or easy task. You can look and you will find long documents on how to configure ISPConfig, you may need to download some source tarballs and compile manually; in order to make this easier for everyone, I have developed these RPMs for Centos 6 and 7, and I have published them for your happiness in the OKay repository. Please read my short guide on how to configure it fast.

And yes, It works in CentOS 6 and 7. Some people still use CentOS 6 for an unknown reason.

Following my guide, you can install ISPConfig in 5 minutes.

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