Wiki source code of Failed to authenticate with the iSymphony server
Last modified by colinw on 2021/09/10 22:40
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | ====== On this page ====== | ||
2 | |||
3 | |||
4 | |||
5 | {{toc maxLevel="5"/}} | ||
6 | |||
7 | == Symptoms == | ||
8 | |||
9 | When using the iSymphony 3 FreePBX module, the server status shows as disconnected, with the following error message: | ||
10 | |||
11 | {{code}} | ||
12 | Failed to authenticate with the iSymphony server. | ||
13 | |||
14 | Verify that the "Server API Username" and "Server API Password" below are correct. | ||
15 | |||
16 | Also verify that you have a proper realm auth user defined in the iSymphony server's security.xml file for the communication_manager servlet security settings. | ||
17 | {{/code}} | ||
18 | |||
19 | == Cause == | ||
20 | |||
21 | The username and password that the FreePBX module is using to configure the iSymphony server are incorrect, or no user has been defined. | ||
22 | |||
23 | == Resolution == | ||
24 | |||
25 | Open the file /opt/isymphony3/server/conf/security.xml | ||
26 | |||
27 | Find the following block of code: | ||
28 | |||
29 | {{code}} | ||
30 | <SecurityContext servlet="communication_manager" enabled="true"> | ||
31 | ... | ||
32 | <RealmAuth enabled="true"> | ||
33 | <RealmAuthUsers> | ||
34 | <RealmAuthUser username="<username>" password="<password>" /> | ||
35 | </RealmAuthUsers> | ||
36 | </RealmAuth> | ||
37 | ... | ||
38 | </SecurityContext> | ||
39 | {{/code}} | ||
40 | |||
41 | Note the username and password from this section, and enter these into the FreePBX module section titled 'Server API Connection Settings'. | ||
42 | |||
43 | == Related Content == | ||
44 | |||
45 | {{expand title="Expand to see related content"}} | ||
46 | {{unmigrated-inline-wiki-markup}} | ||
47 | {dynamiccontentbylabel:showLabels=false|showSpace=false} | ||
48 | {{/unmigrated-inline-wiki-markup}} | ||
49 | {{/expand}} |