Configure WSS connection for the phone service
You can configure WSS connection for the phone service. This procedure is relevant for Asterisk, Avaya, TAPI, CallWay and Infinity phone service users.
Note
Configure the WebSockets technology for proper work of the phone service in the Creatio.
To configure the secure connection with phone service, you need to modify the Terrasoft.Messaging.Service.exe.config configuration file on the phone server:
1.Delete or uncomment the following configuration block in the <servers> section:
<server name="ClientWebSocketService"
serviceName="ClientWebSocketService" ip="Any" port="2013" mode="Tcp"
idleSessionTimeOut="10000" maxCommandLength="4096"
maxConnectionNumber="10000">
</server>
2.PFX certificates are provided by official certification centers. A system administrator must obtain the certificate.
3.Remove comment from the following block on the <servers> section:
<server name="ClientWebSocketService"
serviceName="ClientWebSocketService" ip="Any" port="2013" mode="Tcp"
idleSessionTimeOut="10000" maxCommandLength="4096" security="tls" >
<certificate filePath="certificate.pfx" password="111"></certificate>
</server>
4.Specify the PFX format digital certificate that you received from the certification center, as well as the access password in the <certificate> section. Put the certificate in the folder with the Creatio Messaging Service binary files.
Attention
It is not recommended to use self-signed certificates, because this may violate the safety conditions.
5.After modifying the configuration file, change the address of connection to the phone server in the [Message exchange server] system setting from ws:// to wss://.
See also