enx_voice_bot 1.0.6+6
enx_voice_bot: ^1.0.6+6 copied to clipboard
Flutter SDK to build real-time Gen-AI Voice Bots using SIP & WebSocket, powered by EnableX Dialogs for low-latency app interactions.
EnableX Dialogs – Flutter Voice Bot SDK #
Build Gen-AI powered Voice Bots inside Flutter apps in minutes.
enx_voice_bot is a production-ready Flutter SDK that enables real-time, two-way voice conversations with AI agents using SIP + WebSocket streaming, powered by EnableX Dialogs.
Perfect for building:
- AI Voice Assistants
- Healthcare Voice Bots
- Banking & Support IVR Bots
- Sales & Lead Qualification Bots
- In-App Voice Agents (App-to-Bot)
Why EnableX Voice Bot SDK? #
Most voice bot solutions are server-heavy and slow to integrate. This SDK lets you embed a real-time AI voice agent directly into your Flutter app with minimal setup.
Key Benefits #
- Low-latency streaming voice
- Gen-AI ready (LLMs + RAG compatible)
- SIP & WebSocket based audio pipeline
- Works across Android & iOS
- Enterprise-grade infrastructure
- Plugs into EnableX Dialogs platform
Architecture Overview #
Flutter App
↓
EnableX Voice Bot SDK
↓
EnableX SIP / WebSocket Media Gateway
↓
AI Agent (LLM + STT + TTS)
The SDK abstracts audio capture, streaming, session lifecycle, and reconnection handling, so you focus only on conversation logic and UX.
Features #
- Real-time microphone capture
- Bi-directional audio streaming
- App-to-Voice Bot calling
- Session lifecycle management
- Network recovery & retries
- Production-ready for scale
Installation #
flutter pub add enx_voice_bot
Requirements #
- Flutter 3.x or later
- Android: RECORD_AUDIO permission
- iOS: NSMicrophoneUsageDescription
Device Permissions #
You require a physical Device to run the application as a simulator/emulator does not support microphone access.
EnableX Voice AI Bot SDK requires microphone permission to use BOT. Learn how to add Device Permissions in Android and iOS platforms as shown below:
Android #
Open the AndroidManifest.xml file and add the required device permissions.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
iOS #
Open the info.plist file and add:
- Privacy - Microphone Usage Description and add a note in the Value column.
Basic Usage #
import 'package:enx_voice_bot/enx_voice_client.dart';
final voiceClient = EnxVoiceClient()
.init(virtualNumber)
.setEnxVoiceListener(this);
await voiceClient.connect("token",{
'ask':'connect',
'language': 'en-IN',
'address': 'delhi',
});
Note: Agent configuration, LLM, STT, TTS, and RAG are managed via the EnableX Dialogs console.
Example Use Cases #
- In-app customer support voice assistant
- Hospital appointment booking bot
- Sales voice agent inside e-commerce app
- Banking voice verification assistant
- Educational tutor voice bot
Preview #

Documentation & Resources #
Who Should Use This? #
- Flutter Developers building voice-first apps
- Startups building AI assistants
- Enterprises modernizing IVR & call flows
- Teams needing App-to-Bot voice interaction
About EnableX #
EnableX is a global CPaaS & Conversational AI platform offering:
- WebRTC Video & Audio
- Programmable Voice (PSTN + SIP)
- WhatsApp, SMS, RCS Messaging
- Flow-based & Gen-AI Chatbots & Voicebots
Trusted by enterprises across Healthcare, BFSI, EdTech, Retail & Telecom.
- Website: https://www.enablex.io/
- Email: sales@enablex.io