Comment on page
Itgrix for Kommo and Asterisk
The module consists of two parts: an application installed on the Kommo portal and a server application.
The installation should be done under an account with Administrator rights.
To ensure the proper functioning of the application, it is necessary to install the application in Kommo.
Go to the Settings section.
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** where company.kommo.com is the name of your Kommo.


Install widget
Agree to the transfer of data and install the application.
Select: Use our 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
Be sure to save your data.

Important: If you are not using an external c2c server, then you need to specify the external address of your network and forward port 8077 to the server where the server part of the connector is installed.
When using our c2c server, our address https://apix.itgrix.ru must be available on the server with the module.
Use the automatic script to install.
Download the script from the link
wget https://itgrix.ru/download/autoinstaller_kmo.sh
Run the script
bash autoinstaller_kmo.sh
At the end of the installation, set login/password to enter the module's admin panel. In the future, this data can be changed at the end of the config file /etc/itgrix_kmo/config.json in the Webserver section.
If the systemctl service is installed in the operating system, then the module will start automatically, or we can start it manually:
service itgrix_kmo start
service itgrix_kmo status
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 wizard will find access to the database. The availability of tables CEL, CDR, and the latest entries in them will also be checked.


If the data is not found, it can be found as follows:
We look at the files: /etc/asterisk/res_odbc.conf or /etc/asterisk/res_odbc_additional.conf Find:
[asteriskcdrdb]
username=>freepbxuser
password=>mysqlsecret
You can create your user in MySQL. You will need permission 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 AMI.


If the module is not installed on the Asterisk server, then to create a user, you need to:
- 1.make changes to the /etc/asterisk/manager_custom.conf file (if not, edit the /etc/asterisk/manager.conf file):
[kmo]
secret = asterisksecret (specify your own)
deny = 0.0.0.0/0.0.0.0
permit = 127.0.0.1/255.255.255.0
read = cdr,reporting,originate
write = reporting,originate
- 2.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 the recording files. Usually they are located at
/var/spool/asterisk/monitor
Choose how the directory structure is organized. For FreePBX, by default, they are organized into Year/Month/Day subfolders.


Enter the portal address here by simply copying it from the address bar.
Click "Get Code".
In the window that opens, log in to your CRM and get a code.
Enter the received code in the field. Get verified.

Complete the setup by clicking the "Finish" button at the end of the page and automatically go to the Business Logic page


If all steps are completed successfully, complete the setup. 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 correspondence of numbers in telephony and users in CRM.
If one user has several internal numbers or redirection to a cell phone is configured, then for correct registration of calls to additional numbers, they must be registered in the admin panel or in the config:
"kommo": {
"users": {
"101": "user_id_1",
"102": "user_id_1",
"
14844731331": "user_id_1"
}
}
To save the settings, click the “Save” button on each modified page.
Installation completed!
Last modified 2mo ago