KamoCRM

The phone badge counts voicemails in your own mailbox, not the whole phone server

FixVOIPService
Shipped
October 5, 2026 at 8:48 PM UTC
Author
Kamo
Commit
67b4553

The nav phone icon's voicemail line counted every unread message on the member's phone server **************** on the premise that the softphone's Voicemail tab lists the whole instance. It does not: the tab is CallController#getVoicemails, which asks the provider for the mailbox of MemberVoipConfig.extension only. The instance-wide list (VoipVoicemailController.list) is Settings'. So on K1M1 all 24 members wore the same 7 — 3 in Briana's mailbox (8912), 3 on the KamoCRM Main Line shared box (8100, discovered by yesterday's sync) and 1 in Sage's (8080) — and opening the tab could never clear a number made of messages it does not show. Now: unheard, unarchived rows filed under the member's own extension (matched by provider id, then by number). K1M1 after: Sage 1, Briana 3, everyone else 0. Tests: **************** — the regression (RED: voicemails=12, the instance, where the caller's mailbox holds 5), the by-number fallback, no extension, unlisted extension; 9/9. Full suite 930/931; the one failure, **************** fails identically on origin/main (a828dc2 added com.kamo.VOIPService.voicemail to the scan, not to the probe).

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