{"slug": "rvoip-0-5-the-complete-voip-stack-in-rust", "title": "Rvoip 0.5 the complete VoIP stack in Rust", "summary": "Rvoip 0.5, a Rust workspace of crates that bundles SIP, RTP, WebRTC, QUIC/WebTransport/WebSocket, Media over QUIC and voice-AI agents under one call model, was released at version 0.5.1 with no external SIP proxy, media server or RTP engine required. On a single AWS c8i.4xlarge (16 vCPU, Intel Xeon 6, 32 GiB) running one rvoip process, the project's RFC 7501/7502 benchmark measured 8,348 max calls per second for SIP over TLS signaling and 8,256 for SIP over UDP signaling, with p50 setup of 1 ms and p99 of 6 ms at 90% load, and 1,124 CPS for TLS + SRTP (SDES) G.711 calls at roughly 11,200 concurrent 10-second calls. The release-gated interoperability evidence covers Asterisk, FreeSWITCH, Jambonz, Kamailio and OpenSIPS, while B2BUA/relay mode, registrations, transcoding, WebRTC (DTLS-SRTP) and failover remain unmeasured.", "body_md": "**A Rust library for building communications applications. SIP, RTP, WebRTC, QUIC/WebTransport/WebSocket conversations, Media over QUIC, and voice-AI agents share one call model, and the whole stack is in the box: no external SIP server, media server, or RTP engine to install and wire together.**\n\n[**Five-minute start**](#five-minute-start) · [** For carriers**](https://github.com/eisenzopf/rvoip/blob/main/docs/CARRIERS.md) · [** Which crate?**](#you-need-one-crate) · [** Pick a path**](#pick-your-path) · [** How it fits together**](#how-it-fits-together) · [** What ships**](#what-ships-today) · [** Interop evidence**](#sip-interoperability-and-release-evidence) · [** Changes**](https://github.com/eisenzopf/rvoip/blob/main/CHANGELOG.md) · **Upgrading from 0.3**\n\nrvoip is a library, not a server you deploy next to your application. Signalling,\nmedia, codecs, NAT traversal, security, and the conversation model are all\nRust crates in this workspace, so a call goes from your code to the wire without\na separately installed SIP proxy, media server, or RTP engine. The examples\nbelow run on a laptop with nothing installed but Rust; the same crates carry\nthe release-gated interoperability evidence against Asterisk, FreeSWITCH,\nJambonz, Kamailio, and OpenSIPS. Carriers evaluating standards coverage,\nperformance, and reliability should start with [For carriers](https://github.com/eisenzopf/rvoip/blob/main/docs/CARRIERS.md).\n\nOne AWS c8i.4xlarge (16 vCPU, 8 cores, Intel Xeon 6, 32 GiB) running a single rvoip process, measured with the RFC 7501/7502 benchmark:\n\n| Workload | Max CPS | CPS per vCPU | Concurrent calls (10 s calls) | p50 setup at 90% load | p99 setup at 90% load | \n|---|---|---|---|---|---|\n| SIP over TLS, signaling only | 8,348 | ~520 | n/a | 1 ms | 6 ms | \n| SIP over UDP, signaling only | 8,256 | ~515 | n/a | 1 ms | 6 ms | \n| TLS + SRTP (SDES), G.711, 10 s calls | 1,124 | ~70 | ~11,200 | 1 ms | 4 ms | \n| UDP + RTP, G.711, 10 s calls | 1,204 | ~75 | ~12,000 | n/m | n/m | \n\nAt 2x capacity, rvoip keeps admitting calls at its max CPS, refuses the excess with fast 503 responses, and recovers cleanly once the load drops.\n\n- Max CPS (calls per second; RFC 7502's Session Establishment Rate) is the highest rate with zero failed calls over a trial of at least 180 s and 50,000 call attempts.\n- rvoip was measured as a terminating endpoint: it answers each call and echoes its media. A relaying B2BUA or SBC handles two call legs per session.\n- G.711 media is passed through; nothing is transcoded.\n- Concurrent calls is the CPS times the 10 s call length, not a measured maximum; long-call capacity, where most SBC datasheets quote their concurrency, has not been measured yet.\n- The server is a cloud VM, not an appliance.\n- p50 and p99 setup are the RFC 6076 session request delay measured at 90% of max CPS, recorded in whole milliseconds (so 1 ms means 1 ms or less); n/m = not measured.\n- The UDP + RTP max CPS was confirmed twice rather than three times.\n- The release check also passed at 5% above the TLS and UDP signaling max CPS, so those two figures may be slightly understated.\n- Not yet measured: B2BUA/relay mode (two legs per call), registrations, transcoding, WebRTC (DTLS-SRTP), and failover.\n\nFull method and per-trial data: [RFC 7501/7502 benchmark report](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/releases/qualification/20261124T012650Z-45304004340/rfc7502-ietf-report.md).\n\n**1. Add one dependency.**\n\n```\n[dependencies]\nrvoip-sip = \"0.5.1\"\ntokio = { version = \"1\", features = [\"full\"] }\n```\n\nUpgrading an existing application from 0.3? The\n[0.4 migration guide](https://github.com/eisenzopf/rvoip/blob/main/docs/MIGRATING_0.4.md) has before/after code for every\nbreaking change.\n\n**2. Make a call.** Bob answers, Alice dials, Alice hangs up. Everything runs\non loopback, so this works on a laptop with no PBX, no account, and no network\nsetup.\n\n```\nuse std::time::Duration;\nuse rvoip_sip::{Config, Endpoint, EndpointProfile};\n\n#[tokio::main]\nasync fn main() -> rvoip_sip::Result<()> {\n    let bob = tokio::spawn(async {\n        let mut bob = Endpoint::builder()\n            .name(\"bob\")\n            .profile(EndpointProfile::Custom(Config::local(\"bob\", 5071)))\n            .build()\n            .await?;\n        let incoming = bob.wait_for_incoming().await?;\n        let call = incoming.answer().await?;\n        call.wait_for_end(None).await?;\n        bob.shutdown().await\n    });\n\n    tokio::time::sleep(Duration::from_millis(300)).await;\n\n    let alice = Endpoint::builder()\n        .name(\"alice\")\n        .profile(EndpointProfile::Custom(Config::local(\"alice\", 5070)))\n        .build()\n        .await?;\n\n    let call = alice\n        .call_and_wait(\"sip:bob@127.0.0.1:5071\", Some(Duration::from_secs(10)))\n        .await?;\n    call.hangup_and_wait(Some(Duration::from_secs(5))).await?;\n    alice.shutdown().await?;\n    bob.await.unwrap()\n}\n```\n\n**3. Or run the same program from the checkout.**\n\n```\ngit clone https://github.com/eisenzopf/rvoip.git && cd rvoip\ncargo run -p rvoip-sip --example endpoint_local_call\n```\n\nFrom here, [`examples/`](https://github.com/eisenzopf/rvoip/blob/main/examples) walks forward one step at a time: real\nmicrophone audio, registering to a PBX, hold/DTMF, transfers, SRTP and TLS, an\nIVR, a B2BUA, then browser and voice-AI gateways.\n\nThe workspace contains 47 crates. You import **one** of them; it pulls in\neverything it needs. The rest are internal layers you never name in your own\n`Cargo.toml`.\n\n| You are building | Depend on | Enable | \n|---|---|---|\n| A SIP phone, PBX, IVR, registrar, proxy, B2BUA, or trunk gateway | [`rvoip-sip`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip) | nothing extra | \n| One server that takes SIP **and** browser (WebRTC) callers and connects them | [`rvoip`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip) | `features = [\"app\"]` | \n| A SIP or WebRTC caller talking to a hosted voice agent (Vapi) | [`rvoip`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip) | `features = [\"app\", \"vapi\"]` | \n| Your own ASR / TTS / dialog pipeline, with recordings and signed vCons | [`rvoip`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip) | `features = [\"voip-3\"]` | \n| A native, mobile, or embedded client SDK | [`rvoip-client`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip-client) | pick transports | \n| Amazon Connect A2A callers bridged to an external agent | [`rvoip-amazon-a2a`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-amazon-a2a) | — | \n| SIP calls delivered to Amazon Connect agents | [`rvoip-amazon-connect`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-amazon-connect) | — | \n| Media fan-out over Media over QUIC | [`rvoip-moq`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq/rvoip-moq) | — | \n\nTwo shortcuts:\n\n- **`rvoip-sip` is the release-gated product.** If your application is\ntelephony, start and stay there. It is the only crate with a signed\ninteroperability attestation (see[evidence](#sip-interoperability-and-release-evidence) ).\n- **`rvoip` is the facade.** It re-exports`rvoip-sip` as`rvoip::sip` and adds\nthe shared`Orchestrator` plus optional transports and extensions behind\nCargo features. Its[feature table](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip/README.md#cargo-features) and the[deployment bundles](https://github.com/eisenzopf/rvoip/blob/main/docs/FEATURE_BUNDLES.md) (`bundle-sip-endpoint` ,`bundle-carrier-sip` ,`bundle-browser-gateway` ,`bundle-ai-conversation` ,`bundle-full-pure-rust` ,`bundle-full-native` ) are the only feature lists you\nneed.\n\nDeployment backends (Keycloak, LDAP, Redis, Postgres vCon storage, audit and\nSIEM sinks, SAML, SCIM, WebAuthn, STIR/SHAKEN, IMS AKA) are separate\n`rvoip-*` extension crates you add only when you operate that backend. The\n[extension catalog](#extensions) lists them.\n\nFor JavaScript UCTP control, see the [experimental browser/Node WebSocket\nclient](https://github.com/eisenzopf/rvoip/blob/main/sdk/uctp-js/README.md). It is available as source with TypeScript\ndeclarations; the package is not yet published to npm. Application-profile\ndispatch is a separate opt-in server extension that stock servers do not enable.\n\nFour API surfaces, from simplest to most control. Most applications use the first one.\n\n| Surface | Use it when | Example | \n|---|---|---|\n| `Endpoint` | You want a softphone, an account that registers, or a scripted caller/callee | [`01-quickstart-p2p`](https://github.com/eisenzopf/rvoip/blob/main/examples/01-quickstart-p2p) ,[` 02-softphone-audio`](https://github.com/eisenzopf/rvoip/blob/main/examples/02-softphone-audio) ,[` 03-register-to-pbx`](https://github.com/eisenzopf/rvoip/blob/main/examples/03-register-to-pbx) | \n| `StreamPeer` | You want a sequential \"send, then wait for the matching event\" client | [`04-call-control`](https://github.com/eisenzopf/rvoip/blob/main/examples/04-call-control) ,[` 05-blind-transfer`](https://github.com/eisenzopf/rvoip/blob/main/examples/05-blind-transfer) | \n| `CallbackPeer` | You are writing a server that reacts to inbound calls (IVR, auto-attendant) | [`09-ivr-server`](https://github.com/eisenzopf/rvoip/blob/main/examples/09-ivr-server) | \n| `UnifiedCoordinator` +`server::b2bua` | You need a PBX, registrar, proxy, or B2BUA with routing and media bridging | [`10-call-center-b2bua`](https://github.com/eisenzopf/rvoip/blob/main/examples/10-call-center-b2bua) | \n\nRegister an account on a PBX and place a call through it:\n\n```\nuse std::time::Duration;\nuse rvoip_sip::{Endpoint, EndpointProfile, Result};\n\n# async fn example() -> Result<()> {\nlet mut endpoint = Endpoint::builder()\n    .name(\"alice\")\n    .account(\"1001\")\n    .password(\"secret\")\n    .registrar(\"sips:pbx.example.com:5061\")\n    .profile(EndpointProfile::AsteriskTlsSrtpRegisteredFlow)\n    .build()\n    .await?;\n\nendpoint.register().await?;\n\nlet call = endpoint\n    .call_and_wait(\"1002\", Some(Duration::from_secs(30)))\n    .await?;\ncall.send_dtmf('1').await?;\ncall.hangup_and_wait(Some(Duration::from_secs(5))).await?;\nendpoint.shutdown().await?;\n# Ok(())\n# }\n```\n\nAnswer calls and react to key presses, the shape of an IVR or auto-attendant:\n\n```\nuse rvoip_sip::{CallHandlerDecision, CallbackPeer, Config, Result};\n\n# async fn example() -> Result<()> {\nlet peer = CallbackPeer::builder(Config::local(\"ivr\", 5120))\n    .on_incoming(|call| async move {\n        println!(\"incoming call from {}\", call.from);\n        CallHandlerDecision::Accept\n    })\n    .on_dtmf(|call, digit| async move {\n        if digit == '0' {\n            call.transfer_blind(\"sip:operator@127.0.0.1:5122\").await?;\n        }\n        Ok(())\n    })\n    .on_ended(|call_id, reason| async move {\n        println!(\"call {call_id} ended: {reason:?}\");\n        Ok(())\n    })\n    .build()\n    .await?;\n\npeer.run().await\n# }\n```\n\nSecurity and transports are configuration, not different APIs: SDES-SRTP in\n[`07-secure-call-srtp`](https://github.com/eisenzopf/rvoip/blob/main/examples/07-secure-call-srtp), TLS in\n[`08-tls-transport`](https://github.com/eisenzopf/rvoip/blob/main/examples/08-tls-transport), DTLS-SRTP, G.729, AMR-NB/WB,\nand Opus behind Cargo features. The full surface is documented in the\n[SIP crate README](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/README.md).\n\n`RvoipApp` declares transports, roles, and routing through one builder and\nruns SIP, WebRTC, and UCTP listeners on the shared `Orchestrator`:\n\n```\nrvoip = { version = \"0.5.1\", features = [\"app\"] }\nphp\nuse rvoip::app::*;\n\n# async fn run() -> rvoip::app::AppResult<()> {\nlet app = RvoipApp::builder()\n    .webrtc(\n        WebRtcConfig::ws(\"127.0.0.1:8081\")\n            .allow(Role::Customer, [Capability::Text, Capability::Voice]),\n    )\n    .sip(\n        SipConfig::bind(\"127.0.0.1:5060\")\n            .domain(\"callcenter.local\")\n            .allow(Role::Employee, [Capability::Voice])\n            .registrar_users([(\"alice\", \"password123\")]),\n    )\n    .employees(EmployeePolicy::named([\"alice\"]))\n    .customers(CustomerPolicy::webrtc_only())\n    .assignment(AssignmentPolicy::fixed(\"alice\"))\n    .on_message(|ctx, msg| async move {\n        ctx.reply(\"Alice\", format!(\"Alice received: {}\", msg.text)).await\n    })\n    .build()\n    .await?;\n\napp.run().await\n# }\n```\n\nStart from [`12-customer-escalation-sip-webrtc`](https://github.com/eisenzopf/rvoip/blob/main/examples/12-customer-escalation-sip-webrtc):\na browser chat escalates to a SIP agent's phone. For SIP into Amazon Connect,\nsee [`13-sip-to-amazon-connect`](https://github.com/eisenzopf/rvoip/blob/main/examples/13-sip-to-amazon-connect).\n\n- \n**Hosted agent.**[`rvoip-vapi`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vapi) speaks Vapi's\nbidirectional raw-audio WebSocket directly. Your SIP or WebRTC caller is\nbridged to the agent through the`Orchestrator` ; the agent joins as its own\nAI participant with typed events, control messages, and supervised teardown.\nStart from[`14-vapi-agent`](https://github.com/eisenzopf/rvoip/blob/main/examples/14-vapi-agent) , one server that accepts\neither kind of caller. Attaching an agent to a caller you already hold:\n\n```\nuse std::sync::Arc;\nuse rvoip::Orchestrator;\nuse rvoip::core_traits::ids::ConnectionId;\nuse rvoip::vapi::{VapiAdapter, VapiApiKey, VapiAssistant, VapiCallOptions, VapiConfig};\n\n# async fn attach(orchestrator: Arc<Orchestrator>, caller: ConnectionId)\n# -> Result<(), Box<dyn std::error::Error>> {\nlet key = VapiApiKey::new(std::env::var(\"VAPI_API_KEY\")?)?;\nlet adapter = VapiAdapter::new(VapiConfig::new(key))?;\nlet options = VapiCallOptions::new(VapiAssistant::saved(std::env::var(\"VAPI_ASSISTANT_ID\")?));\n\n// Joins a distinct AI participant, originates the agent leg, bridges audio.\nlet mut call = adapter.attach_agent(&orchestrator, caller, options).await?;\ncall.say(\"One moment while I look that up.\", false, true).await?;\nlet _outcome = call.wait().await;\n# Ok(())\n# }\n```\n\n- \n**Your own pipeline.**[`rvoip-harness`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-harness) gives you ASR, TTS, dialog, and recording provider traits, and[`rvoip-vcon`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vcon) emits signed vCon records of the\nconversation.[`11-ai-harness-demo`](https://github.com/eisenzopf/rvoip/blob/main/examples/11-ai-harness-demo) runs the\nwhole loop with deterministic providers, so you can see the shape before you\nplug in a real model.\n\nEvery transport turns into the same objects, so an application written against\nthe conversation model does not care whether a leg arrived over SIP, a browser,\nor QUIC. That is what lets one `Orchestrator` bridge them.\n\n```\n┌───────────────────────────────────────────────────────────────────┐\n│ Your application                                                  │\n│ softphone · PBX · contact center · browser gateway · AI agent     │\n└───────────────────────────────┬───────────────────────────────────┘\n                                │  rvoip-sip  /  rvoip (+ features)\n┌───────────────────────────────▼───────────────────────────────────┐\n│ Shared conversation model  (rvoip-core)                           │\n│ Orchestrator · Conversation · Session · Participant · Connection  │\n│ routing · admission · bridges · media graph · events              │\n└──────────────┬────────────────┬────────────────┬──────────────────┘\n               │                │                │\n        ┌──────▼──────┐  ┌──────▼──────┐  ┌──────▼───────────────┐\n        │ SIP + RTP   │  │ WebRTC      │  │ UCTP                 │\n        │ UDP/TCP/TLS │  │ ICE/DTLS    │  │ QUIC/WebTransport/WS │\n        └──────┬──────┘  └──────┬──────┘  └──────┬───────────────┘\n               └────────────────┼────────────────┘\n                                │\n             ┌──────────────────▼───────────────────┐\n             │ Optional products and extensions      │\n             │ Vapi · AI harness · vCon · MoQ        │\n             │ Amazon Connect · identity · audit     │\n             └───────────────────────────────────────┘\n```\n\nWords you will meet in the API:\n\n- **Conversation** — the thing people are in together. It outlives any one\nconnection.\n- **Session** — one participant's time in a conversation.\n- **Participant** — a human or an AI agent. Roles (`Agent` ,`Observer` ,\ncustomer) can change without moving connections.\n- **Connection** — one transport leg: a SIP dialog, a browser peer connection,\na UCTP session.\n- **Stream** — the audio (or video, or data) flowing on a connection. Bridges\njoin streams across connections, transcoding when codecs differ.\n\nAdapters depend on the shared `ConnectionAdapter` trait; the core never\nimports a transport. The [design docs](https://github.com/eisenzopf/rvoip/blob/main/docs) go deeper, starting with\n[`INTERFACE_DESIGN.md`](https://github.com/eisenzopf/rvoip/blob/main/docs/INTERFACE_DESIGN.md) and\n[`CONVERSATION_PROTOCOL.md`](https://github.com/eisenzopf/rvoip/blob/main/docs/CONVERSATION_PROTOCOL.md).\n\n| Product area | Available capabilities | Maturity | \n|---|---|---|\n| **SIP telephony** | Endpoints, reactive servers, PBX/registrar/proxy building blocks, B2BUA bridging, call control, transfers, authentication, full RTP media | **Beta-qualified** | \n| **Media and devices** | RTP/RTCP, SDES-SRTP, G.711, optional G.729/AMR/Opus/G.722, DTMF, OS microphone/speaker, resampling, jitter buffering, mixing primitives | Beta-qualified core + preview additions | \n| **WebRTC** | WHIP/WHEP and WebSocket signaling, full-gather and trickle ICE, DTLS-SRTP, Opus/G.711, VP8, SCTP data channels, RFC 4733 DTMF | Developer preview | \n| **UCTP substrates** | One conversation protocol over raw QUIC, WebTransport, or WebSocket, with capability negotiation and RTP datagram framing | Developer preview | \n| **Media over QUIC** | MOQT draft-19 transport, native helper, embeddable relay, media-graph broadcast adapter | Developer preview | \n| **Gateways and bridges** | SIP ↔ WebRTC ↔ UCTP routing, the `RvoipApp` builder, SIP-to-Amazon-Connect audio and screen pops | Developer preview | \n| **Voice AI and conversation data** | Pluggable ASR/TTS/dialog/recording providers, native Vapi agents, signed vCons, Postgres vCon storage | Developer preview | \n| **Identity and compliance** | Digest/Bearer, OIDC, Keycloak, LDAP, Redis, SAML, SCIM, WebAuthn, IMS AKA, STIR/SHAKEN, redacted audit and SIEM sinks | Beta-qualified SIP auth core + preview extensions | \n\n**Beta-qualified** means covered by the SIP release gate and its\ninteroperability, security, standards, performance, and soak evidence.\n**Developer preview** means implemented and published, but API-unstable or\noutside that attestation. **Planned** items appear only in the\n[roadmap](#roadmap). A published crate or Cargo feature is evidence of\navailability, not a blanket production-readiness statement.\n\n## **Capability detail by area** (click to expand)\n\n| Capability | Maturity | Supported behavior | Start/evidence | \n|---|---|---|---|\n| Endpoint and server APIs | **Beta-qualified** | Outbound/inbound calls through `Endpoint` , scripted`StreamPeer` , reactive`CallbackPeer` , and lower-level`UnifiedCoordinator` | [`rvoip-sip`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip) | \n| Core dialog control | **Beta-qualified** | INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS, UPDATE, PRACK, REFER, SUBSCRIBE/NOTIFY, MESSAGE, and INFO within documented bounds | [RFC matrix](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/RFC_COMPLIANCE_MATRIX.md) | \n| PBX/gateway building | **Beta-qualified** | Registrar bindings, stateful proxy primitives, B2BUA call-leg coordination, media bridging, custom SIP headers | [`10-call-center-b2bua`](https://github.com/eisenzopf/rvoip/blob/main/examples/10-call-center-b2bua) | \n| Blind transfer | **Beta-qualified** | REFER-driven transfer and typed NOTIFY progress/final outcomes | [`05-blind-transfer`](https://github.com/eisenzopf/rvoip/blob/main/examples/05-blind-transfer) | \n| Attended-transfer primitives | Developer preview | Consultation dialog identity, `Replaces` construction, REFER delivery, working orchestration example; not a complete RFC 3891 qualification | [`06-attended-transfer`](https://github.com/eisenzopf/rvoip/blob/main/examples/06-attended-transfer) | \n| SIP transport | **Beta-qualified** | UDP, TCP, and TLS; plain SIP-over-WebSocket has bounded evidence | [`rvoip-sip-transport`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-transport) | \n| Secure WebSocket | Developer preview | WSS listener/lower-level support; outbound WSS dialing is not a SIP beta claim | [Transport README](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-transport/README.md) | \n| Ingress protection | Developer preview | Per-source request budget and an admission observer on the SIP listener | [`rvoip-sip`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip) | \n\n| Capability | Maturity | Supported behavior | Start/evidence | \n|---|---|---|---|\n| RTP/RTCP and G.711 | **Beta-qualified** | PCMU/PCMA media delivery, RTCP receiver reports, telephone-event DTMF, hold/resume, bridging | [`rvoip-media-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/media-core) | \n| SDES-SRTP | **Beta-qualified** | Tested AES-CM/HMAC profiles with negotiated encrypted media | [`07-secure-call-srtp`](https://github.com/eisenzopf/rvoip/blob/main/examples/07-secure-call-srtp) | \n| DTLS-SRTP for SIP | Developer preview | Feature-gated `dtls-srtp` : SAVPF and configurable DTLS-SRTP offers, authenticated SDP fingerprints | [Compatibility matrix](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/COMPATIBILITY_MATRIX.md) | \n| NAT traversal | Developer preview | STUN-discovered advertised addresses, with the mapping learned on the live RTP socket | [`rvoip-sip`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip) | \n| G.729A/G.729AB | Developer preview | Fully integrated optional path: PT 18 SDP/Annex B negotiation, RTP encode/decode, G.711 transcoding, Asterisk/FreeSWITCH matrix coverage | [Compatibility matrix](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/COMPATIBILITY_MATRIX.md) | \n| AMR-NB and AMR-WB | Developer preview | Bit-exact against the 3GPP reference over committed fixtures, RFC 4867 octet-aligned and bandwidth-efficient framing, DTX, CMR and mode negotiation, live calls through Asterisk, FreeSWITCH, Kamailio, OpenSIPS | [AMR status](https://github.com/eisenzopf/rvoip/blob/main/crates/media/codec-core/docs/AMR_IMPLEMENTATION_STATUS.md) | \n| Opus and G.722 | Developer preview | Feature-gated codec/media support; Opus needs libopus on the build host | [`rvoip-media-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/media-core) | \n| OS audio devices | Developer preview | Microphone/speaker bridge, drift-free pacing, resampling, jitter buffering, mute-as-silence, VU metering | [`02-softphone-audio`](https://github.com/eisenzopf/rvoip/blob/main/examples/02-softphone-audio) | \n| Conference mixing | Developer preview | Lower-level N-way/N-1 mixing and conference monitoring primitives | [Media README](https://github.com/eisenzopf/rvoip/blob/main/crates/media/media-core/README.md) | \n\n| Capability | Maturity | Supported behavior | Start/evidence | \n|---|---|---|---|\n| WebRTC interop | Developer preview | WHIP/WHEP and WebSocket signaling, full-gather/trickle ICE, DTLS-SRTP, Opus/G.711, VP8, SCTP data channels, DTMF; mDNS and dual-stack browser candidates accepted | [`rvoip-webrtc`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-webrtc) | \n| TURN integration | Developer preview | External TURN server configuration; rvoip does not ship a hosted TURN service | [WebRTC scope](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-webrtc/README.md) | \n| UCTP | Developer preview | Envelopes, state machines, capability negotiation, authenticated resource binding, conversation dispatch, RTP datagram framing | [`rvoip-uctp`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp/rvoip-uctp) | \n| UCTP substrates | Developer preview | Raw QUIC, WebTransport (with origin allowlist), and WebSocket adapters | [`crates/uctp`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp) | \n| Media over QUIC | Developer preview | MOQT draft-19 transport/native/relay packages plus media-graph broadcast integration | [`crates/moq`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq) | \n| Cross-transport app builder | Developer preview | Role/capability policy, assignment, callbacks, SIP/WebRTC/UCTP listeners, orchestration | [`rvoip::app`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip/src/app.rs) | \n| Amazon Connect | Developer preview | `StartWebRTCContact` , Amazon Chime WebRTC media, SIP-header contact attributes, G.711 ↔ Opus bridging, agent screen pops | [`13-sip-to-amazon-connect`](https://github.com/eisenzopf/rvoip/blob/main/examples/13-sip-to-amazon-connect) | \n| Vapi voice agents | Developer preview | Native bidirectional μ-law/PCM raw-audio WebSocket sessions bridged to SIP or WebRTC legs; the agent is a distinct AI participant | [`rvoip-vapi`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vapi) | \n| Webex Contact Center BYOVA | Experimental adapter | `Transport::WebexByova` over Webex's WebSocket and gRPC protocols; Cisco JWS authentication, atomic admission, ordered unpaced media to agents such as Vapi; facade feature`webex-byova` ; no live Cisco qualification yet | [`rvoip-webex-byova`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-webex-byova) | \n| AI harness | Developer preview | Provider-neutral ASR/TTS/dialog/recording attachments with bounded, fenced lifecycle and in-process bridge handoff | [`rvoip-harness`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-harness) | \n\nThe WebRTC implementation of ICE and DTLS-SRTP is separate from the SIP beta claim. UCTP and MoQ availability does not imply that SIP-over-QUIC or RTP-over-QUIC has shipped.\n\nAll 14 extension crates ship at `0.5.1`. They stay optional so protocol\ncrates depend on provider contracts, never on a deployment backend.\n\n| Group | Extensions | Available capability | \n|---|---|---|\n| **AI and conversation data** | [`rvoip-harness`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-harness) ,[`rvoip-vapi`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vapi) ,[`rvoip-vcon`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vcon) ,[`rvoip-vcon-postgres`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-vcon-postgres) | ASR/TTS/dialog/recording provider traits, native Vapi agents, signed vCon artifacts, Postgres storage | \n| **Caller trust** | [`rvoip-stir-shaken`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-stir-shaken) | STIR/SHAKEN PASSporT signing and verification (RFC 8224/8225, ATIS profiles) | \n| **Authentication providers** | [`rvoip-oidc`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-oidc) ,[`rvoip-keycloak`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-keycloak) ,[`rvoip-ldap`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-ldap) ,[`rvoip-redis`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-redis) ,[`rvoip-ims-aka`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-ims-aka) | OIDC discovery and validation, Keycloak, LDAP password verification, clustered auth/revocation/replay state, IMS AKA | \n| **User lifecycle** | [`rvoip-saml`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-saml) ,[`rvoip-scim`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-scim) ,[`rvoip-webauthn`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-webauthn) | SAML 2.0 service provider, SCIM 2.0 provisioning, WebAuthn/passkeys | \n| **Audit and observability** | [`rvoip-audit`](https://github.com/eisenzopf/rvoip/blob/main/crates/extensions/rvoip-audit) | Redacted JSONL and tracing sinks plus OTLP and SIEM exports (generic webhook, Splunk, Elastic/ECS, Microsoft Sentinel, Datadog) | \n\nHow they attach: `voip-3` on the facade brings in the harness, vCon, and the\nidentity surface; `vapi` and `sip-stir-shaken` are their own facade features;\neverything else is a direct dependency.\n\n```\nrvoip = { version = \"0.5.1\", features = [\"sip\", \"vapi\", \"sip-stir-shaken\"] }\nrvoip-keycloak = \"0.5.1\"\nrvoip-redis = \"0.5.1\"\nrvoip-audit = \"0.5.1\"\n```\n\nThe contracts they implement live in\n[`rvoip-auth-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/auth-core),\n[`rvoip-users-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/users-core), and\n[`rvoip-identity`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/rvoip-identity).\n\nFor orientation only. Everything below the front doors is a transitive\ndependency of `rvoip` or `rvoip-sip`; depend on it directly only when you are\nextending the platform itself.\n\n| Family | Crates | \n|---|---|\n| **Front doors** | [`rvoip`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip) ,[` rvoip-sip`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip) ,[` rvoip-client`](https://github.com/eisenzopf/rvoip/blob/main/crates/rvoip-client) | \n| Foundation | [`rvoip-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/foundation/rvoip-core) ,[`rvoip-core-traits`](https://github.com/eisenzopf/rvoip/blob/main/crates/foundation/rvoip-core-traits) ,[`rvoip-infra-common`](https://github.com/eisenzopf/rvoip/blob/main/crates/foundation/infra-common) | \n| SIP internals | [`rvoip-sip-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-core) ,[` rvoip-sip-transport`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-transport) ,[` rvoip-sip-dialog`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-dialog) ,[` rvoip-sip-proxy`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-proxy) ,[` rvoip-sip-registrar`](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/sip-registrar) | \n| Media | [`rvoip-media-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/media-core) ,[` rvoip-codec-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/codec-core) ,[` rvoip-rtp-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/rtp-core) ,[` rvoip-ice-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/ice-core) ,[` rvoip-audio-send-queue`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/rvoip-audio-send-queue) ,[`rvoip-audio-device`](https://github.com/eisenzopf/rvoip/blob/main/crates/media/rvoip-audio-device) | \n| WebRTC and Connect | [`rvoip-webrtc`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-webrtc) ,[` rvoip-rtc`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-rtc) ,[` rvoip-webrtc-stack`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-webrtc-stack) ,[`rvoip-amazon-connect`](https://github.com/eisenzopf/rvoip/blob/main/crates/webrtc/rvoip-amazon-connect) | \n| UCTP | [`rvoip-uctp`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp/rvoip-uctp) ,[` rvoip-quic`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp/rvoip-quic) ,[` rvoip-webtransport`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp/rvoip-webtransport) ,[`rvoip-websocket`](https://github.com/eisenzopf/rvoip/blob/main/crates/uctp/rvoip-websocket) | \n| MoQ | [`rvoip-moq`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq/rvoip-moq) ,[` rvoip-moq-transport`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq/rvoip-moq-transport) ,[`rvoip-moq-native`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq/rvoip-moq-native) ,[` rvoip-moq-relay`](https://github.com/eisenzopf/rvoip/blob/main/crates/moq/rvoip-moq-relay) | \n| Identity | [`rvoip-auth-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/auth-core) ,[` rvoip-users-core`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/users-core) ,[` rvoip-identity`](https://github.com/eisenzopf/rvoip/blob/main/crates/identity/rvoip-identity) | \n| Extensions | The [14 extension crates](#extensions) above | \n\nThe full release path exercises `rvoip-sip` public APIs against independently\nimplemented peers. The exact peer versions, scenarios, transports, results, and\nexclusions are recorded in signed qualification evidence; see the\n[compatibility matrix](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/COMPATIBILITY_MATRIX.md).\n\nPatch releases can explicitly use the [shorter release path](https://github.com/eisenzopf/rvoip/blob/main/docs/RELEASING.md#shorter-patch-release-step-by-step):\nunit, integration, regression, example, and doc tests, including runnable\n[TURN/ICE examples](https://github.com/eisenzopf/rvoip/blob/main/docs/TURN_ICE.md), without\nbenchmark, soak/load, or extended interoperability jobs. Each GitHub release\nlinks its tested commit and gate results; a reduced patch report marks\nperformance qualification **NOT RUN**. The matrix below describes the full\nqualification scope, not a claim that a patch run repeated it.\n\n| Peer/tool | Status | Executed scope | \n|---|---|---|\n| **Asterisk** | Release-gated | `Endpoint` ,`StreamPeer` , and`CallbackPeer` ; registration, calls/media, codecs, hold/resume, ring-cancel, RFC 4733 DTMF, rejection, and blind transfer over the documented UDP and TLS profiles | \n| **FreeSWITCH** | Release-gated | The corresponding public-API, scenario, codec, and transport matrix | \n| **Jambonz OSS 0.9.15** | Release-gated | Revision- and digest-pinned Jambonz SBC/registrar/RTPengine profile across the applicable public-API UDP/plain-RTP matrix | \n| **SIPp** | Release-gated | Standards scenarios and bounded signaling-load profiles | \n| **baresip** | Release-gated | External strict user-agent call against the RVoIP SIP listener | \n| **Kamailio** | Release-gated | RFC 3261 transaction-stateful proxy in both hop orders over UDP, TCP, and TLS, plus registrar-proxy with an rtpengine media relay: registration, calls, AMR in all four framings, DTMF, SDES-SRTP | \n| **OpenSIPS** | Release-gated | The same proxy matrix in both hop orders over UDP, TCP, and TLS, and the same rtpengine lab scope | \n\nThe strict full-beta gate requires an explicit PASS attestation for every required independently managed peer below. The report generator binds each row to the tested source tree, exact peer identity and configuration, selected matrix, and hashed evidence; it refuses to produce a strict release-candidate report if a required peer is missing, skipped, ambiguous, unpinned, or failing.\n\n| Peer | Attested boundary | Required release evidence | \n|---|---|---|\n| **Asterisk** | PBX/B2BUA call control and RTP media | Provider-specific all-PASS rows from the recorded API, scenario, codec, and security matrix, plus the exact local revision and configuration fingerprint | \n| **FreeSWITCH** | PBX/B2BUA call control and RTP media | Provider-specific all-PASS rows from the recorded API, scenario, codec, and security matrix, plus the exact local revision and configuration fingerprint | \n| **Jambonz OSS** | SBC/B2BUA, registrar, and anchored RTP media | Latest-version check, source and image pins, all-PASS applicable public-API UDP/plain-RTP matrix, and post-run cleanup | \n| **Kamailio** | RFC 3261 transaction-stateful proxy interoperability | Digest-pinned peer, both hop orders, UDP/TCP/TLS, packet assertions, verified TLS evidence, and post-retention cleanup | \n| **OpenSIPS** | RFC 3261 transaction-stateful proxy interoperability | Digest-pinned peer, both hop orders, UDP/TCP/TLS, packet assertions, verified TLS evidence, and post-retention cleanup | \n\nThe 0.5.1 release uses the shorter patch profile: regular unit, integration,\nregression, example, and doc tests, including TURN/ICE checks. Benchmarks and\nextended external interoperability were not rerun. See the\n[0.5.1 release notes](https://github.com/eisenzopf/rvoip/blob/main/docs/release/RELEASE_NOTES_NEXT.md) and the\n[release's qualification attachments](https://github.com/eisenzopf/rvoip/releases/tag/v0.5.1)\nfor exact commands, results, and scope.\n\nHistorical full-release evidence, retained at its original versions:\n\n- [Qualification report](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/BETA_RELEASE_REPORT.md) — exact versions, row counts, scenarios, hashes, PASS status.\n- [Performance report](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/BETA_PERFORMANCE_REPORT.md) .\n- [RFC 7501/7502 benchmark report](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/releases/qualification/20261124T012650Z-45304004340/rfc7502-ietf-report.md) : sustained Session Establishment Rates for published 0.5.0 on one c8i.4xlarge, reported in IETF format (R1 TLS 8,348 and R5 UDP 8,256 sessions/s without media; R2 TLS+SRTP 1,124 and R6 UDP+RTP 1,204 with media).\n- [RFC evidence matrix](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/RFC_COMPLIANCE_MATRIX.md) and[security posture](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/SECURITY_POSTURE.md) .\n- [Interop plan](https://github.com/eisenzopf/rvoip/blob/main/crates/sip/rvoip-sip/docs/INTEROP_CI_PLAN.md) — the evidence boundaries.\n- [Changelog](https://github.com/eisenzopf/rvoip/blob/main/CHANGELOG.md) ,[release notes](https://github.com/eisenzopf/rvoip/blob/main/docs/release/RELEASE_NOTES_NEXT.md) and the[0.4 migration guide](https://github.com/eisenzopf/rvoip/blob/main/docs/MIGRATING_0.4.md) — what changed in this release and how to upgrade from 0.3.\n\nThis is bounded interoperability evidence, not a claim of compatibility with every version, module, configuration, transport, codec, or SIP extension, and not carrier certification. Anything outside a stated qualification boundary remains the application's responsibility to validate in its own deployment.\n\nDeveloper-preview products document their own supported scope and gaps in their crate READMEs. A published crate or Cargo feature is evidence of availability, not a blanket production-readiness statement.\n\n```\ngit clone https://github.com/eisenzopf/rvoip.git\ncd rvoip\n\n# Build the default workspace members\ncargo build\n\n# Run a working SIP call\ncargo run -p rvoip-sip --example endpoint_local_call\n\n# Run the workspace test suite\nscripts/test_all.sh\n```\n\nFeature-gated targets (codecs, DTLS-SRTP, generated compliance suites) only\nbuild with their features on; use `--all-features` when you touch a gated\npath. [`docs/RELEASING.md`](https://github.com/eisenzopf/rvoip/blob/main/docs/RELEASING.md) describes the release train.\n\nRemaining major items, beyond the developer-preview products above:\n\n- **SIP-over-QUIC** and**RTP-over-QUIC (RoQ)** transport profiles.\n- Integrated multi-party **SFU/MCU** products beyond the existing media primitives.\n- Production graduation of **AAuth** as its standards work and deployment evidence mature.\n- Deeper **AI participants** with multi-agent orchestration beyond today's provider harness.\n- Additional qualification and release gates for the developer-preview products.\n\nDetailed engineering gaps are tracked in [`docs/GAP_PLAN.md`](https://github.com/eisenzopf/rvoip/blob/main/docs/GAP_PLAN.md)\nand in [issues](https://github.com/eisenzopf/rvoip/issues).\n\n- **Bugs:** open an issue with reproduction steps.\n- **Feature requests:** use discussions or issues and describe the target product and compatibility expectations.\n- **Pull requests:** workspace-wide tests run through`scripts/test_all.sh` .\n\nLicensed under the [MIT License](https://github.com/eisenzopf/rvoip/blob/main/LICENSE).\n\n**Built in Rust** · [Facade API](https://docs.rs/rvoip/0.5.1/rvoip/) · [SIP API](https://docs.rs/rvoip-sip/0.5.1/rvoip_sip/) · [Examples](https://github.com/eisenzopf/rvoip/blob/main/examples) · [Issues](https://github.com/eisenzopf/rvoip/issues) · [Discussions](https://github.com/eisenzopf/rvoip/discussions)", "url": "https://wpnews.pro/news/rvoip-0-5-the-complete-voip-stack-in-rust", "canonical_source": "https://github.com/eisenzopf/rvoip", "published_at": "2026-11-26 19:18:09+00:00", "updated_at": "2026-11-26 19:43:24.297485+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "ai-infrastructure"], "entities": ["rvoip", "Rust", "Asterisk", "FreeSWITCH", "Jambonz", "Kamailio", "OpenSIPS", "AWS c8i.4xlarge"], "also_reported_by": [], "takeaway": "rvoip 0.5.1 ships SIP, RTP, WebRTC, QUIC/WebTransport/WebSocket and Media over QUIC as in-process Rust crates, so a single process handled 8,348 SIP-over-TLS calls per second with 1 ms p50 setup at 90% load instead of requiring a separate SIP proxy or media server.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/rvoip-0-5-the-complete-voip-stack-in-rust", "markdown": "https://wpnews.pro/news/rvoip-0-5-the-complete-voip-stack-in-rust.md", "text": "https://wpnews.pro/news/rvoip-0-5-the-complete-voip-stack-in-rust.txt", "jsonld": "https://wpnews.pro/news/rvoip-0-5-the-complete-voip-stack-in-rust.jsonld"}}