CodetoKloudCodetoKloudBook an AWS review

Scalable VoIP and AI Call Protection on Kubernetes

FusionPBX, persistent call data, and real-time scam detection were brought together on one observable platform.

Kubernetes Platform Engineering
VoIP Infrastructure
Monitoring and Observability
VoIP platform architecture with FusionPBX and PostgreSQL on Kubernetes, Python call verification, Rancher management, and Prometheus, Grafana, and Loki observability

Problem Statement

A VoIP platform team needed to scale FusionPBX while adding real-time call verification and scam detection. The workload combined stateful communications data, a Python voice service, and strict reliability requirements, so the team also needed consistent cluster management and a clear view of metrics, dashboards, and logs.

CLIENT

VoIP platform team

PROJECT SCHEDULE

Aug 2024 to Dec 2024

PROJECT SIZE

$50,000 to $199,999

Proposed Solution

Containerized FusionPBX

FusionPBX was deployed on Kubernetes in a DigitalOcean cluster, with Rancher providing centralized cluster management.

Persistent call data

PostgreSQL ran as a StatefulSet so the communications workload retained durable data as application pods changed.

Real-time call verification

A Python voice service was integrated with the platform to verify calls and flag suspected scam activity in real time.

Metrics, dashboards, and logs

Prometheus, Grafana, and Loki provided a shared operational view for service health, performance, and troubleshooting.

Containerized CRM

Odoo CRM was deployed in containers alongside the communications platform to keep deployment and operations consistent.

The resulting platform separated the call path, persistent data, management, and observability concerns. That made scaling and troubleshooting more predictable as call volume changed.

Core tech stack we work with

Leveraging the Leading Programming Languages and Frameworks to Deliver Reliable, Scalable Solutions.

DigitalOcean
Kubernetes
Python
Prometheus
Grafana

Outcomes & Success Metrics

Measurable improvements in performance, reliability, scalability, and cost.

Release Cycles

50% faster release cycles due to CI/CD automation

Issue Resolution

40% faster issue resolution with monitoring tools

Security

Improved security and high availability

Cost Efficiency

Cost-efficiency and scalability aligned with future business growth

Lessons Learned
This project showed that a stateful VoIP workload needs deliberate capacity planning, persistent data design, and end-to-end observability. The call verification service also required realistic integration testing before it could operate safely in the live request path.

Building a stateful Kubernetes platform?

We can review workload state, scaling constraints, integrations, and observability before they become production bottlenecks.

Review my platform architecture