LogoLogo
  • What is Itgrix
  • Contacts
  • Our story
  • Connector installation
    • System requirements
    • Itgrix for Bitrix24 and Asterisk
      • How to perform offline authorization
      • How to obtain a license offline
      • Configuring the connector to work in a closed network
      • Call tests
    • Itgrix for Kommo and Asterisk
      • Restricted mode setting features
      • Call card
      • Call tests
  • Additional functions
    • Automatic call transfer to responsible manager
    • Setting up click-to-call features
      • Features of customization after Bitrix24 23.300.0 update
    • Autoreplacement for phone numbers
    • How to view employee call statistics in Bx24
    • FMC number recognition
    • Configuring WebRTC in Asterisk (FreePBX)
    • Itgrix AsterPhone for Bitrix24
    • Itgrix AsterPhone for Kommo
  • For admins
    • Running an additional copy of the module
    • Deploying a module backup
    • Call processing for the period
    • Examples of the structure of registered calls from CEL
    • Wrong time in created cases in Bitrix24
    • SSH access
    • Useful commands
    • Script to test the module service
    • Changing login and password to enter the admin panel
    • Module files
    • Status monitoring
    • Application update
    • In the CEL table, there is no internal employee number in the cid_num column
    • How to fix click-to-call
    • Custom SSL certificates for https requests
    • Examples of configuring WSS connections
    • Converting recordings to MP3 before sending to Bitrix24
    • How to fix call recording problems
    • Install and configure CEL
    • B24 authorization bugfix
  • Useful customizations (any CRM)
    • Audio file name customization
    • Call data (call_full) in customizations
    • Change the number / context for calling to asterisk
    • Change phone number before sending data to CRM
    • Black and white lists
  • Useful customizations itgrix_bx (Bitrix24)
  • Useful customizations itgrix_kmo (Kommo)
  • FAQ
    • How to pay
    • How to check licence status
    • Differences in connection to B24 via SIP-connector and Itgrix
    • How to turn off the display of calls in the calendar
    • How to view statistics on employee calls
    • Updating the app
    • Offline install (only for Bitrix24)
    • Offline update
    • Reliable softphones for Asterisk
    • Detail-call-statuses
  • Changelog Itgrix_bx
  • Changelog Itgrix_kommo
  • Policy of interaction with Asterisk
Powered by GitBook
On this page
  • 1. Is recording in Asterisk included?
  • 2. Does the link work in the browser?
  • 3. Does the link work on the server?
  • 4. Check the path to the recording on the server Asterisk
  • 5. Check the request and response in the module log
  • 6. Check that in the CDR

Was this helpful?

  1. For admins

How to fix call recording problems

PreviousConverting recordings to MP3 before sending to Bitrix24NextInstall and configure CEL

Last updated 3 years ago

Was this helpful?

If you don't want to go into details, contact us. We will quickly help you and answer all questions! in any convenient way.

A working call recording looks like this:

  1. If the option to upload records of calls to the portal is enabled, then an mp3 file is attached to the case (call).

2. If the option to leave notes on the server is enabled, then when you open a case (call), in the description after the words “Call duration” appears the player and the link “Download record”.

If the record is not played or downloaded, then we follow these steps in sequence.

1. Is recording in Asterisk included?

Check if conversation recording is enabled for all used contexts in Asterisk.

2. Does the link work in the browser?

Copy the link to download the record and execute it in the browser. View link: http://ip:8077/get_conversation_recording?Id=1542785260.1998&from=89222222222&to=101

If you received a record, then everything is fine with the link, and the record is not played out of problems with the player in the browser on the Bitrix page. We recommend trying to play in several different browsers. If the answer is Not found - test the link in the console on the server.

If the first option is enabled, when the records are uploaded to Bitrix24, then check if lame is installed on the server that converts the Asterisk wav files to mp3 files necessary for Bitrix.

3. Does the link work on the server?

We execute the widget ‘link’ command in the server console where the module is located. If the record is received - the request is correct, the record is in the database, then there is a problem in the network - the request from Bitrix cannot reach the server. For example, port 8077 on the router is closed ... If the record is not received, then move on.

4. Check the path to the recording on the server Asterisk

By default, entries are stored in the directory /var/spool/asterisk/monitor/2018/... This directory should be written in the config, Asterisk section, Path to the files with the recordings of the recordings "recordings_dir": /var/spool/asterisk/monitor/

And also whether the option Files with records is correctly selected is stored in subdirectories according to the recording date "recordings_dir_subdirs_by_date": true. If these settings are correct, then check that the log and database are correct. In admin panel it looks like this

5. Check the request and response in the module log

If the path to the file is correct, then look in the log of the module /var/log/bx24asrerisk.log

When you click on the link “Download record” in the log, a request in cdr is marked to find the path to the recording by call parameters. Example:

select `cdr`.`recordingfile`, `cdr`.`calldate` from `cdr` where `cdr`.`uniqueid` = '1540542254.2969' and (`cdr`.`src` like '%3512777720' or `cdr`.`dst` like '%3512777720' or `cdr`.`src` like '%912' or `cdr`.`dst` like '%912' or `cdr`.`src` in (112233, 123456) or `cdr`.`dst` in (112233, 123456)) and `cdr`.`recordingfile` <> '' and `cdr`.`recordingfile` is not null limit 1

And the database response to this query: Result of record file path customization: [/var/spool/asterisk/monitor/..............]

If it is not possible to execute the query, “Could not find record by sql-query” will be indicated. If the request is correct, but its content is empty, then the response will be Empty set.

6. Check that in the CDR

You need to take this command and execute it in the mysql console or in the web version of the module admin panel on the log page (MySQL section).

Next, gradually remove the parameters in the request, until we find on which argument the error occurs.

The shortest request:

select * from `cdr` where `cdr`.`uniqueid` = '1540542254.2969' 

Must return a string to CDR on this call.

We check:

  • Is there a “recordingfile" column where the name of the recording file is written? If it is called differently, you can simply change it in the admin panel Settings / Database / Column names. If it is not, then you need to create and configure it to write the name of the recording file.

  • Does this column have entry names? If there are no names, then either the recording of conversations is not included, or during the conversation this field is not filled. This can be fixed by the telephony administrator.

  • Is there a caller’s number in the ‘cnum’ field? If it is empty, then dst can be used instead. Indicate this in the admin section Settings / Database / Column names "

Contact us