OpenVZ with FreePBX System

Registering your FreePBX system to the FreePBX/Schmooze Portal allows you to purchase Commercial Module addons to your FreePBX system. We refer to each PBX as a "Deployment" in the portal. Deployments are PBX instances that allow software and support to be connected with a PBX. Before you are able to purchase Commercial Pro Modules or Software, you must have at least one deployment registered and licensed from your FreePBX system.

Any FreePBX system with FreePBX 2.10 or greater, CentOS/RH/SL/EL 6.x and php 5.3 should work with most Commercial Modules, but there are no guarantees that all features and functions will work. You are on your own if there are issues, but you can contact FreePBX Paid support for assistance.

 

Warning

The steps below are only required if you are using OpenVZ with the VPS setup to use VENET interface. If using VETH interfaces, you can skip this wiki and go straight to here to follow the normal guide for installing support for Commercial Modules on a non-FreePBX Distro system.

Setup a fake eth0 interface.

  1. The license mechanism requires a interface that it feels it can tie to.  The VENET interface in a typical OpenVZ VPS setup does not work.  So what we need to do is set up a fake eth0 interface with an Ip of 127.0.0.2 to make the system be able to get a proper Hardware Lock.
     

  2. From the OpenVZ host (not the VPS), run the following command:

    vzctl set $VEID --netif_add eth0 --save    Replace the %VEID with the VEID of your VPS.  This doesn’t effect the venet0 device but creates a virtual eth0 device enabling the registration procedure to work but eth0 is not a routable interface its just to keep the Zend License software happy.
  3. Now log into your VPS and edit the eth0 interface we just set up by adding a fake IP address.  Use your favorite editor to edit the eth0 file.

    nano /etc/sysconfig/network-scripts/ifcfg-eth0
  4. Add the following information into the ifcfg-eth0 file and save it.

    DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=127.0.0.2 NETMASK=255.255.255.255 BROADCAST=0.0.0.0
  5. Restart your network interfaces

  6. You can now continue following the wiki on how to register your system just like any other Normal CentOS/RH/SL/EL 6.X-based system here.

Return to Documentation Home I Return to Sangoma Support