ScopTEL on OpenVZ

Installing the ScopTEL packages on OpenVZ

Installing ScopTEL IP PBX on  OpenVZ

The ScopTEL PBX software has an unique problem when you are trying to set it up inside an OpenVZ Virtual Machine. If you install ScopTEL PBX and run the registration program it will fail. That’s because the registration process requires that it has access to the MAC address on eth0 in order to work. But there is a way around it. You can make the eth0 device appear within the VE as follows:

vzctl set $VEID --netif_add eth0 --save

This command build a line in your OpenVZ configuration file that looks like this:

NETIF="ifname=eth0,mac=XX:XX:XX:XX:XX:XX,
host_ifname=veth101.0,host_mac=YY:YY:YY:YY:YY:YY"

Initially the values of eth0 (XX) match the Ethernet hardware card and the values of veth101.0 (YY) is random. The important point is that the XX values is the MAC number that ScopServ will see when you register your application.

You can check your virtual device from within the VE as follows:

ifconfig -a

eth0      Link encap:Ethernet  HWaddr FF:12:34:56:78:90 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

When you see the eth0 device in your Virtual Machine and are happy with the MAC number then you can go ahead and register your application and it will actually work.

 

This article is based on informations available from http://openvz.org/Asterisk_G729


    • Related Articles

    • How to Install a ScopTEL Virtual Machine Into the Mediatrix Sentinel SBC

      The Mediatrix Sentinel appliance is a Gateway Appliance with several advanced features (some of which are activated by licensing). • Eight Gateway modules are supported per Sentinel and external Gateways are also supported. • FXO/FXS modules ...
    • Installing Old Packages from the Repository

      We may need to install some old packages such as the Asterisk version in your ScopTEL PBX server. Let’s use installing a older version of Asterisk 1.8 as the example to introduce how to install old packages from the repository using yum. By now, ...
    • Unable to boot ScopTEL after installing on Hyper-V

      ISSUE After the installation is complete, the virtual machine reboot and crashes with a Kernel Panic during the loading process.   ERROR ...  Scanning logical volumes Reading all physical volumes. This may take a while... No volume groups found ...
    • How to update to dahdi 3.3.0-4 in EL7 and Rocky 8 with full dkms support for multiple kernels.

      Make sure the ScopTEL license is downloaded and in an entitled state. scopserv_yum update Check dahdi build status with the following command: dkms status Example: [root@scopserv ~]# dkms status dahdi/3.3.0-4.el7.scopserv, ...
    • General-Presentation-ScopTEL-ENGLISH

      ScopServ – The Company  ScopServ is a Canadian firm founded in 2004, specializing in information technology.  It designs high-end corporate applications and holds the intellectual property rights for its products and solutions.  A strong actor in ...