Proof
How BitVoice is tested, and what has not been tested
A phone system is only as good as the calls it does not drop. This page says what every change must pass, what BitVoice is checked against, and what it has not been tried with yet.
On every change
- The Go tests, with the race detector, on Linux against both SQLite and PostgreSQL, on Windows and on macOS (continuous integration)
- Fuzzing of the SIP, SDP, STUN and SRTP parsers, and of the ISDN facility decoder
- Every setting has a screen: a test walks the whole configuration and fails if any setting is not named in the web interface, so nothing quietly becomes file-only
- Browser tests in Chromium that drive every screen as a person would, and make real WebRTC calls between browser phones and the engine with the sound checked in both directions
Checked against other people's software
| Part | Checked against |
|---|---|
| IAX2 trunks | A real Asterisk 23: registration, calls both ways with sound, busy |
| T1/E1 PRI and BRI | libpri 1.6.1, both sides: calls, caller names, redirecting numbers, hold, transfers handed to the network (DMS-100 release link transfer too), advice of charge, BRI point to point and multipoint |
| MFC-R2 | OpenR2 (the library Asterisk uses), every variant offered, calls both ways |
| SS7 | libss7, ITU and ANSI: link alignment, link tests, calls both ways, circuit resets and blocking |
| G.723.1 | ffmpeg, which BitVoice runs to convert it when that is switched on |
| SIP over WebSocket | JsSIP and SIP.js softphones registering and calling each other through BitVoice |
| Let's Encrypt | Pebble, the test authority from the Let's Encrypt project |
| MP3 hold music | minimp3's C decoder, sample for sample |
| GSM and G.726 | ffmpeg: GSM decoded sample for sample as ffmpeg does, G.726 streams exchanged with it |
| P25 (lab track) | A real ISSI capture from NIST's public-domain tester, and the standard's own encryption examples |
| TTY (lab track) | spandsp's V.18 Baudot, both ways |
| Real-time text and text to 911 (lab track) | Wireshark's RTP, RFC 2198 and MSRP dissectors |
| Caller photos and clips (lab track) | Files tagged by ExifTool: their time and GPS read back |
| Signed NG911 log events (lab track) | A JWS signed by OpenSSL |
| NENA i3 web services (lab track) | NENA's published OpenAPI definitions (the NENA911 repositories): Policy Store, logging service, discrepancy reports, geocode and MSAG conversion, ADR, locator, dequeue, test calls, bad actors; EIDOs against NENA's EIDO schema |
| Text to 911 over TLS (lab track) | Wireshark, decrypting the session with its TLS keys |
| Recordings of callers' live video (lab track) | ffmpeg and ffprobe: every picture decodes, with its own time, after loss and reordering |
| Serial ports (ALI links) | A pseudo-terminal standing in for the cable, on Linux and macOS |
Not yet tried for real
Built and tested against stand-ins or the makers' published formats, but not yet with the real thing. Reports from anyone who tries them are welcome on GitHub.
- Real desk phones: the automatic set-up (Yealink, Poly, Grandstream, Snom, Fanvil, Cisco, Mitel and Aastra, Sangoma, Algo, CyberData) is checked against each maker's published formats, not on the phones themselves
- Calls in from a commercial carrier (calls out to the phone network through SIP.US work), and T.38 fax through a real carrier
- Telephony cards on real lines: PRI has run through real DAHDI drivers on Linux, between two software spans
- Skinny and MGCP equipment, a Microsoft Teams tenant, a hotel's property-management system, Meta's live WhatsApp and Messenger APIs, and the iPhone app on a real iPhone
- The public-safety lab track with a live ESInet, a text control centre, a selective router's CAMA trunks, a P25 system, or a production CAD: built and tested against stand-ins, waiting on a design partner's lab
Not offered
- P25 Phase 2 half-rate voice (AMBE+2): patented until 2028
- Ed448 signatures: not in Go's standard library, and BitVoice writes no cryptography of its own
- An SS7 signal transfer point and SCCP/TCAP: a PBX is an end point; number portability and toll-free lookups are the carrier's
- MFC-R2's China variant: OpenR2's own one contradicts itself, so there is nothing sound to test against
- ALI over PAM or E2: through a gateway
How mature each part is
How far each part has been proven, plainly. Field-tested: run against real systems over a real network (Amazon EC2, the internet, real providers' services). Checked against a reference: tested against an independent implementation or the standard's own data. Software-tested: BitVoice's own tests and browser tests only, not yet with real equipment or accounts. Lab: public-safety parts, not certified.
| Area | Maturity | What it rests on |
|---|---|---|
| SIP trunks: registration, calls in and out, caller ID, busy, keys (RFC 4733) | Field-tested | a commercial carrier, SIP.US (demo account, from EC2): registration and calls out to the public phone network over UDP and over TLS with the carrier's certificate checked; MOS 4.39, no loss. Calls in from the public phone network: T38Fax (fax calls to its number, registration over UDP). Asterisk as the carrier across the internet on EC2; MOS 4.4. Kamailio 5.7 (registration with digest sign-in over TLS, calls both ways, keys) and FreeSWITCH 1.11 (TLS and SRTP, calls both ways, G.722 to G.711) as the far end; MOS 4.39 |
| Desk phones over SIP | Field-tested | Asterisk as a desk phone across the internet. Real Yealink, Poly or Grandstream handsets not tried yet |
| Browser phone (WebRTC) | Field-tested | from outside to EC2; Chromium browser tests with sound both ways |
| Two servers, one PostgreSQL, failover | Field-tested | kill -9 and planned stop on EC2: the call carries on, the provider line moves |
| Private network between sites (peer trunks) | Field-tested | three BitVoice servers in three AWS regions (Virginia, Ohio, Oregon), joined over the internet by TLS trunks with required SRTP and Let's Encrypt certificates: extension calls between every pair of sites, 50 at once, no loss (0.004%), MOS 4.41, the caller's number and name carried across; a hub (calls passed on through a third site, two hops); a deliberate routing loop ended by the hop count (483); a site switched off: calls to it fail in under a second, the others carry on |
| Servers far apart, one PostgreSQL | Field-tested | one cluster across three AWS regions, the database in Virginia over TLS: calls between phones on servers in Virginia, Ohio and Oregon (MOS 4.41); a line for each site ("Used by"), each server sending its calls out on its own; an emergency call from a server with no line of its own went out through another server's; the server carrying a call killed: another region carried it on after 4 s, with 3.6 s without sound; a server cut off from the database for 30 s: its call was carried on elsewhere with no gap and nothing left behind; a database link gone quiet is noticed by the cut-off server in about 7 s and shown on Servers and Health (on AWS with iptables DROP it took about 55 s; the fix is tested with a test link that holds every packet). Real carriers per site not tried |
| One-command install | Field-tested | Ubuntu 24.04 (x86, Arm), Debian 12, Amazon Linux 2023, Windows Server 2022, Windows 11 (as administrator and not, in PowerShell 5.1 and 7), Ubuntu 20.04 and Fedora 42 in containers, macOS 26 on Apple silicon (for one person, and with sudo for the whole Mac in CI); back after a reboot |
| Capacity | Field-tested | 2,000 calls at once, no loss, MOS 4.41, on a 16-vCPU c7i.4xlarge (about 10 vCPUs busy); 200 at once on c7g.large, c7i.large, t4g.small, an M4 and the Lightsail nano. At 2,000: jitter 4.0 ms for 95% of calls, longest gap between packets 74 ms, longest garbage-collection pause 4.2 ms |
| FreePBX migration (Import) | Field-tested | a real FreePBX 17.0.33 backup (70 MB) imported whole; others from FreePBX's own formats |
| AI transcripts, summaries, receptionist | Field-tested | a real model through OpenRouter |
| Facts and summaries without a language model | Software-tested | invented 911 calls only: 23 of 43 facts (53%) on the sealed set, 3 facts no one expected; 41/41 training, hold-out 27/40 cold. Never measured on real calls. |
| Speech to text on this server (whisper) | Field-tested on macOS and Linux | whisper-server 1.9.5 run by BitVoice: on a Mac, and on Ubuntu on EC2 (x86-64), where it wrote the live call and voicemail transcripts in the phone app's field test; downloads for every platform built and tried in CI |
| Archive to S3, secrets from AWS Secrets Manager | Field-tested | real AWS, our own SigV4 |
| SNMP monitoring and traps | Field-tested | net-snmp's snmpwalk and snmptrapd |
| Let's Encrypt | Field-tested | issues and renews the public demo's certificate |
| Machine images (AWS) and configuration as code | Field-tested | an EC2 image built by deploy/cloud/build-images.sh from Ubuntu 24.04: each server from it starts new; deploy/terraform with OpenTofu 1.13 (create, change, no drift, destroy). Azure images not tried |
| IAX2 trunks | Checked against a reference | Asterisk 23 |
| Full ICE behind NAT (STUN and TURN client) | Checked against a reference | Chromium's ICE agent (host candidates and relay only), JsSIP softphones with BitVoice offering, coturn 4.18 and BitVoice's own TURN server as relays, mDNS host names of Chromium resolved. Not yet tried from a server behind a real NAT router |
| ICE restart (a phone changing network mid-call) | Checked against a reference | Chromium restarting ICE on a browser phone call (BitVoice as ICE-lite and as a full agent) and SIP.js 0.21 restarting by re-INVITE over SIP over WebSocket: new credentials both ways, a new candidate pair, sound every half second through the restart. Not yet tried on a phone really moving from Wi-Fi to a mobile network |
| Everyone's-video rooms (SFU, simulcast) and screen sharing | Checked against a reference | Three Chromium browsers in one room, each sending three sizes (VP8 simulcast) and receiving the two others; sizes switched at keyframes as tiles grow and shrink. Cameras and a shared screen (Chromium's own screen capture) in an H.264 room. Not yet tried with Firefox or Safari, over the internet, or with more than three cameras; H.264 simulcast picks layers by the browser's order only. |
| SIP History-Info and Diversion (forwarded calls) | Checked against a reference | Asterisk 20's PJSIP both ways: its forwarded calls read by BitVoice, and BitVoice's forwards read by Asterisk's REDIRECTING() from History-Info alone and from Diversion alone; RFC 7044 entries kept and extended on a forward on. Not yet tried with a carrier or Teams sending them |
| Company directory (LDAP, Active Directory) | Checked against a reference | OpenLDAP 2.4 (StartTLS and LDAPS, 1,203 people read through paging past its 1,000 limit, groups, sign-in) and Samba 4's Active Directory (LDAPS, paging past 1,000, disabled accounts left out, nested groups for ring groups and roles). Not tried against Microsoft's own Windows Server domain controller |
| Microsoft 365 and Google Workspace (contacts and calendars) | Software-tested | against stand-ins of Microsoft Graph (users, organisation contacts, calendar getSchedule, the client-credentials token) and of Google's People API, Calendar freeBusy and JWT-bearer token, written from their published references; the stand-ins check what BitVoice sends (the JWT's signature and claims, paging, request bodies). Not yet tried with a real Microsoft 365 tenant or Google Workspace domain. |
| The screens in 14 languages | Software-tested | every piece of text the screens show (about 5,000, from the code: JSX text, strings, and the server's messages) machine-translated by Llama 3.3 70B into 13 languages, 99% kept by the checks (the same placeholders, addresses and codes untouched); German drawn through the browser tests (sign-in, menu, search, a form, back to English). Not reviewed by a person in any language. |
| ARI (Asterisk REST Interface) | Checked against a reference | every operation of Asterisk's published ARI called and its answer checked against the model's required fields; ari-client 2.2.0, Asterisk's JavaScript library, reading /ari/api-docs and running an application |
| AGI and FastAGI (Asterisk Gateway Interface) | Checked against a reference | every command's answer compared with Asterisk 20.6's over FastAGI; a FastAGI server written with pyst2 running a call; EAGI audio to a program. Not tried with a production IVR |
| AI assistants over MCP | Checked against a reference | the official MCP TypeScript SDK (1.32.2) as the client: tools listed and called with an API token over Streamable HTTP (protocol 2025-11-25), and its OAuth sign-in end to end (discovery, registration, PKCE, token, refresh); the consent page in Chromium; the stdio bridge against a test server. Not yet tried with Claude, ChatGPT or another assistant itself, which needs a server reachable from the internet with a trusted certificate. |
| H.323 trunks | Checked against a reference | H323Plus 1.28 (its simph323 playing and recording WAV files) on EC2: calls both ways with Fast Connect and G.711, each end hearing the other's tone, MOS 4.39; call set-up also with Asterisk's chan_ooh323 (whose own sound is broken in Asterisk 22) |
| SIP over WebSocket | Checked against a reference | JsSIP and SIP.js |
| Codecs: GSM, G.726, iLBC, MP3 hold music | Checked against a reference | ffmpeg, the RFC 3951 reference program and minimp3, sample for sample |
| Codecs: G.711, G.722, G.729, Opus, Speex | Checked against a reference | G.711 and G.722 byte for byte and sample for sample with spandsp; G.729's decoder sample for sample on all seven of ITU's own Annex A test vectors (bcg729 is not), its encoder interworking with bcg729 at the same quality (G.729 does not require encoders to match); Opus packets decoded by libopus 1.6.1 and libopus's packets decoded as libopus does; Speex packets and sound identical to libspeex 1.2.1; Opus calls with the Android app |
| Codecs: AMR-NB, AMR-WB | Checked against a reference, with a known gap | AMR-WB decodes like opencore-amr sample for sample, and on 3GPP's own TS 26.174 test sequences matches 3GPP's decoder exactly on 167 of 198 and is never measurably below it; the AMR-NB encoder frame for frame with opencore-amr, but its decoder is close, not exact (about 31 dB from opencore). Both come from the pinned goamr libraries |
| Codecs carried untouched: G.722.1 (Siren 7), G.722.1C (Siren 14), G.719, Codec2 | Software-tested | own tests: offered with their bit rate or mode, answered, packets both ways byte for byte; not converted (no free reference code BitVoice may ship for G.722.1 and G.719). Not yet tried with a real Polycom or room system. |
| ISDN PRI and BRI, T1/E1 | Checked against a reference | libpri (Asterisk's), both sides; and on EC2 through the real DAHDI 3.4 kernel driver (two spans wired together in the kernel, Asterisk 20's chan_dahdi as the phone company): calls both ways with numbers and names, all 23 channels at once, MOS 4.39. No physical card or line yet |
| MFC-R2, E&M | Checked against a reference | OpenR2; MF tones by our own tests. No real card or line tried |
| SS7 (ISUP, MTP, link sets of several links with changeover) | Checked against a reference | libss7 (Asterisk's chan_dahdi library), ITU and ANSI. No real carrier link tried |
| Fax (T.30, T.38) | Field-tested | a fax carrier, T38Fax (free trial, from EC2): BitVoice sending a fax over the public phone network to its own number and receiving it, both over T.38 (2 pages, 14,400 bit/s, the pages arrived intact; registration with username and password); and passing a fax through between a fax machine on a gateway (Asterisk with spandsp, standing in for one) and T38Fax, out and back in, 2 pages at 14,400 bit/s both ways: once all on G.711 (the gateway refusing T.38) and once switched to T.38 on both sides. spandsp (through Asterisk 20) on EC2: receiving and sending over T.38 with error correction, and passing faxes between two other machines over T.38 and over G.711. No hardware fax gateway tried, and T38Fax never asked for T.38 itself, so a carrier's switch refused by the gateway was not seen |
| Provisioning: Yealink, Poly, Grandstream, Snom, Fanvil, Cisco, Mitel, Sangoma, Algo, CyberData | Software-tested | the vendors' documented formats; not on real handsets |
| Skinny (SCCP) phones, MGCP gateways | Checked against a reference | Skinny: phones from the open-source mwicat/sccp library, every message read by Wireshark's dissector, sizes as Asterisk's chan_skinny; MGCP: Yate's MGCP gateway (restart, provisional answers, acknowledgements; it has no analogue ports, so no call). No Cisco phone or gateway hardware tried |
| Microsoft Teams Direct Routing | Software-tested | against a simulated Microsoft proxy following Microsoft's published Direct Routing SIP rules (OPTIONS, Contact, user=phone, client certificate, transfers Teams asks for by REFER with x-m and x-t); no Teams tenant tried: Microsoft offers none free (Teams Phone licences) |
| Hotel (FIAS) | Checked against a reference | every record BitVoice sends checked against Oracle's published FIAS 2.20.23 specification (link start, link records, postings, wake-up answers); own tests. Not yet against Opera itself |
| Texting, WhatsApp, Messenger, web chat | Checked against a reference (Twilio, Telnyx, Bandwidth, Vonage, TextMagic, WhatsApp) | Texts through Twilio, Telnyx, Bandwidth, Vonage and TextMagic, and WhatsApp texts, templates and template lists, against mocks built from the providers' own published OpenAPI specifications (Stoplight Prism, refusing anything the specification does not allow; TextMagic's is the one its own client is generated from). Vonage's showed the key belongs in HTTP Basic, no longer in the form. SignalWire speaks Twilio's API; Plivo, Flowroute, VoIP.ms and Messenger publish no specification and are checked against stand-ins written from their documentation. No live account tried |
| CRM caller cards, Azure Blob, Azure Key Vault | Checked against a reference | EspoCRM (a real open-source CRM, in Docker) for caller cards; Microsoft's Azurite emulator for Blob uploads (container SAS, refusals); Lowkey Vault for Key Vault with a managed identity. Not yet against Azure itself or a hosted CRM |
| Spam screening: robot test, unknown callers, spam database, *32, suggestions | Software-tested | BitVoice's own tests: a provider calling in over SIP and pressing keys (RFC 4733) at the robot test, passing and failing it; known, always-allowed and emergency call-back callers ringing at once; the spam database against a stand-in that answers the way Twilio documents its Lookup with the Nomorobo add-on (no Twilio account tried); *32 from a desk phone; suggestions from call records; the settings through the browser tests. Not yet tried against real robocalls or a paid database |
| iPhone and Android apps | Field-tested (Android) | Android: a Google Pixel 8 (Android 16, Wi-Fi) with the signed release build against BitVoice on EC2 with a Let's Encrypt certificate: paired by link, rang with Android's call notification, answered from it, audio both ways, kept connected with the screen off and in the background (its ongoing-call notification, Hang up); without push it does not ring in the background. With push (BioDream's Firebase project, against demo.bitvoice.org): the app's process stopped, a call rang it over the lock screen and was answered (Opus, MOS 4.39); this test found that Google refuses a data key named "from", which had stopped every Android push (fixed in v0.1.16). Through BioDream's push relay (bvpush at push.bitvoice.org, 2026-11-11): the demo set to the relay, the app's process killed and the screen off, a call woke it on the lock screen and was answered; unsigned and wrongly signed pushes refused (401). A Google Pixel 11 (Android 17) in AWS Device Farm: paired, rang, answered, called out; Opus, MOS 4.1. iPhone: the app (SwiftUI, CallKit, PushKit VoIP) builds against the current SDK (Xcode 27) and the server signs Apple VoIP pushes (APNs, ES256); the same real-device fixes as Android and an App Store listing (ios/AppStore) are in. Both apps are a full extension: transfer (blind, over REFER), hold and a second call, keypad and mute, with Recents, visual Voicemail (with transcripts), a Team busy-lamp, Contacts, the staff Chat (colleagues with presence, direct messages and rooms, with a notification in the background and a push when the app is closed), a video-room picker (lists the SFU rooms with who is in each, joins as the extension, shown as a video call on the phone call screen) and a live AI transcript on the call (AI.LiveCallTranscripts); transfer, hold, the live transcript, the chat reaching a colleague, the room list, a room joined by a phone and the chat push shape are each covered by an engine-level, API or browser test. On the Pixel 8 (2026-10-30, debug build, EC2 with Let's Encrypt): rang and answered from the notification, held and resumed (the Android call state follows), called out on the Android call system, Opus both ways with MOS 4.38 and no loss; joined a video room with its camera (asked for at first use) and saw a desktop camera, both live; a chat message in the background notified and opened Chat. Hold and transfer reach the native call screen (CallKit, Telecom). Not yet run on an iPhone or submitted: push, the system call screen and signing need our own Apple Developer account |
| 911 profile, radio console, NG911 Core Services, caller video | Lab | NENA's schemas and sample data, Wireshark, spandsp, OpenSSL, ExifTool, ffmpeg, a NIST P25 capture (its IMBE voice frames unpacked as mbelib unpacks them: same pitch, harmonics, voicing and amplitudes); never on a live ESInet, P25 system or PSAP CAD, and not certified |
| P25 Phase 2 half-rate voice (AMBE+2) | Not offered | patented until 2028 |
| Ed448 signatures (NENA) | Not offered | not in Go's standard library, and BitVoice writes no cryptography of its own; Ed25519 is used |
| SS7 signal transfer (STP), SCCP and TCAP | Checked against a reference | OsmoSTP 2.3.0 over M3UA/TCP with libosmo-sigtran's SCCP echo user behind it: UDT and XUDT both ways, UDTS returned, global title translation through the STP, a switch on a link set reaching the echo over IP; TCAP against libosmo-asn1-tcap both ways. ITU only; no SCTP, connection-oriented SCCP or SCCP management; no real carrier tried |
| MFC-R2 China variant (China No. 1) | Software-tested | every signal of a call checked against Cisco's published China tables and call sequences (KA, KD, Group B by the KD sent, C and D bits 11). OpenR2's China variant disagrees with itself, so no program to test against; no real line tried |
| ALI over PAM or E2 | Not offered | PAM is Intrado's own protocol with no published specification; E2 (J-STD-036, NENA 05-001) runs between a mobile positioning center and the ALI database, not to a PSAP. BitVoice speaks the request-and-text ALI links and HELD instead |
Capacity
Measured with BitVoice's own call generator (Health, Call generator) on v0.1.6: one extension calls another, which the generator answers and sends the audio back, G.711 with media relayed through BitVoice, 45 seconds a call. The generator runs inside the same process, so each call is carried three times over (caller, PBX, answerer): the PBX alone needs less.
On an Apple M4 desktop (10 cores, 16 GB):
| Calls at once | Answered | Set-up time (p95) | Audio loss | MOS | CPU (peak, of one core) | Memory |
|---|---|---|---|---|---|---|
| 50 | 50 of 50 | 4.1 ms | 0% | 4.41 | 77% | 57 MB |
| 100 | 100 of 100 | 3.6 ms | 0% | 4.41 | 141% | 72 MB |
| 200 | 200 of 200 | 2.9 ms | 0% | 4.41 | 171% | 98 MB |
On the public demo's server, an Amazon Lightsail nano (2 vCPUs, 512 MB, about $5 a month), with the demo's own data and services running:
| Calls at once | Answered | Set-up time (p95) | Audio loss | MOS | CPU (peak, of one vCPU) | Memory |
|---|---|---|---|---|---|---|
| 50 | 50 of 50 | 11.4 ms | 0% | 4.41 | 46% | 61 MB |
| 100 | 100 of 100 | 7.8 ms | 0% | 4.41 | 95% | 74 MB |
| 200 | 200 of 200 | 20.9 ms | 0% | 4.41 | 186% | 101 MB |
A nano's CPU is burstable: 200 calls at once uses nearly both vCPUs, which it can do for a while, not all day.
On Amazon EC2 with Ubuntu 24.04, v0.1.7 installed with the one-command installer and nothing else running (CPU is the peak, of one vCPU):
| Machine | 50 calls at once | 100 calls | 200 calls |
|---|---|---|---|
| c7g.large (Graviton3, Arm, 2 vCPUs, 4 GB) | 23% CPU, 44 MB | 40%, 59 MB | 84%, 88 MB, 3.6 ms set-up |
| c7i.large (Intel, 2 vCPUs, 4 GB) | 28% CPU, 46 MB | 52%, 60 MB | 101%, 89 MB, 6.6 ms set-up |
| t4g.small (Graviton2, Arm, 2 vCPUs, 2 GB, burstable) | 45% CPU, 44 MB | 104%, 60 MB | 147%, 90 MB, 8.5 ms set-up |
Every run: all calls answered, 0% audio loss, MOS 4.41.
On a big machine, Amazon EC2 c7i.4xlarge (Intel, 16 vCPUs, 32 GB), Ubuntu 24.04, the build of 2026-10-24, media ports widened to 10000-32000 in Settings (the default range, 10000-20000, holds about 1,800 relayed calls):
| Calls at once | Answered | Set-up time (p95) | Audio loss | MOS | CPU (with every call up, of one vCPU) | Memory |
|---|---|---|---|---|---|---|
| 200 | 200 of 200 | 2.1 ms | 0% | 4.41 | 112% | 88 MB |
| 500 | 500 of 500 | 3.0 ms | 0% | 4.41 | 267% | 172 MB |
| 1,000 | 1,000 of 1,000 | 4.9 ms | 0% | 4.41 | 543% | 320 MB |
| 1,400 | 1,400 of 1,400 | 6.9 ms | 0% | 4.41 | 732% | 353 MB |
| 1,700 | 1,700 of 1,700 | 8.7 ms | 0% | 4.41 | 903% | 396 MB |
| 2,000 | 2,000 of 2,000 | 10.6 ms | 0.00001% | 4.41 | 1,038% | 380 MB |
2,000 calls at once used about 10 of the 16 vCPUs, with the generator's own callers and answerers in the same process. 2,000 is the generator's ceiling, not BitVoice's. The run found that a changed media port range only applied after a restart; it now applies at once. Your numbers depend on the codec, conversion, recording and the network: run the generator on your own server before you go live.
Jitter, gaps and pauses
The call generator also times how the sound came back (build of 2026-10-26): each call's interarrival jitter (RFC 3550, averaged over the call) and its longest wait between two packets, which come every 20 ms, so a stall of the server shows there; and the Go runtime's stop-the-world garbage-collection pauses during the run. The generator's callers and answerers run in the same process, so their own scheduling is in these figures too.
On Amazon EC2 c7i.4xlarge (16 vCPUs), Ubuntu 24.04, media ports 10000-32000:
| Calls at once | Audio loss | Jitter, 95% of calls | Longest gap: median call, worst call | GC pauses: count, 99%, longest |
|---|---|---|---|---|
| 200 | 0% | 0.7 ms | 25 ms, 26 ms | 456, 1.8 ms, 3.1 ms |
| 500 | 0% | 1.2 ms | 29 ms, 31 ms | 540, 1.8 ms, 2.1 ms |
| 1,000 | 0% | 1.7 ms | 35 ms, 43 ms | 652, 1.6 ms, 2.1 ms |
| 1,500 | 0% | 2.8 ms | 47 ms, 57 ms | 722, 1.6 ms, 2.1 ms |
| 2,000 | 0% | 4.0 ms | 63 ms, 74 ms | 868, 1.6 ms, 4.2 ms |
On the Apple M4 desktop:
| Calls at once | Audio loss | Jitter, 95% of calls | Longest gap: median call, worst call | GC pauses: count, 99%, longest |
|---|---|---|---|---|
| 50 | 0% | 0.4 ms | 24 ms, 25 ms | 176, 0.4 ms, 0.5 ms |
| 200 | 0% | 1.6 ms | 30 ms, 33 ms | 312, 0.4 ms, 0.5 ms |
| 500 | 0% | 1.9 ms | 28 ms, 33 ms | 464, 0.3 ms, 0.5 ms |
| 750 | 3.9% | 1.9 ms | 47 ms, 55 ms | 550, 0.3 ms, 0.4 ms |
The longest garbage-collection pause in any run was 4.2 ms, well under one packet's 20 ms, so the collector does not cut the sound. The longest gap grows with the load (the machine running 2,000 callers, 2,000 answerers and the PBX between them), to 74 ms at worst at 2,000 calls: a phone's jitter buffer rides that out without a sound lost. On the Mac, sound began to be lost between 500 and 750 calls at once, with macOS counting UDP packets dropped for full socket buffers; Linux on the 16-vCPU machine lost none at 2,000.
The iPhone app is tested in the iOS Simulator against a real BitVoice: paired by link, rung by a call, answered and hung up (mobile/ios/BitVoiceUITests). The phone's own call screen and push wake-up need a real phone and are not yet tried on one. The Android app is tried on the Android 15 emulator the same way (paired, rung, answered with Opus and no loss); its first run there found and fixed a crash on every start after the first.
Status, plainly. The phone system is working. The 911, radio console and NG911 Core Services profiles are built and tested against stand-ins and real captures, not yet against a live ESInet, P25 system or PSAP CAD, and not certified for live 911 or public-safety use. P25 Phase 2 half-rate voice (AMBE+2) is not included: it is patented until 2028. Phase 2 systems whose ISSI talkgroups carry full-rate voice work today.