Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FreePBX Installation Notes

Users of FreePBX who are using version 3.5.0 or greater of DPMA and who have already Registered their FreePBX system do not need to separately execute the register utility.

DPMA Installation

No-charge license keys for DPMA are available from Sangoma's webstore at the following web address:

Digium Phones Module (Deprecated)

Overview

Once you have a DPMA license key, there are two primary tasks to perform in order to install DPMA software:

...

Note

Supported software builds are provided for 32-bit and 64-bit x86 platforms, and are optimized for a variety of processor types. Choose the directory that closest matches your Asterisk version and processor type.

Installation Procedure

  1. Download and execute the register utility to generate a valid license.

    1. Download the register utility to the root home directory of your Asterisk server. First, log in as the user "root".

      Command-line Example for 32-bit Linux

      Code Block
      # cd /root
      # wget http://downloads.digium.com/pub/register/x86-32/register
      
    2. Change the permissions of the /root/register file to r-x------.

      Command-line Example

      Code Block
      # chmod 500 /root/register
      
    3. Run the register utility and follow the interactive instructions. The registration utility will prompt you for your DPMA license key.

      Command-line Example

      Code Block
      # /root/register
      

...

  1. Download DPMA to the root home directory of your Asterisk server,

    Command-line Example for 32-bit Linux

    Code Block
    # cd /root
    # wget http://downloads.digium.com/pub/telephony/res_digium_phone/\
           asterisk-13.0/x86-64/\
           res_digium_phone-13.0_3.5.5-x86_64.tar.gz
    
  2. Expand the res_digium_phone archive and copy the DPMA binary to the /usr/lib/asterisk/modules directory.

    Command-line Example for 32-bit Linux

    Code Block
    # tar xzvf res_digium_phone-13.0_3.5.5-x86_64.tar.gz
    # cp /root/res_digium_phone-13.0_3.5.5-x86_64/res_*.so /usr/\
         lib/asterisk/modules
  3. For a RedHat or CentOS 64-bit distro (where a /usr/lib64 path exists), copy the modules to the /usr/lib64 directory instead:

    Code Block
    # tar xzvf res_digium_phone-13.0_3.5.5-x86_64.tar.gz
    # cp /root/res_digium_phone-13.0_3.5.5-x86_64/res_*.so /usr/\
         lib64/asterisk/modules
  4. If you already have a configuration file present from a previous installation, skip this step. Next, copy the res_digium_phone.conf.sample sample configuration file to the /etc/asterisk directory and rename it res_digium_phone.conf.

    Command-line Example for Config Copy

    Code Block
    # cp /root/res_digium_phone-13.0_3.5.5-x86_64/res_digium_phone.conf.sample \
         /etc/asterisk/res_digium_phone.conf
  5. The DPMA binary must now be loaded. (See General Notes to use multiple licenses on one server.)

    Command-line Example for new installs

    Code Block
    # asterisk -rx "module load res_digium_phone.so"

    Command-line Example for a DPMA upgrade

    Code Block
    # asterisk -rx "module reload res_digium_phone.so"
  6. Verify that DPMA is licensed and operating. This can be verified by issuing "digium_phones license status" in the Asterisk CLI.

    Command-line Example

    Code Block
    # asterisk -rvvv
    *CLI> digium_phones license status
    OK, Valid product license found
  7. Copy the generated license files to a safe place as described in the Backup Procedure section.

Backup Procedure

It is extremely important that you backup all of the files located in the /var/lib/asterisk/licenses directory. This directory contains the Host-ID specific license files for your system. These license files are tied to the MAC address of all the ethernet devices installed in your system. Creating a backup of this directory will allow you to restore your DPMA license file in case you need to reinstall your operating system. This will help prevent the need to contact Sangoma to request authorization to increment your DPMA key and from needing to freely order a new DPMA key if you exceed the maximum number of DPMA key increments allowed.

General Notes

A DPMA key must be re-registered if any of the Ethernet devices in your Asterisk server are changed, added, or removed. The unique DPMA license file which is located in your /var/lib/asterisk/licenses directory is tied to the MAC address of all the Ethernet devices installed in your system. A DPMA key can only be re-registered once without authorization from Sangoma. Sangoma must be contacted by phone in order to request authorization to have your DPMA key incremented. Sangoma reserves the right to deny authorization for having a DPMA key incremented.

...