Introduction
At the end of this article, you will be able to configure a SIP trunk from your Retell AI system to the network.
Please note: For support and assistance, please contact Retell AI directly
Configuring inbound Trunk
Currently, Retell AI requires 2 SIP trunks. 1 for inbound call routing and 1 for outbound call routing.
The first process to getting your trunk online is to log into your customer portal, and then select the order services tab. From here expand the SIP trunk menu, add the number of channels you require and add a new SIP trunk, as outlined in the screenshot below. Ensure you accept the service terms and conditions then submit the order before continuing.
Next, click on the PBX tab located in the top menu bar, drag and drop the SIP trunk object onto the main screen from the left-hand toolbox. Now, click on the settings icon and change the mode to IP Auth.
The SIP URI address should be in the following format
{call_id}@5t4n6j0wnrl.sip.livekit.cloud:5060
In Retell AI, click phone numbers.
Then click the + button and choose Connect your number via SIP trunking
Enter your inbound number and the Termination URI (Your SIP server) and click save.
Assign your Retell AI agent for inbound calls
Inbound calls should now reach your Retell AI agent.
Configuring outbound trunk
drag and drop another SIP trunk object onto the main screen from the left-hand toolbox. Now, click on the settings icon and change the mode to SIP registration.
In Retell AI, click phone numbers.
Then click the + button and choose connect your number via SIP trunking
Add a number for outbound calling and enter your SIP trunk Termination URI (Your SIP server), Username and Password and click save.
Assign your Retell AI agent for outbound calling
You can now use your Retell AI agent to make outbound calls. Don't worry if your SIP Trunk shows "Offline" In PBX. Outbound calls will still work.
You can also use the outbound number for routing calls to the inbound trunk if preferred.