Set up integration with CallWay
To set up a CallWay integration, take the following steps:
- Set up Creatio Messaging Service. Read more >>>
- Set up the message exchange library. Read more >>>
- Set up the CallWay parameters. Read more >>>
In Creatio, the CallWay integration functionality requires a separate license. You need to generate a license request, send it to our service team, upload the received license file into the system, and distribute the licenses among the users. Read more: Creatio licensing and Manage user licenses.
The integration is only possible if complete preliminary CallWay setup was performed by the phone integration administrator.
If you set up the telephony for a Creatio production environment, deploy Creatio Messaging Service on a separate node rather than on the Creatio application server. To ensure the fault tolerance of your phone integration, we recommend setting up at least two nodes with Creatio Messaging Service, as well as a balancer that would redirect users in case of lost connection with one of the nodes.
1. Set up Creatio Messaging Service (formerly Terrasoft Messaging Service)
The messaging service allows you to connect Creatio to CallWay via the integration protocol and distribute call events between Creatio users.
-
Before installing Creatio Messaging Service (CMS), make sure that your computer runtime environment has:
- A .NET Framework package version 4.7.2 or later on the server where you are going to install Creatio Messaging Service.
- At least 2 Gb of RAM and 20 Gb of free drive space.
-
Contact Creatio support to receive the messaging service installation files or download the files via the URL: Download Creatio Messaging Service. Unpack the archive to a folder to ensure a smooth installation. If you run the installation directly from the archive, the archiver application may interfere with the install wizard.
ImportantDeploy CMS on the server connected to both the Creatio application server and the PBX. Read more: Telephony integration basics.
-
Run the Creatio Messaging Service Install.msi file on the machine intended as the message exchange server and proceed with the installation.
-
Make sure that the “TerrasoftMessagingService” service is running in the Windows Services application. If the “TerrasoftMessagingService” service is not running, start it manually.
-
Open the folder with the service files: ~\BPMonline Messaging Service. Specify the CallWay server address in the “Terrasoft.Messaging.Service.exe.config” file:
<callway url="CallWay_server_address" login="XXX" password="XXX" port="34600" restoreConnectionInterval="2000" />
See the list of configuration file parameters in the table below.
Parameter caption
Parameter function
url
CallWay server IP address parameter.
login
Integration protocol login and password.
password
port
Integration protocol port. By default, “34600.”
restoreConnectionInterval
The time interval to reconnect the integration messaging service to the CallWay phone integration server if a failure occurs. The value is specified in milliseconds and is “2000” - by default.
-
Test the phone integration.
Follow this instruction if you need to update the Creatio Messaging Service.
2. Set up the message exchange library
Message exchange library selection and setup is performed once by the system administrator.
-
Open the system designer by clicking in the top right corner of the application window.
-
Click “System settings” in the “System setup” block.
-
In the “Default messages exchange library” (“SysMsgLib” code) system setting, set the default value to “Telephony integration library based on Callway protocol.”
-
Specify the message service connection parameters. To do this, open the “Message exchange server” (“SysMsgServerNode” code) system setting. In the Default value field, specify the message exchange network address in the following format: “ws://0.0.0.0:2013” if your website is served over HTTP or “wss://0.0.0.0:2013” if your website is served over HTTPS, where:
-
“0.0.0.0” – IP address that your Creatio users use to access your message exchange server.
-
“2013” – the port used by default for connecting to the messaging service. You can change the port number in the “Terrasoft.Messaging.Service.exe.config” file.
noteIf your website is served over HTTPS and secure (WSS) connection is used for WebSockets, you will need to install a security certificate on the message exchange server and specify it in the configuration files of the message service. Learn more: Configure a WSS phone service connection.
-
-
Click Save.
3. Set up the CallWay parameters
These settings must be applied for each Creatio user who received CallWay integration license. Use the user login credentials to access the system.
-
Open the user profile page by clicking the Profile image button on the main page of the application.
-
Click the Call Center parameters setup button.
-
On the opened page, fill out the required values:
- Disable Call Center integration – this checkbox allows you to disable Creatio integration with the phone service. The call button will not be displayed on the communication panel of the application.
- Agent internal number – CallWay user phone number.
- Routing rule – specify the routing rule if it is required for the CallWay configured server.
- Use CallWay client – select the checkbox if an employee uses CallWay internal client. While using the CallWay internal client, the answer button in the application becomes available.
- Enable debugging – this checkbox allows you to display troubleshooting information within the browser console. This troubleshooting information can be used when the phone integration runs into problems and the customer addresses the service team.
-
Click Save.
-
Refresh the browser page to apply the changes.
See also
Set up integration with Asterisk