AIFeed

Rvoip 0.5 the complete VoIP stack in Rust

Original text(via Hacker News)

rvoip

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.

rvoip
rvoip
rvoip-sip
rvoip-sip
Facade API
Facade API
SIP API
SIP API

Five-minute start · For carriers · Which crate? · Pick a path · How it fits together · What ships · Interop evidence · Changes · Upgrading from 0.3

What rvoip is

rvoip is a library, not a server you deploy next to your application. Signalling, media, codecs, NAT traversal, security, and the conversation model are all Rust crates in this workspace, so a call goes from your code to the wire without a separately installed SIP proxy, media server, or RTP engine. The examples below run on a laptop with nothing installed but Rust; the same crates carry the release-gated interoperability evidence against Asterisk, FreeSWITCH, Jambonz, Kamailio, and OpenSIPS. Carriers evaluating standards coverage, performance, and reliability should start with For carriers.

Historical performance: published 0.5.0

One AWS c8i.4xlarge (16 vCPU, 8 cores, Intel Xeon 6, 32 GiB) running a single rvoip process, measured with the RFC 7501/7502 benchmark:

WorkloadMax CPSCPS per vCPUConcurrent calls (10 s calls)p50 setup at 90% loadp99 setup at 90% load
SIP over TLS, signaling only8,348~520n/a1 ms6 ms
SIP over UDP, signaling only8,256~515n/a1 ms6 ms
TLS + SRTP (SDES), G.711, 10 s calls1,124~70~11,2001 ms4 ms
UDP + RTP, G.711, 10 s calls1,204~75~12,000n/mn/m

At 2x capacity, rvoip keeps admitting calls at its max CPS, refuses the excess with fast 503 responses, and recovers cleanly once the load drops.

  • 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.
  • 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.
  • G.711 media is passed through; nothing is transcoded.
  • 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.
  • The server is a cloud VM, not an appliance.
  • 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.
  • The UDP + RTP max CPS was confirmed twice rather than three times.
  • The release check also passed at 5% above the TLS and UDP signaling max CPS, so those two figures may be slightly understated.
  • Not yet measured: B2BUA/relay mode (two legs per call), registrations, transcoding, WebRTC (DTLS-SRTP), and failover.

Full method and per-trial data: RFC 7501/7502 benchmark report.

Five-minute start

  1. Add one dependency.

        [dependencies]
rvoip-sip = "0.5.1"
tokio = { version = "1", features = ["full"] }
      

Upgrading an existing application from 0.3? The 0.4 migration guide has before/after code for every breaking change.

  1. Make a call. Bob answers, Alice dials, Alice hangs up. Everything runs on loopback, so this works on a laptop with no PBX, no account, and no network setup.

        use std::time::Duration;
use rvoip_sip::{Config, Endpoint, EndpointProfile};

#[tokio::main]
async fn main() -> rvoip_sip::Result<()> {
    let bob = tokio::spawn(async {
        let mut bob = Endpoint::builder()
            .name("bob")
            .profile(EndpointProfile::Custom(Config::local("bob", 5071)))
            .build()
            .await?;
        let incoming = bob.wait_for_incoming().await?;
        let call = incoming.answer().await?;
        call.wait_for_end(None).await?;
        bob.shutdown().await
    });

    tokio::time::sleep(Duration::from_millis(300)).await;

    let alice = Endpoint::builder()
        .name("alice")
        .profile(EndpointProfile::Custom(Config::local("alice", 5070)))
        .build()
        .await?;

    let call = alice
        .call_and_wait("sip:[email protected]:5071", Some(Duration::from_secs(10)))
        .await?;
    call.hangup_and_wait(Some(Duration::from_secs(5))).await?;
    alice.shutdown().await?;
    bob.await.unwrap()
}
      
  1. Or run the same program from the checkout.

        git clone https://github.com/eisenzopf/rvoip.git && cd rvoip
cargo run -p rvoip-sip --example endpoint_local_call
      

