The developers implemented an on-premise voice-to-text system for their CRM to process customer voice messages without using external cloud APIs. The solution runs on a dedicated server in Russia with two CPU cores and no GPU, ensuring data privacy by avoiding file storage.

The system uses the faster-whisper model with int8 quantization and a beam size of 1. To handle various audio formats like ogg, m4a, and mp3, the team integrated ffmpeg for audio decoding, converting files into a raw 16 kHz mono float32 format before processing.

The recognition script operates via stdin and stdout, processing a 35-second audio clip in approximately 9 seconds. The CRM triggers the process via SSH, and a cron job limits the workload to five messages per batch to prevent server overload.

The system scans for unprocessed voice messages from the last two days. If a message fails to process due to broken links or corrupted files, the system stops after three attempts. The transcribed text appears in the CRM interface within one minute of receipt.