The phone is in the browser
The call-centre CRM is a Laravel 13 desk for agents, queues, campaigns, and leads, with wallboard reporting. The softphone is JsSIP in the browser: connect, preview dial, and the agent route updating while the call is up. Agents should not need a separate hard phone application to do the job the CRM already assigned them.
The PBX layer is driver-based. FreeSWITCH is the default; FreePBX via AMI is the other. A `pbx:doctor` health check and `pbx-workers.sh` background workers exist because a CRM that thinks it is dialing, while the switch has a dead gateway, is worse than a CRM with no dialer.
Voice agent, kept optional
Predictive campaigns can use a Node bridge with Vosk speech-to-text. That piece is phase two on purpose. The agent desk, the queue, and the lead record have to be solid before a voice agent is allowed to talk to a customer. The bridge is optional so a site can run the human desk without standing up STT.
The UI is Inertia and React with TypeScript, on PostgreSQL and Vite 7. Forty-one PHPUnit tests sit next to a written set of about 150 manual QA cases. GitHub Actions typechecks the front end. Deploy is an SSH pipeline for dev and production, which matches how these PBX boxes are usually reached.
What usually breaks, and where I put the checks
Call-centre projects fail at the seam: the browser registers, the switch does not, or the switch rings and the CRM never writes the disposition. Health checks and workers are the seam. They are not polish added after the first demo.
Preview dial matters more than a fancy wallboard. An agent who can see the lead, hear the call, and save the outcome in one desk will use the system. An agent who alt-tabs between a softphone and a spreadsheet will not, and the wallboard will then report fiction.
In production
Agents work from in-browser softphones with preview dial and real-time desk routes. PBX health checks, background workers, and a driver layer support FreeSWITCH or FreePBX with optional Vosk STT for predictive campaigns.
What shipped
- PBX health checks (`pbx:doctor`), background workers (`pbx-workers.sh`), and 41 PHPUnit tests with ~150 manual QA cases documented
- In-browser softphone with connect, preview dial, and real-time agent desk routes
- GitHub Actions CI with typecheck; SSH deploy pipeline for dev and production