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

Show last authors
1 What's on this page:
2
3
4
5 {{toc/}}
6
7 {{info}}
8 These instructions are for installation on a vanilla or non FreePBX based Asterisk server. If you are using a FreePBX based install see the [[doc:FreePBX, Elastix and PBX in a Flash Installation]] section.
9 {{/info}}
10
11 {{info}}
12 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.
13 {{/info}}
14
15 = 1. Before you start =
16
17
18
19 {{id name="Before you start"/}}
20
21 Please check the following points:
22
23 1. Ensure that your system meets the minimum requirements to run iSymphony. For more information, please read the detailed [[system requirements>>doc:iSymphony 3\.5 Documentation.iSymphony Installation and Update Guide.iSymphony Requirements.WebHome]].
24 1. Have your iSymphony license key ready.
25 1. You must be able to use a command prompt and install Java to continue. If not, please contact your system administrator to assist you.
26 1. Determine the correct installation method to use for your environment. See [[doc:iSymphony 3\.5 Documentation.iSymphony Installation and Update Guide.Upgrading iSymphony.Determine the Installation Method.WebHome]] for more information.
27
28 = 2. Install the JRE (Java Runtime Environment) =
29
30
31
32 {{id name="Install the JRE"/}}
33
34 {{info}}
35 **Please be sure to review the [[Support Platforms>>doc:ISYM28.Supported Platforms]] page for details on version requirements of platform software.**
36 {{/info}}
37
38 1. If you are not sure whether you have JRE installed correctly, please confirm by doing the following:
39 11. Open a shell console.
40 11. Type echo $JAVA_HOME in the shell console and then press Enter
41 11. View the result:
42 11*. 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.
43 11*. 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.
44 1. If you need to install the JRE, follow these instructions:
45 1*. Go to the [[Java download page>>url:http://www.oracle.com/technetwork/java/javase/downloads/index.html||shape="rect"]].
46 1*. Download the version entitled 'JRE 7 Update XX', where 'XX' stands for some number. (The latest version is available on that page.)
47 1*. When the download has finished, run the Java installer. Detailed installation instructions are provided on [[Oracle's website>>url:http://www.oracle.com/technetwork/java/javase/index-137561.html||shape="rect"]].
48 At one point, you will be asked to choose an installation directory. Make a note of this directory for use later.
49
50 {{id name="download"/}}
51
52 = 3. Server Installation =
53
54 Install the iSymphony server. The install package and installation steps will differ depending on the type of OS you will be installing on.
55
56 === RPM (RedHat Based Linux Distributions) ===
57
58 (((
59 Once you have downloaded the iSymphony RPM to your server run the following command to install it.
60
61 {{code language="bash"}}
62 rpm -Uvh iSymphonyServerV3-<version>-1.noarch.rpm
63 {{/code}}
64
65 {{info}}
66 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.
67
68 {{code language="bash"}}
69 /opt/isymphony3/server/config.sh
70 {{/code}}
71 {{/info}}
72
73 === Tarball (Debian and other Linux Distributions) ===
74 )))
75
76 1. (((
77 Once you have downloaded the iSymphony TARBALL to your server run the following commands to install it.
78
79 {{code language="bash"}}
80 tar xzf iSymphonyServerV3<version>.tar.gz
81 cd ./iSymphonyServerV3<version>
82 chmod +x install.sh
83 ./install.sh
84 {{/code}}
85 )))
86 1. (((
87 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.
88 )))
89 1. (((
90 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.
91 )))
92
93 = 4. Setup Asterisk Configuration =
94
95 1. (((
96 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
97
98 {{code}}
99 #include /opt/isymphony3/server/isymphony.conf
100 {{/code}}
101 )))
102 1. (((
103 Reload the Asterisk Configuration using the following command:
104
105 {{code language="bash"}}
106 asterisk -rx "dialplan reload"
107 {{/code}}
108 )))
109 1. (((
110 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:
111
112 {{code}}
113 [isymphony]
114 secret = mysecret
115 deny=0.0.0.0/0.0.0.0
116 permit=127.0.0.1/255.255.255.0
117 read = all
118 write = all
119 writetimeout = 3000
120 eventfilter=!Event: RTCPSent
121 eventfilter=!Event: RTCPReceived
122 eventfilter=!Event: CEL
123 {{/code}}
124 )))
125 1. (((
126 Reload the Asterisk manager configuration using the following command:
127
128 {{code language="bash"}}
129 asterisk -rx "manager reload"
130 {{/code}}
131 )))
132 1. (((
133 If you are using Asterisk Queues you will need to add the following two properties to each queue configured in **/etc/asterisk/queues.conf**
134
135 {{note}}
136 If you do not add these properties, agents will not show any status when they are rung by a queue.
137 {{/note}}
138
139 {{code}}
140 eventmemberstatus=yes
141 eventwhencalled=yes
142 {{/code}}
143
144 Once added run the following command to apply the changes:
145
146 {{code}}
147 asterisk -rx "core reload"
148 {{/code}}
149 )))
150 1. Set up the voicemail and recording agent resource URLs and Extensions:
151 11. \\
152 111. Open the file **/opt/isymphony3/server/conf/agent/voicemail.xml**
153 111. 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.
154 111. 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.
155 111. Open the file **/opt/isymphony3/server/conf/agent/recording.xml**
156 111. 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.
157 111. 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.
158 1. (((
159 Start or restart the iSymphony Server via the following commands.
160
161 {{info}}
162 If the iSymphony server is already running you must restart in order for the voicemail and recording configuration to take effect.
163 {{/info}}
164
165 **RPM**
166
167 {{code language="bash"}}
168  service iSymphonyServerV3 restart
169 {{/code}}
170
171 **Tarball**
172
173 {{code language="bash"}}
174 /opt/isymphony3/server/shutdown.sh
175 /opt/isymphony3/server/startup.sh
176 {{/code}}
177 )))
178
179 = 5. Verify Required Ports Are Open =
180
181 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.
182
183 {{noformat}}
184 iptables -L
185 iptables -A INPUT -p tcp -m tcp --dport 58080 -j ACCEPT
186 iptables -A INPUT -p tcp -m tcp --dport 55050 -j ACCEPT
187 service iptables save
188 {{/noformat}}
189
190 {{note}}
191 The above command will open up the iSymphony Client and Administration Interfaces to the entire outside world. Normally this is fine since these interfaces require authentication in order to access them. If you would like to enable further access restriction or enable SSL encryption on the iSymphony Client and Administration Interfaces you can do so via the security system. See [[doc:Security]] for more information.
192 {{/note}}
193
194 The iSymphony server should now be installed and running.
iSymphony