Inbound and outbound calls via Twilio SIP trunk + ElevenLabs voice AI
Patients call Oshun and talk to Karen. Twilio handles phone infrastructure (SIP trunk, routing). ElevenLabs provides real-time voice synthesis. Handles booking inquiries, procedure questions, and escalation to staff when a human is needed.
TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENELEVENLABS_API_KEYELEVENLABS_AGENT_IDsrc/webhooks/voice.js — all voice routes; registers Twilio and ElevenLabs endpointssrc/webhooks/voice_helpers.js — handleScheduleCallback(), handleBookAppointment()src/watchdog_voice.js — runVoiceBridgeMonitor(), runCallTranscriptSync()Oshun/create_oshun_trunk.mjs — SIP trunk provisioning scriptOshun/oshun_twiml.xml — TwiML response connecting calls to ElevenLabsoshun_stats_collector.mjs, oshun_traffic_deep_dive.mjs — run manually as needed.