Twilio Programmable Voice Router
Builds intelligent voice routing flows using the Twilio Programmable Voice API. Generates TwiML responses with <Gather>, <Dial>, and <Enqueue> verbs, and manages call recordings via the Recordings REST resource.
npx skills add agentskillexchange/skills --skill twilio-programmable-voice-router-2
The Twilio Programmable Voice Router creates sophisticated call handling workflows using Twilio’s Programmable Voice API. It generates dynamic TwiML documents that chain for DTMF/speech input, for call forwarding with SIP and Client endpoints, and for queue-based routing.
What this skill actually does
The skill manages the full call lifecycle: incoming call webhook handling, real-time call modification via the Calls resource (client.calls(sid).update()), and post-call recording retrieval through the Recordings REST API. It supports conference bridges with verb including mute/hold controls.
Advanced features include StatusCallback URL configuration for call progress events, AMD (Answering Machine Detection) with machineDetection: 'DetectMessageEnd', and fallback URL routing. The agent handles Twilio signature validation using twilio.webhook() middleware for request authentication. Integrates with Twilio Studio for visual IVR flow management.