I built a natural language IVR that routes callers without phone trees

Reddit r/ArtificialInteligence Tools

Summary

The article demonstrates a Python/Flask example using Telnyx Call Control and AI inference to create a natural language IVR system, allowing callers to verbally state their needs instead of navigating fixed menus.

I put together a Python/Flask example for replacing a traditional “press 1, press 2” IVR with a natural language voice flow. Instead of forcing callers through a fixed menu, the app lets them say what they need. It answers the call with Telnyx Call Control, generates a dynamic greeting from menu config, gathers the caller’s speech, uses AI inference to route intent, and transfers them to the right department. It also keeps per-call state in an `IVRAgent` class, with fallback handling if the model can’t confidently classify the request. Code: https://github.com/team-telnyx/telnyx-code-examples/tree/main/voice-ivr-with-agent-backend Would love feedback from folks building voice support flows. Are you replacing phone trees entirely, or keeping DTMF as a fallback?
Original Article

Similar Articles