HardCall — 52ms 8kHz Raw RTP Voice Barge-In Infrastructure

HardCall

4 min read Original article ↗

52ms Full-Duplex Barge-In · Raw 8kHz RTP / FreeSWITCH Telephony Engine

WebSocket Voice AI lags.Go 52ms full-duplex.

Standard WebSocket voice wrappers talk over PSTN callers for 900ms+. Hear the A/B waveform proof below, inspect a real 48h SIP/RTP flamegraph report, or deploy our self-hosted 8kHz RTP + SOXR VHQ gateway.

✓ 0.16ms 256-Frame Ring Flush✓ SOXR VHQ 8kHz→16kHz Lossless✓ ≥40% Latency Cut or 100% Refund SLA

ACOUSTIC EVIDENCE · RAW 8kHz RTP VS WEBSOCKET WRAPPERS

Hear why callers hang up on 920ms WebSocket voice agents.

Built for AI call centers, healthcare intake, insurance claims, and outbound voice startups eliminating PSTN double-talk, TCP head-of-line stalls, and 8kHz aliasing.

Inspect Open-Source RTP Lab →

8KHZ PSTN BANDPASS VOICE BENCHMARK — HEAR 920MS DOUBLE-TALK VS 52MS CUTOFF

AI Claims IVR (8kHz)Caller Barge-In @ 1.4s920ms Collision

Legacy WebSocket / TCP Telephony

920ms AI + Caller double-talk collision

AI: "Thank you for calling automated insurance claims..." → Caller @ 1.4s: "Stop! Skip the script—is tow unit 4819 dispatched?!" while AI keeps talking over the caller until 2.32s.

HardCall 8kHz Raw RTP Gateway

51.96ms (~52ms) flush + instant turn reply

Caller @ 1.4s: "Stop! Skip the script—is tow unit 4819 dispatched?!" → AI cuts cleanly at 1.452s (51.96ms) & replies: "Unit 4819 is 11 minutes away on I-95."

Benchmark DimensionStandard WebSocket WrapperHardCall 8kHz RTP Engine
End-to-End Barge-In Cutoff850ms – 1,400ms51.9ms – 60ms (Fast-Loop VAD)
Outbound Audio Ring Flush300ms+ trailing overlap0.16ms (256-frame teardown)
PSTN 8kHz → 16kHz ResamplingLinear aliasing / digit WER spikeSOXR VHQ lossless pipeline
Packet Loss & Jitter HandlingTCP head-of-line stallsRaw UDP/RTP ptime=20ms

SAMPLE $299 DELIVERABLE PREVIEW (48H TURNAROUND)

What your engineering team receives inside the 48h SIP/RTP Latency Audit

≥40% Latency Cut or 100% Refund

STAGE A · PSTN RTP

20.0 ms

G.711 u-law ptime=20ms

STAGE B · JITTER BUF

12.0 ms

Adaptive UDP de-jitter

STAGE C · RESAMPLER

1.8 ms

libsoxr VHQ 8k→16kHz

STAGE D · FAST VAD

18.0 ms

Silero speech onset

TOTAL CUTOFF P95

51.96 ms

+0.16ms 256-frame flush

INTERACTIVE PSTN BARGE-IN SANDBOX (ZERO API KEY)

Stress-test full-duplex turn-taking live.

Scenario: Impatient Policyholder Mid-Sentence Cutoff

PRODUCTION 8kHz RTP ARCHITECTURE

Engineered for real PSTN trunks inside your VPC.

Powered by hardcall-rtp-orchestrator

PTIME = 20MS · UDP/RTP

Zero TCP Head-of-Line Blocking

Direct FreeSWITCH / Asterisk UDP RTP socket bridge keeps jitter bounded even on lossy cellular PSTN legs.

256-FRAME RING · 0.16MS

Deterministic Outbound Tail Cut

Two-tier Silero Fast-VAD (50ms pause + 200ms semantic guard) flushes queued TTS frames before callers hear overlap.

LIBSOXR VHQ · VPC NATIVE

Lossless 8kHz → 16kHz ASR Feed

Eliminates high-frequency aliasing on G.711 phone audio for Deepgram, Whisper, Qwen, OpenAI, and Cartesia/ElevenLabs.

TRANSPARENT B2B ENGINEERING TIERS · SLA GUARANTEED

Ship sub-60ms telephony barge-in without 3 months of R&D.

Compare against 2–3 months of senior telephony engineer salary ($30,000+). Every engagement is backed by Creem.io corporate tax invoicing and our >=40% latency reduction SLA.

Tier 1 · 48h Diagnostic Pilot

$299 one-time

48h Voice Latency Audit & Patch Plan

  • • Dial & profile your live SIP number or WebRTC agent
  • • Frame-by-frame RTP/VAD/TTS overlap flamegraph
  • • Concrete patch roadmap delivered within 48 hours
  • • 100% of $299 credited toward $1,200 Kit within 30 days
  • • SLA: Identify ≥40% latency cut or 100% full refund

Tier 2 · Self-Hosted KitMOST POPULAR

$1,200 commercial license

8kHz RTP Gateway Source & Docker Kit

  • • Full FreeSWITCH ptime=20ms + SOXR VHQ Docker stack
  • • 256-frame outbound ring buffer & 0.16ms flush source
  • • Plugs into Deepgram, OpenAI, Qwen, ElevenLabs, Cartesia
  • • Perpetual VPC license + 2h live architect onboarding

Tier 3 · Turnkey Enterprise

$3,000+ custom SOW

Custom SIP Cluster & SLA Integration

  • • Hands-on integration into your AWS/GCP VPC & SIP carrier
  • • 200+ concurrent channel load testing & p99 SLA tuning
  • • Custom two-tier semantic interruption guard tuning
  • • 30-day dedicated Slack / engineer support channel

Request Custom SOW Quote →

FREE 15-SECOND LIVE SPOT CHECK ON YOUR AGENT

Paste your live demo phone number or WebRTC URL — see your exact barge-in lag before spending $299

Enter your work email and your live PSTN test number (+1...) or current stack (Twilio, LiveKit, Vapi, Retell, Pipecat). We'll send back our 51.9ms reference trace immediately and spot-check your live line.

B2B ENGINEERING & PROCUREMENT FAQ

Technical due-diligence answers before kickoff

1. How does the $1,200 Commercial Kit differ from the open-source RTP lab?

The public repo shows single-stream reference primitives. The $1,200 Kit delivers the hardened multi-channel FreeSWITCH mod_audio_fork Docker stack, libsoxr VHQ 8kHz→16kHz C-binding worker pool, two-tier 50ms/200ms semantic cough guard, perpetual commercial VPC license, and 2 hours of live architect integration.

2. Is the $299 48h Latency Audit credited if we upgrade to the $1,200 Kit?

Yes — 100% of your $299 audit fee is credited toward the $1,200 Self-Hosted RTP Kit within 30 days, and if our 48h flamegraph fails to pinpoint ≥40% barge-in latency savings on your live line, we refund $299 in full.

3. Which SIP trunks and STT/LLM/TTS providers are supported?

Works out of the box with Twilio Elastic SIP, Telnyx, Bandwidth, Vonage, FreeSWITCH, and Asterisk (G.711 u-law/A-law, ptime=20ms), bridging cleanly to Deepgram, OpenAI Realtime, Qwen, ElevenLabs, and Cartesia.

4. Does any caller audio ever transit HardCall servers?

Zero external audio egress. The $1,200 RTP Gateway runs 100% self-hosted inside your own AWS/GCP/on-prem VPC, meeting strict HIPAA, PCI-DSS, and financial telephony compliance.