Asterisk Server (Vanilla) Installation
What's on this page:
- 1. Before you start
- 2. Install the JRE (Java Runtime Environment)
- 3. Server Installation
- 4. Setup Asterisk Configuration
- 5. Verify Required Ports Are Open
1. Before you start
Please check the following points:
- Ensure that your system meets the minimum requirements to run iSymphony. For more information, please read the detailed system requirements.
- Have your iSymphony license key ready.
- You must be able to use a command prompt and install Java to continue. If not, please contact your system administrator to assist you.
- 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)
- If you are not sure whether you have JRE installed correctly, please confirm by doing the following:
- Open a shell console.
- Type echo $JAVA_HOME in the shell console and then press Enter
- 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.
- 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.
Tarball (Debian and other Linux Distributions)
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.shIf 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.
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
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.confReload the Asterisk Configuration using the following command:
asterisk -rx "dialplan reload"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: CELReload the Asterisk manager configuration using the following command:
asterisk -rx "manager reload"If you are using Asterisk Queues you will need to add the following two properties to each queue configured in /etc/asterisk/queues.conf
eventmemberstatus=yes
eventwhencalled=yesOnce added run the following command to apply the changes:
asterisk -rx "core reload"- Set up the voicemail and recording agent resource URLs and Extensions:
- Open the file /opt/isymphony3/server/conf/agent/voicemail.xml
- 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.
- 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.
- Open the file /opt/isymphony3/server/conf/agent/recording.xml
- 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.
- 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.
Start or restart the iSymphony Server via the following commands.
RPM
service iSymphonyServerV3 restartTarball
/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.
The iSymphony server should now be installed and running.