Inside a Sub-Second Contractor AI Receptionist: Telnyx SIP, LiveKit Media, Spam Filtering & Google LSA Lead Recovery OnCrew detailed the architecture behind its sub-second AI receptionist for home-service contractors, streaming audio through a Telnyx SIP trunk and LiveKit WebRTC media room with streaming VAD, STT, LLM token generation and sentence-chunked TTS to keep turn latency under roughly 900ms, versus 1,800–3,400ms for naive webhook prototypes. The system adds trade-specific deterministic safety triggers across 14 trades, a post-call pipeline that filters spam and sub-15-second hang-ups (which the company says make up 30.4% of inbound contractor traffic), and a Google LSA invalid-lead dispute packet generator. When a homeowner calls an HVAC or plumbing shop at 2:14 AM with water pouring out of a burst supply line, a 2.5-second pause after "Hello?" is not a minor UX wart. It is an immediate hang-up and a $1,200 job handed to the next listing on Google. Across 6,273 anonymized contractor calls we analyzed in 2026: Building a voice AI receptionist that survives real home-service calls attic noise, barking dogs, stressed homeowners, carrier forwarding quirks, and $75/call Google Local Services Ads spam turns out to be a telephony and state-machine engineering problem far more than a prompt-engineering problem. Here is the real architecture we use at OnCrew https://oncrew.ai to keep voice latency sub-second, stop contractors from paying for robocalls, capture job photos mid-call, and recover invalid Google LSA ad spend automatically. Most prototype AI receptionists stitch together naive HTTP webhooks: php PSTN - SIP Carrier - Twilio/Legacy Media Stream - Wait for full utterance - REST STT - Non-streaming LLM - Full TTS buffer - Audio playback Typical end-to-end turn latency: 1,800ms to 3,400ms In a live emergency call, anything past ~900ms feels broken. Callers assume the line dropped, say "Hello? Are you there?", collide with the bot's delayed audio, and trigger cascading barge-in resets. To hold sub-second conversational turn latency on PSTN phone calls, every layer has to stream: Caller PSTN / Carrier Forward | v Telnyx SIP Trunk US local DID, low-jitter RTP | v LiveKit Real-Time Media Room WebRTC / SIP bridge | +-- Streaming VAD + Turn Endpointing distinguish pause vs done speaking +-- Streaming STT word-level partial transcripts +-- Trade-Specific State Machine + Streaming LLM Token Generation +-- Sentence-Chunked Neural TTS first audio byte before LLM finishes | v Structured Post-Call Pipeline: 1. Spam / <15s unbilled filter 2. Urgency + Safety Classification 14 home-service trades 3. Instant On-Call Tech SMS + Dashboard Recording/Transcript 4. Google LSA Invalid-Lead Dispute Packet Generator 5. Native Calendar / FSM / REST Webhook call.completed & call.urgent Three telephony details matter more in production than almost anything else: Open-ended LLM instructions are risky when life-safety calls arrive. Before asking for a zip code or booking preference, contractor intake needs deterministic safety triggers tailored to each trade: | Trade | Immediate Safety Trigger | Required First Action | Escalation Path | |---|---|---|---| | HVAC | Natural gas odor, rotten-egg smell, CO detector chirping | Advise stepping outside immediately & calling 911 / gas utility | Flag urgency: emergency , notify on-call lead | | Plumbing | Active flooding, burst main line, water near electrical panel | Guide caller to shut off main water valve / cold supply | Capture street address + SMS photo of leak/tank | | Electrical | Sparking panel, burning plastic smell, downed drop line | Advise staying clear & cutting main breaker only if safe | Immediate live transfer or Press-1 tech escalation | | Roofing | Active ceiling collapse, exposed live wiring in storm leak | Advise moving away from sagging drywall / turning off circuit | Capture storm leak photo + priority callback | You can build and export a printable 3-tier escalation SOP across 14 trades no signup required using our free On-Call Escalation Builder https://oncrew.ai/tools/on-call-escalation-builder . Traditional call centers and several per-call AI vendors charge for every answered leg: Because 30.4% of real inbound contractor phone traffic consists of <15s hang-ups, silent dialers, and solicitation robocalls, billing every connected call acts as a hidden 30% tax on the contractor. In our post-call metering pipeline, every finished SIP leg passes through an automated billing-exclusion filter before minutes decrement: abandoned / zero meaningful caller intent and billed Taking a name and callback number is table stakes. The real operational leap happens while the caller is still on the phone : For home-service shops and the PPC agencies managing their ad spend, missed calls and junk Google Local Services Ads LSA leads are often a bigger leak than answering fees. At $50 to $120 per Google LSA call , roughly 15% - 25% of inbound paid calls are disputable: Most small shops eat the loss because nobody has time on Friday evening to scrub recordings and build evidence notes. By enforcing zip-code and service-scope verification inside the first 30 seconds of every call, the post-call pipeline automatically tags invalid LSA legs and generates a 1-click timestamped transcript + recording dispute packet. Recovering just two invalid LSA calls per month covers the entire cost of a $49 - $149/month receptionist plan. Contractors and agencies can model exact monthly recovery math with our free Google LSA Credit Calculator https://oncrew.ai/tools/google-lsa-calculator or inspect our Agency Partner Portal https://oncrew.ai/agencies . Instead of locking small shops into a single $2,000/month enterprise CRM, clean REST hooks let any shop connect call outcomes to Housecall Pro, Workiz, FieldEdge, Service Fusion, Google/Outlook Calendar, Slack, Google Sheets, or Zapier call.completed and call.urgent . A clean v2 webhook payload looks like this: { "event": "call.urgent", "call log id": "00000000-0000-4000-8000-000000000001", "company name": "Summit Plumbing and Heating", "company trade": "hvac", "duration seconds": 96, "caller name": "Dana Reyes", "callback number": "+15125550142", "caller location": "4116 Lawless St, Austin, TX", "commercial or residential": "residential", "job type": "AC repair", "service needed": "AC running but blowing warm air, house at 84F", "urgency": "emergency", "outcome": "lead", "wants immediate callback": true, "summary": "Dana's AC is running but not cooling 84F indoors . Requests same-day repair.", "recording url": "https://oncrew.ai/calls/00000000-0000-4000-8000-000000000001", "dashboard url": "https://oncrew.ai/calls/00000000-0000-4000-8000-000000000001" } Filtering out test calls, <15s hang-ups, and the shop's own team numbers before firing call.completed keeps downstream CRMs free of junk records. Half of all trial drop-offs happen at a surprisingly mundane step: forwarding the shop's existing phone number without breaking day-to-day calls. Most owners do not want unconditional forwarding 72 , which sends every daytime call away from their phone. They want conditional forwarding busy / no-answer / unreachable so the phone rings 3 - 4 times in their pocket first, and only routes to the AI receptionist if they cannot answer on a ladder or after hours: 71<10-digit-number conditional vs 72 all calls ; cancel with 73 . 61