Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A PBX written by rust
| Date | Stars |
|---|---|
| 2026-07-24 | 731 |
| 2026-07-25 | 731 |
| 2026-07-28 | 731 |
| 2026-07-30 | 733 |
| 2026-08-06 | 733 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
45.0
growth rate 0.00%/day
# RustPBX

  
**A high-performance, software-defined PBX built in Rust** — the AI-native communication platform for next-gen contact centers.
RustPBX externalizes all call control via **HTTP/WebSocket/Webhook**. Route decisions, media control, and event streams are fully programmable in any language.
> Voice Agent functionality has moved to [Active Call](https://github.com/restsend/active-call). This repo focuses on SIP Proxy & PBX.
**[GitHub](https://github.com/restsend/rustpbx)** | **[Website](https://miuda.ai)**
---
## Quick Start
Run RustPBX with minimal config in 2 commands:
**Minimal `config.toml`**:
```toml
http_addr = "0.0.0.0:8080"
database_url = "sqlite://rustpbx.sqlite3"
[proxy]
addr = "0.0.0.0"
udp_port = 5060
modules = ["auth", "registrar", "call"]
[[proxy.user_backends]]
type = "memory"
users = [{ username = "1001", password = "password" }]
[console]
base_path = "/console"
allow_registration = false
```
```bash
docker run -d --name rustpbx --net host \
-v $(pwd)/config.toml:/app/config.toml \
ghcr.io/restsend/rustpbx:latest --conf /app/config.toml
# Create admin
docker exec rustpbx /app/rustpbx --conf /app/config.toml \
--super-username admin --super-password changeme
```
| Access | URL |
|--------|-----|
| Web Console | `http://localhost:8080/console/` |
| SIP Proxy | `udp://localhost:5060` |
| Register SIP phone as | `1001` / `password` |
> **Commerce image** (includes Wholesale + all plugins): `docker pull docker.cnb.cool/miuda.ai/rustpbx:latest`
---
## Why RustPBX?
| Software-Defined | AI-Native | High Performance |
|---|---|---|
| Every INVITE calls your **HTTP webhook**. Return JSON routing decisions. No recompilation needed. | AI agents are **native participants** — listen, speak, barge, transfer via WebSocket. | 5000 concurrent calls with RTP proxy: **~3.8 cores, 0% loss**. Linear scaling — 16 cores → ~16000+. |
---
## Core Capabilities
**SIP & Media** — Full SIP stack (UDP/TCP/WS/TLS/WebRTC), RTP relay, NAT traversal, TLS/SRTP with auto ACME certs. Fast registration via JWT or HTTP token (skip 401/407).
**Routing & Control** — HTTP Router (dynamic routing decisions), RWI WebSocket Interface (real-time call control), Queue/ACD (sequential or parallel agent ringing).
**Recording & Analytics** — SipFlow unified SIP+RTP capture, post-call transcript via local SenseVoice (offline), CDR webhooks.
**Operations** — Built-in Web Console, WebRTC Phone, RBAC, Prometheus metrics + OpenTelemetry.
---
## Programmable Interfaces
RustPBX exposes all call logic through standard protocols — no C modules, no recompilation.
### HTTP Router
Every incoming INVITE calls your webhook. Return JSON to decide routing.
```toml
[proxy.http_router]
url = "https://your-api.com/route"
timeout_ms = 3000
```
```json
// POST to your webhook: { "call_id": "abc-123", "from": "sip:+861390000@trunk", "to": "sip:400800" }
// Your response: { "action": "forward", "targets": ["sip:ai-agent@internal"], "record": true }
```
Actions: `forward` · `reject` · `abort` · `spam`
### RWI (Real-time WebSocket Interface)
JSON-over-WebSocket for in-call control:
| Category | Commands |
|---|---|
| Call Control | `originate`, `answer`, `hangup`, `bridge`, `transfer`, `hold` |
| Media | `play`, `stop`, `stream_start`, `inject_start` (PCM) |
| Recording | `record.start`, `pause`, `resume`, `stop` |
| Queue | `enqueue`, `dequeue`, `assign_agent`, `requeue` |
| Supervisor | `listen`, `whisper`, `barge`, `takeover` |
| Conference | `create`, `add`, `remove`, `mute`, `destroy` |
See [API Integration Guide](docs/api_integration_guide.md) and [RWI Protocol](docs/rwi.md).
---
## Editions
| | Community | Commerce |
|---|---|---|
Excerpt of 9,130 characters
Read on GitHub1.2k
326
5
3
2
2
2
2
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:deb9d6caccaa8600, topic:voice-assistant, readme:voice agent