Call recording API

Status
Not open for further replies.

skytrack

Customer
Basic Certified
Joined
Dec 24, 2020
Messages
8
Reaction score
0
Hello folks,

Is there an API in place where we can define where the call recordings of the 3CX system are stored?
Our goal is to directly inject the recordings (not just the call logs) into our CRM system.


By now we follow this method:

1) 3CX backups recordings on external FTP daily
2) A program runs daily from our CRM that checks the existing recordings on the FTP,
The program selects the current day recordings and imports those while matching them with the call logs into our CRM

Is there an API in place to implement a direct call recording transfer between 3CX and our CRM?

Thank you in advance
 
There is a setting in 3CX to specify where 3CX saves recordings. The assumption is that the location is on a local disk visible to the 3CX server. In addition to local disks, in Windows, you can use a symbolic link to make a remote disk appear to be local. This is probably also possible in Linux, but I've not tried that. An iSCSI SAN is also an option.

There are no APIs for handling recording files, however, you could get your process working in real-time with the following approach:

Write a service that performs the following:
  1. Filesystemwatcher that detects when a new recording file is created (note the disk must be local to the watcher)
  2. Parse the recording file name to get the extension number, date/time, and call ID
  3. Compare the time of the call and the Call ID to match the call to the recording
  4. Upload the recording to your CRM, or a link to the recording
We do very similar things with our 3CX Recording Manager and 3CX Voicemail Manager tools.
 
Last edited:
You can also use the archive feature of recordings to daily store them to a FTP/SFTP/SMB and grab them from there.
 
  • Like
Reactions: VoIPTools
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,083
Members
164,900
Latest member
Silent_Guru