KamoCRM

One recording subroutine; file names keep the call's UNIQUEID; AMI reads call events

Fixkamo-asterisk-support
Shipped
September 27, 2026 at 10:01 AM UTC
Author
Kamo
Commit
aa1fc39

[kamo-record] now does the recording for every path: the trunk and voicemail predial hooks here call it, and so will the attendant, direct, agent, internal and AI contexts in the FreePBX dial plan. KAMO_REC_ON stops a channel that passes two hooks from being recorded twice, and the inherited KAMO_REC_BASE names every leg after the first channel's UNIQUEID (the CDR row). CHANNEL(name) carries a '/', so the raw name made MixMonitor create a sub-directory per call and the uploader fell back to the basename as the id; the '/' is now '_', and files still in the old sub-directory layout upload with their real UNIQUEID. The AMI user gains read class 'call' (read-only) so the event listener's DialBegin/DialEnd actually arrive and a ringing extension reaches the mobile. configurator_test.go carries the two tests for this change; Task 26 appends the managed-section coexistence test (ruling SP13-T25).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing