hn.today

Rvoip 0.5 the complete VoIP stack in Rust

github.com162 points38 comments
Screenshot of Rvoip 0.5 the complete VoIP stack in Rust

Rvoip is an open-source Rust library for building telephony and real-time communication applications, not a standalone server. Its 47-crate workspace packages SIP signaling, RTP media, codecs, NAT traversal, security, WebRTC, and newer transports under a shared call model, so applications need not install and connect separate SIP, media, or RTP servers. Most SIP projects can depend only on rvoip-sip; the broader rvoip facade adds an orchestrator and optional transports and integrations. The documented use cases range from softphones, PBXs, registrars, IVRs, and call gateways to browser-connected services and voice-AI agents. Examples progress from a local call to PBX registration, media, transfers, secure calls, and AI gateways.

The README reports historical 0.5.0 benchmark results on a 16-vCPU AWS instance: about 8,300 call attempts per second for SIP signaling over TLS or UDP, and roughly 1,100-1,200 per second for G.711 calls with media; measured setup latency at 90% load was 1-6 ms where reported. These are endpoint results, with media passed through rather than transcoded - not measurements of a two-leg relay, long-call capacity, registrations, WebRTC, or failover. The project says it handles overload with fast 503 responses and recovers when load falls. It also describes release-gated interoperability testing with Asterisk, FreeSWITCH, Jambonz, Kamailio, and OpenSIPS, and provides a migration guide for users upgrading from version 0.3.

Read on github.com38 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.