How to configure WSS connection for the phone service
You can configure WSS connection for the phone service. This configuration is 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 comment out the following configurational block in the <servers> section:
<server name="ClientWebSocketService"
serviceName="ClientWebSocketService" ip="Any" port="2013" mode="Tcp"
idleSessionTimeOut="10000" maxCommandLength="4096"
maxConnectionNumber="10000">
</server>
2.Uncomment 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>
3.Specify the preliminary received digital certificate from the certification center in PFX format, 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.
4.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