KamoCRM

Resolve member→extension before VM/CDR provider lookup

FixVOIPService
Shipped
28 ஏப்ரல், 2026 அன்று 4:44 AM UTC
Author
Kamo
Commit
9ede31b

CallController was passing memberId where FreePBX (and other PBX-style providers) expect an extension number — voicemail listing returned empty because no PBX extension matches a kamo memberId. Resolve PhoneExtension by (instanceId, memberId) up front and pass extension.extensionNumber to the provider; if the member has no assigned extension, return [] instead of round-tripping the provider with garbage. FreePBXProvider.getCallHistory now filters fetchAllCdrs to rows where the caller's extension is the source or destination, infers inbound/outbound requested page.

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