Skip to content

[Epic] Telephony, channels, and runtime reliability #82

Description

@rahuliitk

Parent roadmap: #76

Problem

QuickVoice supports Twilio and Telnyx number purchase/binding, LiveKit SIP, web preview/widget sessions, recordings, outbound calls, and a configurable STT/LLM/TTS runtime. Production users also need existing-carrier connectivity, sophisticated routing and handoffs, channel-consistent context, provider fallback, and transparent behavior during partial outages.

Outcome

Customers can connect or port telephony, define inbound and outbound routing, move conversations safely between AI and humans, operate across phone and web channels, and maintain a controlled degraded experience when a carrier, model, speech provider, tool, or region fails.

Required capabilities

  • BYOC SIP trunks, credential/IP/TLS/SRTP options, number porting workflow, caller-ID verification, routing rules, business hours, regional ingress/media, health checks, and failover.
  • Warm and cold transfer, queues, ring groups, skills/availability routing, scheduled callbacks, live takeover, supervisor whisper, and concise structured handoff context.
  • Configurable provider/model policy using language, region, health, latency, quality, capability, price, privacy, and capacity.
  • STT/LLM/TTS fallbacks with compatible voice/config mapping and observable reason codes.
  • Web voice/widget and mobile-friendly SDK lifecycle, authenticated sessions, DTMF, voicemail, answering-machine behavior, hold/resume, mute, hangup, and optional SMS follow-up.
  • End-to-end concurrency, timeout, cancellation, retry, and capacity controls.

Child issues

Acceptance criteria

  • Routing decisions are deterministic, versioned, explainable, and testable without placing a paid call where possible.
  • Provider or regional health degradation can shift eligible new sessions without interrupting incompatible in-flight calls silently.
  • A handoff communicates consented context and an accurate summary while respecting retention and redaction policy.
  • Missing human availability follows configured queue/callback/voicemail/fallback behavior.
  • All call-control actions are authorized, idempotent, and auditable.
  • Channel SDKs expose documented connection and failure states and recover from transient disconnects within policy.
  • SIP, transfer, routing, failure injection, fallback, concurrency, DTMF, voicemail, session auth, and redaction tests are included.

Boundaries

Emergency calling, lawful caller-ID presentation, number eligibility, media residency, and carrier behavior vary by provider and jurisdiction and must be surfaced as explicit configuration and documentation boundaries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ai-runtimePython AI API and LiveKit workerarea: serverExpress API and server control planearea: telephonyCarrier and call-flow integrationsenhancementNew feature or requeststatus: needs-designNeeds maintainer design agreement before implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions