Deploy Now

SaaS Alternative

Twilio Vonage Telnyx Plivo

Stars

1,732

Forks

187

Watchers

37

Developer links

Routr

Routr is a programmable SIP server that proxies, registers, and routes calls for carriers and communication platforms, replacing racks of inherited PBX plumbing with one cloud-ready process. Phones and trunks connect over UDP, TCP, TLS, WebSocket, or secure WebSocket, register against the built-in registrar, and find each other through the location service backed by memory, Redis, or Postgres. Routing is configurable per domain with intra-domain, ingress, egress, and peer-egress strategies, and multi-tenant domains carry their own access control lists. Load balancing with session affinity spreads calls across Asterisk and FreeSWITCH media servers, and RTPEngine middleware anchors media and adds SDES-SRTP toward TLS trunks. Web phones authenticate with JWT endpoint credentials, and every call message can be recorded and replayed for debugging. Operators manage the whole system through a gRPC API, the Node.js SDK, or the rctl command-line tool, and custom Processors and Middleware written in JavaScript reshape SIP messages as they pass. OpenTelemetry traces, metrics, and logs expose the server's behaviour in production, and the same deployment runs from a single Docker container to a Kubernetes cluster through the published Helm charts. There is no single point of failure in the design, so a registrar outage never takes the dial tone with it. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

Routr
Routr
Routr
Routr
Routr

Benefits

  • Proxy, registrar, location in one
  • One process answers registrations, tracks where every endpoint lives, and proxies calls onward, removing the separate registrar and proxy tiers traditional SIP stacks operate.
  • Routing rules per domain
  • Intra-domain, ingress, egress, and peer-egress strategies with domain-level access control lists let one server host many tenants without their traffic ever mixing.
  • Programmable message pipeline
  • Custom Processors hold feature logic and Middleware handles authentication, authorization, and rate limiting, all in JavaScript, so call behaviour changes without forking the server.
  • Observable from day one
  • OpenTelemetry traces, metrics, and logs plus call message recording and replay show exactly what the server decided on every call when something sounds wrong.

Features

  • Five SIP transports
  • Accepts SIP over UDP, TCP, TLS, WebSocket, and secure WebSocket, with JWT endpoint authentication for web phones and SDES-SRTP media toward TLS trunks through RTPEngine.
  • Pluggable location service
  • Tracks registrations in memory for small installs or in Redis and Postgres for clustered ones, with JSON and YAML files available as simple data sources.
  • Media server load balancing
  • Balances calls across Asterisk and FreeSWITCH media servers with configurable strategies and session affinity, behind a design with no single point of failure.
  • gRPC API and tooling
  • Exposes full server management through a gRPC API, the @routr/sdk Node.js library, and the rctl command-line tool for domains, numbers, peers, and credentials.
  • Docker and Kubernetes deployment
  • Ships as a single fonoster/routr-one Docker image for Compose and as Helm charts for Kubernetes, scaling from one container to a clustered carrier deployment.

Apps Similar to Routr