Itgrix for Kommo and Asterisk
Last updated
Last updated
The integration module has two components: a CRM application installed on the Kommo portal and a server-side application for Asterisk server.
The installation should be done using an account with Administrator rights.
This step is mandatory for the proper functioning of the application.
Go to the Settings section in Kommo.
In the search bar, type in "Itgrix" or "Asterisk". Select the application "Asterisk connector Itgrix".
Alternatively, use this link: https://company.kommo.com/settings/widgets#amo_itgrix and replace "company.kommo.com" with the name of your Kommo account.
Accept the Privacy Policy and install the application.
Select "Use Click-to-Call server", or specify the IP address of the server with the module in order to receive click-to-call requests from CRM.
Choose whether to show the call card. see description
To enable the call card, you need to tick the "Show call card" checkbox in the widget settings, configure and enable users to connect to the integration module using the WSS protocol.
Remember to save your changes before closing the widget settings page.
Important: If you opt out of using the Click-to-Call server, you need to specify the external address of your network and forward port 8077 to the server where the server-side part of the connector is installed.
When using the C2C server, its address https://apix.itgrix.ru must be accessible from the server with the module.
Use the automatic installation script.
Download the script from the link:
Run the script
At the conclusion of the installation, set login/password to enter the module's admin panel. In the future, these credentials can be changed at the bottom of the config file at /etc/itgrix_kmo/config.json in the "server" section.
If the systemctl service is installed in the operating system, then the module will start automatically, or it can started manually using the following commands:
We recommend further configuration through the configuration wizard in the Admin panel of the module (the web interface is available at http://<Asterisk IP>:8077/config/master
).
The setup wizard will automatically configure access to the Asterisk database. The availability of tables CEL, CDR, and the latest entries in them will also be checked.
If the database connection credentials were not found automatically, they can be found as follows:
In the files /etc/asterisk/res_odbc.conf or /etc/asterisk/res_odbc_additional.conf find a block:
You can also create a separate user in MySQL with permissions to read tables with CDR and CEL data.
Select an existing user or create a new one on behalf of which the module will send commands to the Asterisk AMI interface.
If the module is not hosted directly on the Asterisk server, then you need to create a user manually:
make changes to the /etc/asterisk/manager_custom.conf file (if not present, edit the /etc/asterisk/manager.conf file instead):
After adding a new user, you need to reload Asterisk to load new data with the command asterisk -rx 'manager reload'
Specify the path to call recording files. Usually they are located at
/var/spool/asterisk/monitor
Choose how the directory structure is organized. For FreePBX, by default, directories are organized into Year/Month/Day subfolders.
Enter the portal address here by simply copying it from the address bar.
Click "Authenticate".
In the window that opens, log in to your CRM and confirm access permissions.
If any network connectivity issues prevent the authentication procedure from completing normally, you may be given an authenticaction code. Copy this code into the field in the admin panel and confirm.
Complete the setup by clicking the "Finish" button at the end of the page and you will be automatically taken to the Business Logic page.
If all previous steps are completed successfully, you will be redirected to the Business Logic settings section:
http://<Asterisk IP>:8077/config/business_logic
,
where <Asterisk IP> is the address of the Asterisk server on which the integration module is installed.
Set up the logic of the connector.
Be sure to specify the mapping of the internal numbers from telephony to users in CRM.
If a user has multiple internal numbers or has configured call redirection to a cell phone, to ensure correct logging of calls to additional numbers, all their phone numbers must be added in the admin panel or the settings config file:
To save the settings, click the “Save” button at the bottom of each modified page.
Installation completed!