If you would like to utilize an AI Agent with your Genius Phone Numbers or Contact Center, you have a few options of different AI Agent integrations available within Genius.
Retell AI is a leading provider in the AI Agent space and provides a one-stop shop for your AI Agent needs. We can integrate to Retell AI utilizing standard SIP Integrations.
For a simple Inbound AI Agent, you will need:
- At least 1 AVOXI phone number
- A Retell AI account
- A Retell AI Agent set up
If you would like an Outbound AI Agent, you will need:
- At least 1 AVOXI phone number set up in Genius
- A Retell AI Account
- A Retell AI Agent set up
- A SIP Trunk in Genius
How to set up an Inbound AI Agent:
- Login to https://retellai.com
- Go to Phone Numbers

- Click the + icon at the top of the page and select "Connect to your number via SIP trunking
- Choose a Unique Name - don't use any spaces. This will be our unique identifier in Genius to refer to this Number/Agent in Retell
- For the Termination URI you can enter anything here such as “AIAgent”
- Give this Number a nickname. Since generally in Retell you will tie an Agent to this Number make sure to name it something useful here such as “AI Receptionist”
- At the bottom of this window, choose TCP as Outbound Transport (note: you will need to match this in Genius). You may want to adjust this later based on your options available in Genius if you desire TLS here.
- Save this Number

- Update your new Number's configuration and tie your Agent to this Number
- There are separate options for Inbound v. Outbound Call Agent
- Note: If you're setting up without a SIP Trunk, there will not be a way for the Agent to make outbound calls.

- Login to https://genius.avoxi.com
- Go to SIP (note: you must be an administrator for permissions to set up SIP URIs/Trunks)
- On the SIP URIs page, set up a new SIP URI
- Give the name of the SIP URI something meaningful such as “Retell Receptionist Agent”
- SIP Connection should be “Custom SIP”
- Protocol should be TLS if available, otherwise you can choose TCP (we will need to match this configuration in Retell - see Step 3 above and go back to Retell to adjust your configuration if you choose anything that is not TCP).
- For the SIP dropdown, add a new entry to match the Retell Phone Number (in the above example I used AVOXITestPhoneNumber)
- After the @ use “5t4n6j0wnrl.sip.livekit.cloud” for the SIP server to connect to the Retell server, and the port will vary on if you've used TLS or TCP:
- If TLS - use Port 5061
- If TCP - use Port 5060

- Once you've done the above we're ready to test out your AI Agent. You have the following options:
- Update one of your Flows that your Numbers are using to add a SIP URI widget and direct it to the new SIP URI you've just created
- If you'd like to test this without impacting your other calls, you can call the extension shown on the Flow Builder screen which should test routing the call to the AI Agent.
- Update one of your Number's Forwarding Rules and direct it to the new SIP URI you've just created
- Update one of your Flows that your Numbers are using to add a SIP URI widget and direct it to the new SIP URI you've just created
How to set up an Outbound AI Agent:
- Login to Genius and make sure you have at least 1 phone number set up in Genius (go to the Numbers page and make sure there is at least 1 number there, if not then you can purchase one )
- Go to the SIP page → Trunks and click Add SIP Trunk
- Give your SIP Trunk a name - something like “Receptionist Agent” will be helpful if you set up multiple Agents
- Give your SIP Trunk a unique subdomain (e.g. retellreceptionistagent)
- SIP Connection = Custom SIP
- Protocol = TCP/UDP (unless you have TLS available, then use TLS)
- Caller ID Format = Original CID
- Authentication Type = Basic
- Pick a username and secure password here, you'll need to enter this into Retell later
- Purchase the SIP Trunk

- Once the SIP Trunk has been purchased navigate to the SIP Trunk and go to the Setup Instructions page
- Copy the DNS Host Name here - this will be needed in Retell later when we're setting up the Phone Number

- Login to https://retellai.com
- Go to Phone Numbers

- Click the + icon at the top of the page and select "Connect to your number via SIP trunking
- Enter your phone number here, e.g. +12223334444
- For the Termination URI use the DNS Host Name you specified above
- Enter the SIP Trunk User Name and SIP Trunk password you specified during SIP Trunk setup
- Give this Number a nickname. Since generally in Retell you will tie an Agent to this Number make sure to name it something useful here such as “AI Receptionist”
- At the bottom of this window, choose TCP as Outbound Transport (note: you will need to match this in Genius). You may want to adjust this later based on your options available in Genius if you desire TLS here.
- Save this Number

- Update your new Number's configuration and tie your Agent to this Number
- There are separate options for Inbound v. Outbound Call Agent

- Login to https://genius.avoxi.com
- Go to SIP (note: you must be an administrator for permissions to set up SIP URIs/Trunks)
- On the SIP URIs page, set up a new SIP URI
- Give the name of the SIP URI something meaningful such as “Retell Receptionist Agent”
- SIP Connection should be “Custom SIP”
- Protocol should be TCP if available, you can also choose TLS if you desire (we will need to match this configuration in Retell - see Step 3 above and go back to Retell to adjust your configuration if you choose anything that is not TCP).
- For the SIP dropdown leave this as {+E.164}
- After the @ use “5t4n6j0wnrl.sip.livekit.cloud” for the SIP server to connect to the Retell server, and the port will vary on if you've used TLS or TCP:
- If TLS - use Port 5061
- If TCP - use Port 5060

- Once you've done the above we're ready to test out your AI Agent. You have the following options:
- Update one of your Flows that your Numbers are using to add a SIP URI widget and direct it to the new SIP URI you've just created
- If you'd like to test this without impacting your other calls, you can call the extension shown on the Flow Builder screen which should test routing the call to the AI Agent.
- Update one of your Number's Forwarding Rules and direct it to the new SIP URI you've just created
- Go to your AI Agent in Retell and run a Test call
- Update one of your Flows that your Numbers are using to add a SIP URI widget and direct it to the new SIP URI you've just created