Wiki source code of Remote Installations
Version 2.1 by michaely on 2021/09/09 18:01
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **//On this page~://** | ||
2 | |||
3 | |||
4 | |||
5 | {{toc/}} | ||
6 | |||
7 | When installing the iSymphony Server remotely from the PBX extra steps need to be taken in order for iSymphony to communicate with the remote PBX. | ||
8 | |||
9 | = 1. Setup The Remote Voicemail And Recording Agent = | ||
10 | |||
11 | In order for the iSymphony server to know about voicemail and recording file activity on the remote PBX you must install and configure a Remote Agent on the PBX. See [[doc:Remote Agents]] for information on how to install and configure a Remote Agent. | ||
12 | |||
13 | {{info}} | ||
14 | The remote agent is not required however you will not have voicemail or recording management in browser if not set up. | ||
15 | {{/info}} | ||
16 | |||
17 | = 2. Modify The PBX Connection Information = | ||
18 | |||
19 | Depending on if you are using the iSymphony FreePBX module or not will determine where you modify this information. | ||
20 | |||
21 | {{note}} | ||
22 | Make sure that a firewall is not blocking communication on TCP ports **5038**, **55050** and **58080** between the PBX and the iSymphony Server. | ||
23 | {{/note}} | ||
24 | |||
25 | === Vanilla Asterisk === | ||
26 | |||
27 | 1. Open the file **/etc/asterisk/manager.conf** on the PBX. | ||
28 | 1. ((( | ||
29 | Add a permit entry into the iSymphony manager connection that specifies the IP of the iSymphony Server and save the file. | ||
30 | |||
31 | {{code}} | ||
32 | [isymphony] | ||
33 | secret = mysecret | ||
34 | deny=0.0.0.0/0.0.0.0 | ||
35 | permit=127.0.0.1/255.255.255.0 | ||
36 | permit=[ip of the iSymphony Server]/255.255.255.255 | ||
37 | read = all | ||
38 | write = all | ||
39 | {{/code}} | ||
40 | ))) | ||
41 | 1. ((( | ||
42 | Reload the Asterisk manager using the following command. | ||
43 | |||
44 | {{code language="bash"}} | ||
45 | asterisk -rx "manager reload" | ||
46 | {{/code}} | ||
47 | ))) | ||
48 | 1. Log into the iSymphony Administration Interface. See [[doc:Connecting to the Administration Interface]] for more information. | ||
49 | 1. Navigate to the settings for your PBX Connection and set the **Host** field to the IP or hostname of the remote PBX. This will tell iSymphony how to connect to the remote PBX. See [[doc:PBX Connections]] for more information. | ||
50 | |||
51 | === FreePBX === | ||
52 | |||
53 | 1. Open the file **/opt/isymphony3/server/conf/security.xml** on the iSymphony Server. | ||
54 | 1. In the **communication_manager** **SecurityContext** add the IP of the PBX to the **IPAccess** **WhiteList**. See [[doc:Security]] for more information. | ||
55 | 1. Restart the iSymphony Server. See [[doc:Starting And Stopping The iSymphony Server]] for more information. | ||
56 | 1. Log into FreePBX. | ||
57 | 1. ((( | ||
58 | Navigate to **Settings->Asterisk API/Manager Users->cxpanel** and add a permit entry for the IP of the iSymphony Server by appending the following to end of the contents of the **Permit** section and save the configuration. | ||
59 | |||
60 | {{code}} | ||
61 | &<IP of the iSymphony Server>/255.255.255.255 | ||
62 | {{/code}} | ||
63 | ))) | ||
64 | 1. Navigate to the iSymphony FreePBX Module page. See [[doc:FreePBX Module Administration]] for more information. | ||
65 | 1. ((( | ||
66 | If you are adding an additional PBX to your iSymphony Server instance make sure to change the **Server Name** property under **Server Settings** to something other than **default**. If you only have one PBX you can leave this value as **default**. See [[doc:Core Servers]] for more information. | ||
67 | |||
68 | {{note}} | ||
69 | If you have two FreePBX instances with one iSymphony Server instance and both FreePBX instances have the same value for the **Server Name** property the two modules will conflict when trying to write out their configuration to the server. | ||
70 | {{/note}} | ||
71 | ))) | ||
72 | 1. Modify the **Server API Host** field under **Server Settings** to the IP or hostname of the iSymphony Server. This tells the iSymphony FreePBX Module how to connect to the iSymphony Server. | ||
73 | 1. Modify the **Asterisk Server Host** field to the IP or hostname of the PBX. this tells the iSymphony Server how to connect to Asterisk. | ||
74 | 1. Modify the Client Host field to the IP or hostname of the iSymphony Server. This value is used to construct the URL to point to the iSymphony Client Interface. See [[doc:FreePBX Module Administration]] for more information. | ||
75 | 1. Save the configuration and **Apply Config** in FreePBX. |