MCPSERV.CLUB
Routr

Routr

Self-Hosted

Cloud‑native SIP proxy, registrar and location server

Active(75)
1.6kstars
1views
Updated Sep 24, 2025

Overview

Discover what makes Routr powerful

Routr is a cloud‑native, lightweight SIP proxy, registrar and location server designed for developers who need a programmable, scalable VoIP backbone. It exposes its core logic through a RESTful API and an optional CLI, while also offering a web‑based GUI for quick diagnostics. The platform is built to run seamlessly in containerised environments—Docker, Docker‑Compose, and Kubernetes—with minimal operational overhead.

Programmable routing

Location service

Registrar

TLS & DTLS support

Overview

Routr is a cloud‑native, lightweight SIP proxy, registrar and location server designed for developers who need a programmable, scalable VoIP backbone. It exposes its core logic through a RESTful API and an optional CLI, while also offering a web‑based GUI for quick diagnostics. The platform is built to run seamlessly in containerised environments—Docker, Docker‑Compose, and Kubernetes—with minimal operational overhead.

Key Features

  • Programmable routing – Define SIP routing logic in JSON/YAML or via the Node SDK, allowing dynamic call flows without recompiling the server.
  • Location service – Keeps an up‑to‑date SIP URI to endpoint mapping, essential for carrier‑grade routing.
  • Registrar – Handles SIP REGISTER/UNREGISTER flows, persisting registrations in a PostgreSQL backend.
  • TLS & DTLS support – End‑to‑end encryption for SIP signalling and media, configurable through the API.
  • Webhooks & middleware – Trigger external services on SIP events or inject custom logic through Go‑based processors.

Technical Stack

LayerTechnology
Core engineGo (Golang) – lightweight, compiled binaries with excellent concurrency support.
API & CLIGin (HTTP router) + Cobra for command line parsing.
Data persistencePostgreSQL (primary store), optional Redis cache for registration lookups.
Container runtimeDocker images built with multi‑stage builds; Helm charts available for Kubernetes.
SDKsNode.js SDK (first‑class), with future plans for Python/Java clients.
ObservabilityPrometheus metrics, OpenTelemetry tracing, and structured logging (Zap).

The architecture follows a micro‑service‑friendly model: the SIP proxy runs in its own pod, while database and optional cache services can be scaled independently. Routr’s stateless proxy logic allows horizontal scaling behind a Kubernetes Service or an external load balancer.

Core Capabilities & APIs

  • REST API – CRUD endpoints for registration, routing rules, and TLS certificates.
  • WebSocket control plane – Real‑time status updates for active calls and registrations.
  • SDK hooksbeforeRoute, afterRegister, etc., letting developers inject business logic in Go or Node.
  • Event webhooks – Post call‑leg, registration, and error events to external endpoints.
  • Configuration via YAML – Runtime reloading of routing tables and TLS settings without restarting the proxy.

These interfaces enable tight integration with existing billing, monitoring, or CRM systems. For example, a Node service can listen to the afterRegister hook and automatically provision a SIP trunk in a third‑party provider.

Deployment & Infrastructure

Routr ships with:

  • Docker images – Pullable from Docker Hub; ready for docker run or Compose.
  • Helm chart – Full Kubernetes deployment with customizable values (e.g., replica count, persistence).
  • Gitpod dev environment – Instant local development with hot‑reload.

The server is intentionally lightweight (<50 MB) and stateless, making it ideal for autoscaling in cloud environments. Persistent data (registrations, routing tables) resides in PostgreSQL; the chart can mount a PVC or use a managed database.

Integration & Extensibility

  • Plugin system – Write custom processors in Go; the compiler loads them at runtime.
  • Middleware chain – Ordered execution of processors, enabling request/response manipulation.
  • Webhooks – JSON payloads sent to user‑defined URLs, facilitating event‑driven architectures.
  • SDK extensibility – The Node SDK exposes low‑level API wrappers, so developers can build bespoke tooling or UI dashboards.

These hooks make Routr a flexible foundation for building carrier‑grade VoIP services, conference bridges, or even programmable chatbots that rely on SIP.

Developer Experience

  • Documentation – Comprehensive handbook at https://routr.io/docs, covering API reference, SDK guides, and deployment tutorials.
  • CLIroutrctl for remote server management (e.g., reload config, view stats).
  • Community – Active GitHub Discussions and Discord channel for quick support.
  • Licensing – Apache 2.0, allowing commercial use without royalties.

The combination of a concise API surface, clear SDK examples, and container‑first packaging lowers the barrier to entry for developers familiar with Go or Node.

Use Cases

ScenarioWhy Routr?
Telecom carrierScalable SIP infrastructure with programmable routing and registration.
SaaS communication platformQuick deployment via Helm; expose APIs to customers for custom call flows.
Enterprise PBXReplace legacy Asterisk with a lightweight, Kubernetes‑ready alternative.
IoT device communicationTLS/DTLS support and low resource footprint suit edge deployments.

Routr’s design targets developers who need a modern, cloud‑native SIP stack that can be integrated into existing DevOps pipelines and scaled automatically.

Advantages Over Alternatives

  • Performance – Go’s goroutines provide low‑latency SIP processing compared to interpreted servers.
  • Simplicity – Single binary, minimal dependencies; no need for complex configuration files.
  • Container‑first – Native Helm charts and Docker Compose simplify CI/CD pipelines.
  • Open source & permissive license – No hidden costs, full control over the codebase.
  • Extensible architecture

Open SourceReady to get started?

Join the community and start self-hosting Routr today

Weekly Views

Loading...
Support Us

Featured Project

$30/month

Get maximum visibility with featured placement and special badges

Repository Health

Loading health data...

Information

Category
apis-services
License
MIT
Stars
1.6k
Technical Specs
Pricing
Open Source
Docker
Official
Supported OS
LinuxDocker
Author
fonoster
fonoster
Last Updated
Sep 24, 2025