AgentStream
Connectors
OmniDimension Voicebot & Exotel AgentStream Integration Guide
16 min
1\ introduction this document will help you walk through integrating exotel phone numbers with omnidimension (omnidim) voicebot, using call flows and importing into omnidim what you’ll achieve incoming pstn calls to exotel → routed via configured call flow → handled by omnidim voicebot 2\ architecture overview call flow pstn call → exotel → custom call‑flow (app builder) → websocket / passthru endpoints → omnidim agent (voicebot) sequence of events with endpoints 1 exotel receives the call on your exophone number 2 exotel triggers your configured “call flow” (app) 3 within the flow voicebot applet, passthru applet(s), connect/hangup logic 4 webhook / media endpoints point to omnidim urls 5 omnidim handles the voice session, agent conversation, transfer or hangup 3\ prerequisites & requirements exotel account with kyc completed steps to get started with exotel an exophone (140 series number/landline numbers/mobile dids) purchased & active on exotel api creds required credentials from exotel • api key • api token • subdomain • account sid • exophone number • app id (call flow / app id) access to omnidim portal & permission to import numbers urls / endpoints in omnidim for media/control 4 exotel flow setup 4 1 access app builder in exotel in your exotel dashboard, go to the side menu and click on 'app bazaar' navigate to app bazaar in the side menu 4 2 create new app click on 'create new app' to start building your call flow click create new app button 4 3 add voicebot applet for call coming on the 'call start' block, drag a 'voicebot' applet from the right sidebar in the url field, enter wss\ //live omnidim io/media exotel community and also turn recording on drag the voicebot applet and add the wss url 4 4 add second passthru applet on the voicebot applet's next section, drag another 'passthru' applet in the url field, enter https //live omnidim io/should end the call add second passthru applet 4 5 add hangup on 200 response in the 200 response of the second passthru applet, drag a 'hangup' applet to end the call when needed add hangup applet on 200 response 4 6 add connect applet for non 200 response in the 404 or 302 response of the second passthru applet, drag a 'connect' applet for call transfers add connect applet on 404 or 302 response 4 7 configure connect applet in the connect applet, select 'primary url' and enter https //live omnidim io/call transfer configure the connect applet with the url 4 8 add passthru for call end for the 'after the call conversation ends' option, add a passthru applet with url https //live omnidim io/should end the call?omni status=call end add passthru for call end scenario 4 9 add passthru for no answer for the 'if nobody answers' option, add a passthru applet with url https //live omnidim io/should end the call?omni status=nobody ans add passthru for no answer scenario 4 10 add passthru for no dial for the 'we didn't dial anyone' option, add a passthru applet with url https //live omnidim io/should end the call?omni status=didnt dial anyone add passthru for no dial scenario 4 11 add hangup applets on all the passthru applets you just created, add a 'hangup' applet in both 200 and 302 responses to ensure calls end properly add hangup applets to all passthru responses 4 12 save your call flow click 'save' to save your call flow configuration and close the flow builder make sure to note down the app id (call flow id) as you'll need it for the import process save your call flow configuration 4 13 attach call flow with your exophone number go to the exophone section in the exotel dashboard, buy a number and attach the call flow you just created make sure to note down the phone number as you'll need it for the import process attach the call flow to your exophone number 5\ importing the number to omnidim go to phone numbers section log in to omnidim dashboard → phone numbers click “import exotel phone number” opens an import form fill in all credentials api key api token subdomain account sid exophone number app id submit import click import on success, the phone number will be listed in omnidim interface 6\ import to omnidimension now that your call flow is set up in exotel, follow these steps to import your phone number into omnidimension 6 1 navigate to phone numbers in your omnidimension dashboard, go to the 'phone numbers' section from the main navigation menu navigate to phone numbers in your dashboard 6 2 click import exotel phone number look for the 'import exotel phone number' button and click on it to open the import form click the import exotel phone number button 6 3 fill in the import form enter all the credentials you collected from your exotel dashboard in the form fields exotel api key exotel api token exotel subdomain exotel account sid exotel phone number exotel app id (your call flow id) fill in all the required credentials 6 4 complete the import click the 'import' button to complete the process your exotel phone number will now appear in your omnidimension dashboard and be ready for use with your ai agents your phone number has now been imported successfully 7\ understanding the call flow here's how your call flow works after setup when someone calls your exotel number the call first goes to omnidimension's call coming endpoint omnidimension then connects to your ai agent through the voicebot your ai agent handles the conversation when the call should end, it goes to the should end the call endpoint if a transfer is needed, it goes to the call transfer endpoint all calls eventually end with a hangup action complete call flow overview 8\ what happens after import once your phone number is successfully imported, you can use the phone number with any of your ai agents receive incoming calls that are automatically handled by your agents monitor call logs and performance in your dashboard 9\ next steps now that your exotel phone number is imported, here are some recommended next steps configure your ai agents to handle calls effectively attach exotel phone number to your agent test your setup by making a test call to your number 10\ troubleshooting common issues if you encounter any issues during the setup process, here are some common solutions voicebot applet not visible make sure you've completed kyc verification if still not visible, contact exotel support import fails double check all credentials are correct and your call flow is properly configured calls not connecting verify your call flow urls are correct and your omnidimension account is active call hangup on connect make sure all urls are entered exactly as shown with no extra spaces kyc issues contact exotel support if you're having trouble with the verification process 11\ getting help if you need additional help with the exotel integration check the exotel documentation for detailed call flow setup contact exotel support for issues with your exotel account or call flows contact omnidimension support for issues with the import process or ai agents join our community forums to connect with other users handle retries and timeouts gracefully 10\ support & resources omnidim support/contact mitra\@omnidim io exotel support hello\@exotel com/808 8919 888
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.