IVR toolkit
The IVR toolkit is CallFactory’s developer-focused action library for building custom call flows. Each action—such as Answer, Play, Dial, Record and StartStream—gives you precise control over what happens during a call, so your logic isn’t limited by a dashboard interface.
You use the toolkit to build choice menus, collect caller input, stream audio to AI services, connect callers with agents and handle edge cases cleanly. The toolkit runs on the same IVR platform that powers all standard CallFactory features, so you get the same building blocks that our own product teams use.
- Structured actions with clear signatures and examples
- Stream audio to AI, STT or a custom endpoint
- Build complete call flows without extra hardware
- Full documentation and developer support
Benefits of the IVR toolkit
See how the IVR toolkit helps development teams build professional call flows that fit exactly with their backend and processes.
Full control over call logic
You decide what happens at each step of a call, because you play prompts, gather input, route on conditions, stream to AI and catch errors with predictable, well-documented actions.
Built for developers
Each action has a clear signature, typed return values, error handling and working code examples, so you build with confidence using structured actions that fit naturally into your backend.
AI-ready audio streaming
You stream live call audio to any WebSocket endpoint—for instance an AI assistant, a speech-to-text engine or your own analytics service—where StartStream and StopStream give you full control over when and where audio flows.
Runs on proven infrastructure
The toolkit runs on CallFactory's own IVR platform, the same infrastructure that powers all our telephony features, so you need no extra hardware or third-party dependencies and everything works with your existing CallFactory numbers.
How the IVR toolkit works
The IVR toolkit is a library of actions that your own code calls during a live call. Once a call comes in, your application receives it, then you decide step by step what should happen using these actions.
A typical flow begins with Answer(), then plays a welcome message with Play(), gathers input via PromptDigit() or GatherDigits() and routes the caller with Dial() and Connect(). Each action returns a typed result, so your code always knows what happened and can handle every possible response cleanly.
Audio streaming for AI and speech-to-text
With the StartStream and StopStream actions, you stream live call audio in real time to any WebSocket endpoint. This way you connect a call with an AI assistant, a speech-to-text engine or your own analytics service, without needing to buffer the audio first or route it through workarounds.
You decide when streaming starts, in which direction the audio flows (from caller to AI, from agent to AI or both at once) and when it stops. The stream runs parallel to your other IVR actions, so you can play prompts, gather input or transfer while the AI listens in the background.
Who uses the IVR toolkit
The toolkit is designed for development teams that need full control over call behaviour. Think of SaaS platforms adding voice features to their product, contact centres building their own routing logic and companies wanting to integrate telephony with their CRM, ERP or internal tools.
If you have a team of developers writing backend code, the IVR toolkit gives you everything you need to build professional call flows, from simple menus to complex AI-driven conversations. Documentation, code examples and developer support are included, so your team becomes productive quickly without having to work out an integration pattern through trial and error.
The relationship between toolkit and platform features
Every CallFactory feature—such as the choice menu, the queue, voicemail and the voicebot—is built from the same IVR actions documented in this toolkit. The toolkit gives you direct access to those same building blocks, so you work at the same level as our own product teams.
That means anything CallFactory does as standard, your development team can do as well, and often more. You combine standard features with your own logic, add integrations that don’t exist as a standard feature and build call flows that fit exactly how your own organisation works.
Getting started
Get in touch with us to discuss your needs, then we’ll give your team access to toolkit documentation, working code examples and a development environment. If you need help designing your first call flow, our team advises on architecture and best practices we see working at similar implementations.
For organisations needing full capacity and isolation, dedicated IVR servers is the natural next step, where your custom call flows run on an environment reserved entirely for you.
Learn more about other features
Find more information about our features that can improve your business communication.
Voicebot
AI-powered voice assistants built on our IVR platform. Automate incoming calls with natural conversation, data lookups, and smart routing.
Dedicated IVR servers
Your own IVR server with complete control. Build custom telephony applications, connect AI platforms, and scale from 4 to 200+ channels. The natural upgrade from our private API when you need more.
API integrations
Tell us what you need, we build the endpoints. Our private API lets you integrate CallFactory telephony into your own software — no generic library, no guesswork, no wasted development time.
IVR toolkit—frequently asked questions
Find clear answers to questions about the IVR toolkit and how it works in practice for your organisation.
Yes. The toolkit is a library of actions your own backend calls, which means your development team writes each call flow in code. If you don’t have developers in-house, our off-the-shelf custom telephony and voicebot options are often a better starting point.
You programme in any common language, because your code runs in a virtual machine that we host for you. The documentation, actions and examples use C# (.NET) as the primary language, but you’re not bound to C# if your team prefers a different language.
Yes. The StartStream action opens a real-time WebSocket connection to any endpoint you want, whether that’s an AI assistant, a speech-to-text engine or your own service. You control the audio direction and can stop the stream at any time.
Yes. All IVR actions work with your existing CallFactory numbers and routing, so you don’t need to make any changes to your phone setup.
Yes. The toolkit uses the same building blocks as all CallFactory features, so you can keep using standard features like choice menus and queues alongside your own logic.
Every action supports cancellation tokens, so the token is cancelled as soon as the caller hangs up and your code gets a clear signal to stop. No loose connections or unhandled states remain.
Yes. Our team advises on architecture, reviews your flow design and helps with more complex integrations. For fully managed solutions, our custom telephony and voicebot services are a logical next step.
The toolkit itself is available to CallFactory customers, where depending on the complexity of your implementation and hosting requirements, extra costs may apply. We always discuss pricing before work begins.
