Asterisk Server (Vanilla) Installation

Last modified by superadmin on 2021/09/09 20:55

What's on this page:

These instructions are for installation on a vanilla or non FreePBX based Asterisk server. If you are using a FreePBX based install see the FreePBX, Elastix and PBX in a Flash Installation section.

iSymphony 3.x.x is configured, by default, in such a way that you can run an iSymphony 3.x.x instance along side an iSymphony 2.x.x installation.

1. Before you start

Please check the following points:

  1. Ensure that your system meets the minimum requirements to run iSymphony. For more information, please read the detailed system requirements.
  2. Have your iSymphony license key ready.
  3. You must be able to use a command prompt and install Java to continue. If not, please contact your system administrator to assist you.
  4. Determine the correct installation method to use for your environment. See Determine the Installation Method for more information.

2. Install the JRE (Java Runtime Environment)

Please be sure to review the Support Platforms page for details on version requirements of platform software.

  1. If you are not sure whether you have JRE installed correctly, please confirm by doing the following:
    1. Open a shell console.
    2. Type echo $JAVA_HOME in the shell console and then press Enter
    3. View the result:
      • If a line is displayed such as /opt/jre1.6.0_12 or /usr/lib/jvm/java-6-sun, then your JRE is installed and properly configured.
      • If nothing is displayed, then you either need to install the JRE or set the $JAVA_HOME environment variable. You can set this environment variable in your user account's 'profile' file. Alternatively, you can set this after installing iSymphony by defining this path in your iSymphony installation's config.sh file, usually located in the iSymphony directory.
  2. If you need to install the JRE, follow these instructions:
    • Go to the Java download page.
    • Download the version entitled 'JRE 7 Update XX', where 'XX' stands for some number. (The latest version is available on that page.)
    • When the download has finished, run the Java installer. Detailed installation instructions are provided on Oracle's website.
       At one point, you will be asked to choose an installation directory. Make a note of this directory for use later.

3. Server Installation

Install the iSymphony server. The install package and installation steps will differ depending on the type of OS you will be installing on.

RPM (RedHat Based Linux Distributions)

Once you have downloaded the iSymphony RPM to your server run the following command to install it.

rpm -Uvh iSymphonyServerV3-<version>-1.noarch.rpm

By default the rpm installer will look for your java installation in /usr/java/latest or whatever your JAVA_HOME environment variable is set to. If the installer cannot locate the JRE the startup will fail. If your JRE is in a different location run the following command to set the JRE location.

/opt/isymphony3/server/config.sh

Tarball (Debian and other Linux Distributions)

  1. Once you have downloaded the iSymphony TARBALL to your server run the following commands to install it.

    tar xzf iSymphonyServerV3<version>.tar.gz
    cd ./iSymphonyServerV3<version>
    chmod +x install.sh
    ./install.sh
  2. If the installer cannot locate a suitable JRE you will be prompted to specify the path to the JRE during installation.  iSymphony assumes your Sun Java JRE is located in /usr/java/latest/ by default.

  3. The installer will then ask you for the location to install iSymphony. The default will be /opt/isymphony3/server. We recommend that you utilize the default path.

4. Setup Asterisk Configuration

  1. Configure Asterisk by including the isymphony.conf file in your Asterisk dial plan. This can be accomplished by adding the following line to the end of your Asterisk extensions.conf file

    #include /opt/isymphony3/server/isymphony.conf
  2. Reload the Asterisk Configuration using the following command:

    asterisk -rx "dialplan reload"
  3. Add an entry into /etc/asterisk/manager.conf similar to the following and verify that it contains a permit entry for the IP that the iSymphony server is installed on:

    [isymphony]
     secret = mysecret
    deny=0.0.0.0/0.0.0.0
     permit=127.0.0.1/255.255.255.0
    read = all
    write = all
     writetimeout = 3000
     eventfilter=!Event: RTCPSent
     eventfilter=!Event: RTCPReceived
     eventfilter=!Event: CEL
  4. Reload the Asterisk manager configuration using the following command:

    asterisk -rx "manager reload"
  5. If you are using Asterisk Queues you will need to add the following two properties to each queue configured in /etc/asterisk/queues.conf

    Failed to execute the [error] macro. Cause: [The required content is missing.]. Click on this message for details.

    eventmemberstatus=yes
    eventwhencalled=yes

    Once added run the following command to apply the changes:

    asterisk -rx "core reload"
  6. Set up the voicemail and recording agent resource URLs and Extensions:

      1. Open the file /opt/isymphony3/server/conf/agent/voicemail.xml
      2. Modify the host value in this file to the public hostname or IP of the iSymphony server. This field specifies the host to use in the URL when playing back voicemail in the client.
      3. Modify the extension value to the file extension of the voicemail files as they are stored in the voicemail directory. This is used to determine which file type to play back in the client when listening to voicemail.
      4. Open the file /opt/isymphony3/server/conf/agent/recording.xml
      5. Modify the host value in this file to the public hostname or IP of the iSymphony server. This field specifies the host to use in the URL when playing back recordings in the client.
      6. Modify the extension value to the file extension of the recording files as they are stored in the recording directory. This is used to determine which file type to play back in the client when listening to recordings.
  7. Start or restart the iSymphony Server via the following commands.

    If the iSymphony server is already running you must restart in order for the voicemail and recording configuration to take effect.

    RPM

     service iSymphonyServerV3 restart

    Tarball

    /opt/isymphony3/server/shutdown.sh
    /opt/isymphony3/server/startup.sh

5. Verify Required Ports Are Open

Verify that ports 58080 and 55050 are not being blocked by any firewall and are forwarded as necessary. If you are running IP Tables run the following commands on the server CLI in order to open the ports. These ports allow access to the iSymphony Client and Administration interfaces.

Unknown macro: noformat. Click on this message for details.

Failed to execute the [error] macro. Cause: [The required content is missing.]. Click on this message for details.

The iSymphony server should now be installed and running. 

   
iSymphony