Exotrunk
Setup Call Flow with Exotrunk
6 min
you can set up and manage call flows in exotel using the app bazaar call flows allow you to define how incoming or outgoing calls should be handled — for example, routing calls to agents, triggering voicebots, or forwarding to sip endpoints accessing app bazaar from the exotel dashboard , go to manage → app bazaar under custom apps , you will see a list of existing call flows to create a new flow, click create creating a new call flow click create in the app bazaar section a pop up will appear prompting you to add new flow enter a name for your flow (e g , sip flow ) and click ok you will be redirected to the visual flow builder interface designing your flow you can route calls to your sip trunk created under exotrunk management drag the connect applet to the call start block under connect , choose configure using flow builder here (default) skip dynamic url configuration unless required in the dial whom section, specify the number or sip endpoint to connect field description dial phone number(s) enter sip uri to connect the call example ( sip\ trmun1c99b77f41d1f4a4d2c19au ) when routing to a sip trunk, use the trunk id from your exotrunk details page in the format sip \<trunk id> you can optionally configure setting description record this call? enable call recording for monitoring or compliance save your flow after configuring your applets, click save on the top right your new flow will now appear under custom apps in the app bazaar list the new flow is ready to be assigned to an exophone or used in your api integrations deleting a flow will immediately stop all calls associated with it ensure that the flow is not mapped to active exophones before deletion setup up inbound calls once your call flow with exotrunk is created, you can assign it to an exophone to handle incoming calls go to manage → exophones in your exotel dashboard in the installed app column, select the dropdown next to the exophone you want to configure choose your newly created flow from the list (for example, sip flow ) the selected flow will now handle all calls made to that exophone setup up outbound calls you can initiate outbound calls from exotel using apis outbound calls can either connect directly to a sip trunk or trigger a call flow that handles call routing, announcements, or logic there are two recommended methods option 1 using the click to call api the click to call api lets you initiate a call between two endpoints — typically an agent and a customer you can also use this api to initiate outbound calls through a sip trunk example usage call the click to call api and specify from as your customer number to as your sip trunk id in the format sip \<trunk id> callerid as the exophone configured in the exotrunk for complete details, see make a call api https //developer exotel com/api/make a call api option 2 using outbound call to call flow api the outbound call to call flow api allows you to trigger a pre configured flow directly from your app or system this is useful when you have additional logic defined in a call flow example usage call the outbound call api and provide from as your agent or system number to as the customer’s phone number or sip endpoint url pointing to your call flow app (using the app id found in app bazaar) you can find the app id in app bazaar → custom apps under the app id column
🤔
Have a question?
Our super-smart AI, 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.
