Architecture

Independent signaling, media, control, and operations domains.

TrApp is built to scale communications and field operations without collapsing into a single tightly coupled stack.

Voice Core

  • Kamailio for SIP edge, registration, routing, and policy
  • FreeSWITCH for queues, IVR, voicemail, conferencing, and recording
  • RTPengine for media relay, NAT traversal, and WebRTC interop

Platform Services

  • NestJS service domains
  • PostgreSQL and Prisma
  • Redis for selected fast-path coordination
  • MinIO for recordings and operational files

Event Backbone

  • NATS for call, dispatch, GPS, AI, and audit events
  • Replayable streams for analytics and projection rebuilds
  • Low-latency state propagation for wallboards and control rooms

Client stack

Next.js, TypeScript, Tailwind, and shadcn/ui for web. React Native and Expo for mobile field workflows.

Runtime stack

Kubernetes, Helm, ArgoCD, GitHub Actions, Prometheus, Grafana, Loki, and OpenTelemetry.