From here, examples/ walks forward one step at a time: real microphone audio, registering to a PBX, hold/DTMF, transfers, SRTP and TLS, an IVR, a B2BUA, then browser and voice-AI gateways.

You need one crate

The workspace contains 47 crates. You import one of them; it pulls in everything it needs. The rest are internal layers you never name in your own Cargo.toml.

You are buildingDepend onEnable
A SIP phone, PBX, IVR, registrar, proxy, B2BUA, or trunk gatewayrvoip-sipnothing extra
One server that takes SIP and browser (WebRTC) callers and connects themrvoipfeatures = ["app"]
A SIP or WebRTC caller talking to a hosted voice agent (Vapi)rvoipfeatures = ["app", "vapi"]
Your own ASR / TTS / dialog pipeline, with recordings and signed vConsrvoipfeatures = ["voip-3"]
A native, mobile, or embedded client SDKrvoip-clientpick transports
Amazon Connect A2A callers bridged to an external agentrvoip-amazon-a2a—
SIP calls delivered to Amazon Connect agentsrvoip-amazon-connect—
Media fan-out over Media over QUICrvoip-moq—

Two shortcuts:

  • rvoip-sip is the release-gated product. If your application is telephony, start and stay there. It is the only crate with a signed interoperability attestation (see evidence).
  • rvoip is the facade. It re-exports rvoip-sip as rvoip::sip and adds the shared Orchestrator plus optional transports and extensions behind Cargo features. Its feature table and the deployment bundles (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 need.

Deployment backends (Keycloak, LDAP, Redis, Postgres vCon storage, audit and SIEM sinks, SAML, SCIM, WebAuthn, STIR/SHAKEN, IMS AKA) are separate rvoip-* extension crates you add only when you operate that backend. The extension catalog lists them.

Pick your path

For JavaScript UCTP control, see the experimental browser/Node WebSocket client. It is available as source with TypeScript declarations; the package is not yet published to npm. Application-profile dispatch is a separate opt-in server extension that stock servers do not enable.

Path 1 — SIP telephony (rvoip-sip)

Four API surfaces, from simplest to most control. Most applications use the first one.

SurfaceUse it whenExample
EndpointYou want a softphone, an account that registers, or a scripted caller/callee01-quickstart-p2p , 02-softphone-audio , 03-register-to-pbx
StreamPeerYou want a sequential "send, then wait for the matching event" client04-call-control , 05-blind-transfer
CallbackPeerYou are writing a server that reacts to inbound calls (IVR, auto-attendant)09-ivr-server
UnifiedCoordinator + server::b2buaYou need a PBX, registrar, proxy, or B2BUA with routing and media bridging10-call-center-b2bua

Register an account on a PBX and place a call through it:


        use std::time::Duration;
use rvoip_sip::{Endpoint, EndpointProfile, Result};

# async fn example() -> Result<()> {
let mut endpoint = Endpoint::builder()
    .name("alice")
    .account("1001")
    .password("secret")
    .registrar("sips:pbx.example.com:5061")
    .profile(EndpointProfile::AsteriskTlsSrtpRegisteredFlow)
    .build()
    .await?;

endpoint.register().await?;

let call = endpoint
    .call_and_wait("1002", Some(Duration::from_secs(30)))
    .await?;
call.send_dtmf('1').await?;
call.hangup_and_wait(Some(Duration::from_secs(5))).await?;
endpoint.shutdown().await?;
# Ok(())
# }
      

Answer calls and react to key presses, the shape of an IVR or auto-attendant:


        use rvoip_sip::{CallHandlerDecision, CallbackPeer, Config, Result};

# async fn example() -> Result<()> {
let peer = CallbackPeer::builder(Config::local("ivr", 5120))
    .on_incoming(|call| async move {
        println!("incoming call from {}", call.from);
        CallHandlerDecision::Accept
    })
    .on_dtmf(|call, digit| async move {
        if digit == '0' {
            call.transfer_blind("sip:[email protected]:5122").await?;
        }
        Ok(())
    })
    .on_ended(|call_id, reason| async move {
        println!("call {call_id} ended: {reason:?}");
        Ok(())
    })
    .build()
    .await?;

peer.run().await
# }
      

Security and transports are configuration, not different APIs: SDES-SRTP in 07-secure-call-srtp, TLS in 08-tls-transport, DTLS-SRTP, G.729, AMR-NB/WB, and Opus behind Cargo features. The full surface is documented in the SIP crate README.

Path 2 — Browser and cross-transport gateways (rvoip + app)

RvoipApp declares transports, roles, and routing through one builder and runs SIP, WebRTC, and UCTP listeners on the shared Orchestrator:


        rvoip = { version = "0.5.1", features = ["app"] }
      

        use rvoip::app::*;

# async fn run() -> rvoip::app::AppResult<()> {
let app = RvoipApp::builder()
    .webrtc(
        WebRtcConfig::ws("127.0.0.1:8081")
            .allow(Role::Customer, [Capability::Text, Capability::Voice]),
    )
    .sip(
        SipConfig::bind("127.0.0.1:5060")
            .domain("callcenter.local")
            .allow(Role::Employee, [Capability::Voice])
            .registrar_users([("alice", "password123")]),
    )
    .employees(EmployeePolicy::named(["alice"]))
    .customers(CustomerPolicy::webrtc_only())
    .assignment(AssignmentPolicy::fixed("alice"))
    .on_message(|ctx, msg| async move {
        ctx.reply("Alice", format!("Alice received: {}", msg.text)).await
    })
    .build()
    .await?;

app.run().await
# }
      

Start from 12-customer-escalation-sip-webrtc: a browser chat escalates to a SIP agent's phone. For SIP into Amazon Connect, see 13-sip-to-amazon-connect.

Path 3 — Voice AI (rvoip + vapi or voip-3)

  • Hosted agent. rvoip-vapi speaks Vapi's bidirectional raw-audio WebSocket directly. Your SIP or WebRTC caller is bridged to the agent through the Orchestrator; the agent joins as its own AI participant with typed events, control messages, and supervised teardown. Start from 14-vapi-agent, one server that accepts either kind of caller. Attaching an agent to a caller you already hold: use std::sync::Arc; use rvoip::Orchestrator; use rvoip::core_traits::ids::ConnectionId; use rvoip::vapi::{VapiAdapter, VapiApiKey, VapiAssistant, VapiCallOptions, VapiConfig}; # async fn attach(orchestrator: Arc<Orchestrator>, caller: ConnectionId) # -> Result<(), Box<dyn std::error::Error>> { let key = VapiApiKey::new(std::env::var("VAPI_API_KEY")?)?; let adapter = VapiAdapter::new(VapiConfig::new(key))?; let options = VapiCallOptions::new(VapiAssistant::saved(std::env::var("VAPI_ASSISTANT_ID")?)); // Joins a distinct AI participant, originates the agent leg, bridges audio. let mut call = adapter.attach_agent(&orchestrator, caller, options).await?; call.say("One moment while I look that up.", false, true).await?; let _outcome = call.wait().await; # Ok(()) # }

Hosted agent. rvoip-vapi speaks Vapi's bidirectional raw-audio WebSocket directly. Your SIP or WebRTC caller is bridged to the agent through the Orchestrator; the agent joins as its own AI participant with typed events, control messages, and supervised teardown. Start from 14-vapi-agent, one server that accepts either kind of caller. Attaching an agent to a caller you already hold:


        use std::sync::Arc;
use rvoip::Orchestrator;
use rvoip::core_traits::ids::ConnectionId;
use rvoip::vapi::{VapiAdapter, VapiApiKey, VapiAssistant, VapiCallOptions, VapiConfig};

# async fn attach(orchestrator: Arc<Orchestrator>, caller: ConnectionId)
# -> Result<(), Box<dyn std::error::Error>> {
let key = VapiApiKey::new(std::env::var("VAPI_API_KEY")?)?;
let adapter = VapiAdapter::new(VapiConfig::new(key))?;
let options = VapiCallOptions::new(VapiAssistant::saved(std::env::var("VAPI_ASSISTANT_ID")?));

// Joins a distinct AI participant, originates the agent leg, bridges audio.
let mut call = adapter.attach_agent(&orchestrator, caller, options).await?;
call.say("One moment while I look that up.", false, true).await?;
let _outcome = call.wait().await;
# Ok(())
# }
      
  • Your own pipeline. rvoip-harness gives you ASR, TTS, dialog, and recording provider traits, and rvoip-vcon emits signed vCon records of the conversation. 11-ai-harness-demo runs the whole loop with deterministic providers, so you can see the shape before you plug in a real model.

How it fits together

Every transport turns into the same objects, so an application written against the conversation model does not care whether a leg arrived over SIP, a browser, or QUIC. That is what lets one Orchestrator bridge them.


        ┌───────────────────────────────────────────────────────────────────┐
│ Your application                                                  │
│ softphone · PBX · contact center · browser gateway · AI agent     │
└───────────────────────────────┬───────────────────────────────────┘
                                │  rvoip-sip  /  rvoip (+ features)
┌───────────────────────────────▼───────────────────────────────────┐
│ Shared conversation model  (rvoip-core)                           │
│ Orchestrator · Conversation · Session · Participant · Connection  │
│ routing · admission · bridges · media graph · events              │
└──────────────┬────────────────┬────────────────┬──────────────────┘
               │                │                │
        ┌──────▼──────┐  ┌──────▼──────┐  ┌──────▼───────────────┐
        │ SIP + RTP   │  │ WebRTC      │  │ UCTP                 │
        │ UDP/TCP/TLS │  │ ICE/DTLS    │  │ QUIC/WebTransport/WS │
        └──────┬──────┘  └──────┬──────┘  └──────┬───────────────┘
               └────────────────┼────────────────┘
                                │
             ┌──────────────────▼───────────────────┐
             │ Optional products and extensions      │
             │ Vapi · AI harness · vCon · MoQ        │
             │ Amazon Connect · identity · audit     │
             └───────────────────────────────────────┘
      

Words you will meet in the API:

  • Conversation — the thing people are in together. It outlives any one connection.
  • Session — one participant's time in a conversation.
  • Participant — a human or an AI agent. Roles (Agent, Observer, customer) can change without moving connections.
  • Connection — one transport leg: a SIP dialog, a browser peer connection, a UCTP session.
  • Stream — the audio (or video, or data) flowing on a connection. Bridges join streams across connections, transcoding when codecs differ.

Adapters depend on the shared ConnectionAdapter trait; the core never imports a transport. The design docs go deeper, starting with INTERFACE_DESIGN.md and CONVERSATION_PROTOCOL.md.

What ships today

Product areaAvailable capabilitiesMaturity
SIP telephonyEndpoints, reactive servers, PBX/registrar/proxy building blocks, B2BUA bridging, call control, transfers, authentication, full RTP mediaBeta-qualified
Media and devicesRTP/RTCP, SDES-SRTP, G.711, optional G.729/AMR/Opus/G.722, DTMF, OS microphone/speaker, resampling, jitter buffering, mixing primitivesBeta-qualified core + preview additions
WebRTCWHIP/WHEP and WebSocket signaling, full-gather and trickle ICE, DTLS-SRTP, Opus/G.711, VP8, SCTP data channels, RFC 4733 DTMFDeveloper preview
UCTP substratesOne conversation protocol over raw QUIC, WebTransport, or WebSocket, with capability negotiation and RTP datagram framingDeveloper preview
Media over QUICMOQT draft-19 transport, native helper, embeddable relay, media-graph broadcast adapterDeveloper preview
Gateways and bridgesSIP ↔ WebRTC ↔ UCTP routing, the RvoipApp builder, SIP-to-Amazon-Connect audio and screen popsDeveloper preview
Voice AI and conversation dataPluggable ASR/TTS/dialog/recording providers, native Vapi agents, signed vCons, Postgres vCon storageDeveloper preview
Identity and complianceDigest/Bearer, OIDC, Keycloak, LDAP, Redis, SAML, SCIM, WebAuthn, IMS AKA, STIR/SHAKEN, redacted audit and SIEM sinksBeta-qualified SIP auth core + preview extensions

Beta-qualified means covered by the SIP release gate and its interoperability, security, standards, performance, and soak evidence. Developer preview means implemented and published, but API-unstable or outside that attestation. Planned items appear only in the roadmap. A published crate or Cargo feature is evidence of availability, not a blanket production-readiness statement.

SIP application and signaling

CapabilityMaturitySupported behaviorStart/evidence
Endpoint and server APIsBeta-qualifiedOutbound/inbound calls through Endpoint , scripted StreamPeer , reactive CallbackPeer , and lower-level UnifiedCoordinatorrvoip-sip
Core dialog controlBeta-qualifiedINVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS, UPDATE, PRACK, REFER, SUBSCRIBE/NOTIFY, MESSAGE, and INFO within documented boundsRFC matrix
PBX/gateway buildingBeta-qualifiedRegistrar bindings, stateful proxy primitives, B2BUA call-leg coordination, media bridging, custom SIP headers10-call-center-b2bua
Blind transferBeta-qualifiedREFER-driven transfer and typed NOTIFY progress/final outcomes05-blind-transfer
Attended-transfer primitivesDeveloper previewConsultation dialog identity, Replaces construction, REFER delivery, working orchestration example; not a complete RFC 3891 qualification06-attended-transfer
SIP transportBeta-qualifiedUDP, TCP, and TLS; plain SIP-over-WebSocket has bounded evidencervoip-sip-transport
Secure WebSocketDeveloper previewWSS listener/lower-level support; outbound WSS dialing is not a SIP beta claimTransport README
Ingress protectionDeveloper previewPer-source request budget and an admission observer on the SIP listenerrvoip-sip

Media

CapabilityMaturitySupported behaviorStart/evidence
RTP/RTCP and G.711Beta-qualifiedPCMU/PCMA media delivery, RTCP receiver reports, telephone-event DTMF, hold/resume, bridgingrvoip-media-core
SDES-SRTPBeta-qualifiedTested AES-CM/HMAC profiles with negotiated encrypted media07-secure-call-srtp
DTLS-SRTP for SIPDeveloper previewFeature-gated dtls-srtp : SAVPF and configurable DTLS-SRTP offers, authenticated SDP fingerprintsCompatibility matrix
NAT traversalDeveloper previewSTUN-discovered advertised addresses, with the mapping learned on the live RTP socketrvoip-sip
G.729A/G.729ABDeveloper previewFully integrated optional path: PT 18 SDP/Annex B negotiation, RTP encode/decode, G.711 transcoding, Asterisk/FreeSWITCH matrix coverageCompatibility matrix
AMR-NB and AMR-WBDeveloper previewBit-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, OpenSIPSAMR status
Opus and G.722Developer previewFeature-gated codec/media support; Opus needs libopus on the build hostrvoip-media-core
OS audio devicesDeveloper previewMicrophone/speaker bridge, drift-free pacing, resampling, jitter buffering, mute-as-silence, VU metering02-softphone-audio
Conference mixingDeveloper previewLower-level N-way/N-1 mixing and conference monitoring primitivesMedia README

WebRTC, UCTP, MoQ, and integrations

CapabilityMaturitySupported behaviorStart/evidence
WebRTC interopDeveloper previewWHIP/WHEP and WebSocket signaling, full-gather/trickle ICE, DTLS-SRTP, Opus/G.711, VP8, SCTP data channels, DTMF; mDNS and dual-stack browser candidates acceptedrvoip-webrtc
TURN integrationDeveloper previewExternal TURN server configuration; rvoip does not ship a hosted TURN serviceWebRTC scope
UCTPDeveloper previewEnvelopes, state machines, capability negotiation, authenticated resource binding, conversation dispatch, RTP datagram framingrvoip-uctp
UCTP substratesDeveloper previewRaw QUIC, WebTransport (with origin allowlist), and WebSocket adapterscrates/uctp
Media over QUICDeveloper previewMOQT draft-19 transport/native/relay packages plus media-graph broadcast integrationcrates/moq
Cross-transport app builderDeveloper previewRole/capability policy, assignment, callbacks, SIP/WebRTC/UCTP listeners, orchestrationrvoip::app
Amazon ConnectDeveloper previewStartWebRTCContact , Amazon Chime WebRTC media, SIP-header contact attributes, G.711 ↔ Opus bridging, agent screen pops13-sip-to-amazon-connect
Vapi voice agentsDeveloper previewNative bidirectional μ-law/PCM raw-audio WebSocket sessions bridged to SIP or WebRTC legs; the agent is a distinct AI participantrvoip-vapi
Webex Contact Center BYOVAExperimental adapterTransport::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 yetrvoip-webex-byova
AI harnessDeveloper previewProvider-neutral ASR/TTS/dialog/recording attachments with bounded, fenced lifecycle and in-process bridge handoffrvoip-harness

The 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.

Extensions

All 14 extension crates ship at 0.5.1. They stay optional so protocol crates depend on provider contracts, never on a deployment backend.

GroupExtensionsAvailable capability
AI and conversation datarvoip-harness , rvoip-vapi , rvoip-vcon , rvoip-vcon-postgresASR/TTS/dialog/recording provider traits, native Vapi agents, signed vCon artifacts, Postgres storage
Caller trustrvoip-stir-shakenSTIR/SHAKEN PASSporT signing and verification (RFC 8224/8225, ATIS profiles)
Authentication providersrvoip-oidc , rvoip-keycloak , rvoip-ldap , rvoip-redis , rvoip-ims-akaOIDC discovery and validation, Keycloak, LDAP password verification, clustered auth/revocation/replay state, IMS AKA
User lifecyclervoip-saml , rvoip-scim , rvoip-webauthnSAML 2.0 service provider, SCIM 2.0 provisioning, WebAuthn/passkeys
Audit and observabilityrvoip-auditRedacted JSONL and tracing sinks plus OTLP and SIEM exports (generic webhook, Splunk, Elastic/ECS, Microsoft Sentinel, Datadog)

How they attach: voip-3 on the facade brings in the harness, vCon, and the identity surface; vapi and sip-stir-shaken are their own facade features; everything else is a direct dependency.


        rvoip = { version = "0.5.1", features = ["sip", "vapi", "sip-stir-shaken"] }
rvoip-keycloak = "0.5.1"
rvoip-redis = "0.5.1"
rvoip-audit = "0.5.1"
      

The contracts they implement live in rvoip-auth-core, rvoip-users-core, and rvoip-identity.

Workspace map

For orientation only. Everything below the front doors is a transitive dependency of rvoip or rvoip-sip; depend on it directly only when you are extending the platform itself.

FamilyCrates
Front doorsrvoip , rvoip-sip , rvoip-client
Foundationrvoip-core , rvoip-core-traits , rvoip-infra-common
SIP internalsrvoip-sip-core , rvoip-sip-transport , rvoip-sip-dialog , rvoip-sip-proxy , rvoip-sip-registrar
Mediarvoip-media-core , rvoip-codec-core , rvoip-rtp-core , rvoip-ice-core , rvoip-audio-send-queue , rvoip-audio-device
WebRTC and Connectrvoip-webrtc , rvoip-rtc , rvoip-webrtc-stack , rvoip-amazon-connect
UCTPrvoip-uctp , rvoip-quic , rvoip-webtransport , rvoip-websocket
MoQrvoip-moq , rvoip-moq-transport , rvoip-moq-native , rvoip-moq-relay
Identityrvoip-auth-core , rvoip-users-core , rvoip-identity
ExtensionsThe 14 extension crates above

SIP interoperability and release evidence

The full release path exercises rvoip-sip public APIs against independently implemented peers. The exact peer versions, scenarios, transports, results, and exclusions are recorded in signed qualification evidence; see the compatibility matrix.

Patch releases can explicitly use the shorter release path: unit, integration, regression, example, and doc tests, including runnable TURN/ICE examples, without benchmark, soak/load, or extended interoperability jobs. Each GitHub release links its tested commit and gate results; a reduced patch report marks performance qualification NOT RUN. The matrix below describes the full qualification scope, not a claim that a patch run repeated it.

Peer/toolStatusExecuted scope
AsteriskRelease-gatedEndpoint , 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
FreeSWITCHRelease-gatedThe corresponding public-API, scenario, codec, and transport matrix
Jambonz OSS 0.9.15Release-gatedRevision- and digest-pinned Jambonz SBC/registrar/RTPengine profile across the applicable public-API UDP/plain-RTP matrix
SIPpRelease-gatedStandards scenarios and bounded signaling-load profiles
baresipRelease-gatedExternal strict user-agent call against the RVoIP SIP listener
KamailioRelease-gatedRFC 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
OpenSIPSRelease-gatedThe same proxy matrix in both hop orders over UDP, TCP, and TLS, and the same rtpengine lab scope

SIP interoperability attestation

The 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.

PeerAttested boundaryRequired release evidence
AsteriskPBX/B2BUA call control and RTP mediaProvider-specific all-PASS rows from the recorded API, scenario, codec, and security matrix, plus the exact local revision and configuration fingerprint
FreeSWITCHPBX/B2BUA call control and RTP mediaProvider-specific all-PASS rows from the recorded API, scenario, codec, and security matrix, plus the exact local revision and configuration fingerprint
Jambonz OSSSBC/B2BUA, registrar, and anchored RTP mediaLatest-version check, source and image pins, all-PASS applicable public-API UDP/plain-RTP matrix, and post-run cleanup
KamailioRFC 3261 transaction-stateful proxy interoperabilityDigest-pinned peer, both hop orders, UDP/TCP/TLS, packet assertions, verified TLS evidence, and post-retention cleanup
OpenSIPSRFC 3261 transaction-stateful proxy interoperabilityDigest-pinned peer, both hop orders, UDP/TCP/TLS, packet assertions, verified TLS evidence, and post-retention cleanup

The 0.5.1 release uses the shorter patch profile: regular unit, integration, regression, example, and doc tests, including TURN/ICE checks. Benchmarks and extended external interoperability were not rerun. See the 0.5.1 release notes and the release's qualification attachments for exact commands, results, and scope.

Historical full-release evidence, retained at its original versions:

  • Qualification report — exact versions, row counts, scenarios, hashes, PASS status.
  • Performance report.
  • RFC 7501/7502 benchmark report: 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).
  • RFC evidence matrix and security posture.
  • Interop plan — the evidence boundaries.
  • Changelog, release notes and the 0.4 migration guide — what changed in this release and how to upgrade from 0.3.

