百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rustpbx

> AI 编程
开源

由 Rust 编写的 PBX

735 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

由 Rust 编写的 PBX

RustPBX

一款高性能、基于软件定义的 PBX,搭载 Rust。 所有呼叫控制都通过 HTTP/WebSocket/Webhook 进行外部化 — 任何语言都可以编程路由、媒体控制和事件。不需要 C 模块,也不需要重新编译。 GitHub | 网站

快速入门

选项 1: Docker (推荐)

bash
mkdir -p rustpbx && cd rustpbx
curl -O https://raw.githubusercontent.com/restsend/rustpbx/main/config.toml.example

docker run -d --name rustpbx --net host \
  -v $(pwd)/config.toml.example:/app/config.toml \
  ghcr.io/restsend/rustpbx:latest --conf /app/config.toml

# Create the admin account (first time only)
docker exec rustpbx /app/rustpbx --conf /app/config.toml \
  --super-username admin --super-password changeme

选项 2: 从源码构建

bash
git clone --recurse-submodules https://github.com/restsend/rustpbx
cd rustpbx
cargo run --release -- --conf config.toml.example

为 Windows 64 位系统进行交叉编译 (从 Linux/macOS):

bash
rustup target add x86_64-pc-windows-gnu
cargo build --release --target x86_64-pc-windows-gnu
# output: target/x86_64-pc-windows-gnu/release/rustpbx.exe

就是这样 — 示例配置在出厂时就启动了完整的 PBX:

访问 值
Web 控制台 http://localhost:8080/console/
SIP 代理 udp://localhost:15060
测试扩展 bob / alice, 密码 123456

没有任何配置吗? cargo run --release 也可以使用 – 内置默认值: HTTP 0.0.0.0:8080, SQLite, SIP UDP 5060。

[proxy] [console]

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustfreeswitchpbxsipsip-proxy

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.