This 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.

Developer-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.

Building and testing the workspace


        git clone https://github.com/eisenzopf/rvoip.git
cd rvoip

# Build the default workspace members
cargo build

# Run a working SIP call
cargo run -p rvoip-sip --example endpoint_local_call

# Run the workspace test suite
scripts/test_all.sh
      

Feature-gated targets (codecs, DTLS-SRTP, generated compliance suites) only build with their features on; use --all-features when you touch a gated path. docs/RELEASING.md describes the release train.

Roadmap

Remaining major items, beyond the developer-preview products above:

  • SIP-over-QUIC and RTP-over-QUIC (RoQ) transport profiles.
  • Integrated multi-party SFU/MCU products beyond the existing media primitives.
  • Production graduation of AAuth as its standards work and deployment evidence mature.
  • Deeper AI participants with multi-agent orchestration beyond today's provider harness.
  • Additional qualification and release gates for the developer-preview products.

Detailed engineering gaps are tracked in docs/GAP_PLAN.md and in issues.

Contributing

  • Bugs: open an issue with reproduction steps.
  • Feature requests: use discussions or issues and describe the target product and compatibility expectations.
  • Pull requests: workspace-wide tests run through scripts/test_all.sh.

License

Licensed under the MIT License.

Built in Rust · Facade API · SIP API · Examples · Issues · Discussions

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