Tegsoft Contact Center solution is now offering ElevanLabs integration to be used as an AI Virtual Agent. This article will show how to configure multiple AI Agents on ElevenLabs and integrate them with Tegsoft for both Inbound and Outbound calls.
ElevenLabs is actively providing SIP communication protocol which is a very productive and efficient way of integrating AI Virtual Agent with Tegsoft Contact Center.
Basic Setup
For a successful integration there are things to do at the beginning on both sides for setup.
Preparations on ElevenLabs
We will configure different agents and multiple phone numbers. Each phone number (Inbound / outbound) will be useful to map different agents (scenarios).
Virtual Agent Configuration
This document is to guide you for creating a new agent with very basic configuration steps. For any advanced features or specific configuration documentation please refer to https://elevenlabs.io/ .
Creating a new virtual agent
Navigate to https://elevenlabs.io and login with your credentials.
Select “Conversational AI” from the left top menu
Choose agents from the left navigation menu
You will see list of agents you have defined. To create a new virtual agent please click “+ New Agent” button on the top right.
Name your agent and configure additional details by following ElevenLabs interface.
Creating a phone number for new virtual agent mapping
Navigate to https://elevenlabs.io and login with your credentials.
Select “Conversational AI” from the left top menu
Choose “Phone Numbers” from the left navigation menu
You will see list of phone numbers you have defined. To create a new phone number please click “+ Import number” button on the top right.
The rest of configuration need to be as-is described here to have a working integration
Click “+ Import number” button either from top right or the center.
Select “From SIP Trunk” option and start following popup on the right panel.
Label: Name your mapping like “Real-estate Lead Generation Arabic”, “English Support”, “Turkish Tourism Advisor”, etc.
Phone number: You need to assign a phone number that should not match with the real world numbers. On Tegsoft we will have a calling profile that will check first these numbers. So the numbers that are listed here will represent Virtual Agents not the real customers. When you try to call you will start hearing Virtual Agent not the customers. For this reason we don’t want to map possible real customer numbers to the ElevenLabs virtual agents.
Origination URI: Do not change leave as is.
Media Encryption: Must be selected as Disabled.
Address: Put your Tegsoft server URL here
Transport Type: Must be selected as TCP
Media Encryption: Must be selected as Disabled
SIP Trunk Username: Enter a unique username (that user will be used for Tegsoft Trunk authentication)
SIP Trunk Password: Enter a password (that password will be used for Tegsoft Trunk authentication)
Once the number is defined please select the related agent for mapping.
Preparations on Tegsoft Contact Center
As last step of setup process, to activate integration between Tegsoft and ElevenLabs you will need to configure SIP Trunking and dialing profile.
Trunk Configurations
You will need two trunk definitions, one for Inbound/Incoming and one for Outbound.
Creating the inbound trunk
Navigate to your Tegsoft URL and login with admin credentials.
Select “Trunks” app from left navigation menu under “Infrastructure Management”
Add new Trunk by clicking “+” sign.
You will need to define following fields only
Name: Give a unique name for your trunk
Username: The username you have defined during ElevenLabs “Phone Number” settings
Password: The password you have defined during ElevenLabs “Phone Number” settings
Network transport layer: You must select TCP
Once done please save and activate trunk configuration
Creating the outbound trunk
Navigate to your Tegsoft URL and login with admin credentials.
Select “Trunks” app from left navigation menu under “Infrastructure Management”
Add new Trunk by clicking “+” sign.
You will need to define following fields only
Name: Give a unique name for your trunk
IP: Please enter “sip.rtc.elevenlabs.io” value. For better performance you can resolve the real IP and enter real IP address of sip.rtc.elevenlabs.io.
Trunk Type: You must select “E.164 Number format required”
Network transport layer: You must select TCP
Once done please save and activate trunk configuration
Creating the outbound route
Navigate to your Tegsoft URL and login with admin credentials.
Select “Outbound Routes” app from left navigation menu under “Infrastructure Management”
Add new Route by clicking “+” sign.
You will need to define following fields
Route Name: Give a unique name for your route
Save and activate the route before you start defining pattern
Outbound Pattern (first): Please enter the phone number you have defined for your ElevenLabs agent cutting last 2 digits and put “.” for the rest. This will allow route to access all the defined agents with one pattern. For example “+1 888 999 0001” will be “+188899900.”
Outbound Pattern (second): Please enter the phone number you have defined for your ElevenLabs agent cutting last 2 digits and put “.” for the rest. And replacing “+” sign at the beginning with “00”. For example “+1 888 999 0001” will be “00188899900.”
Assign ElevenLabs Outbound Trunk
Once done please save and activate route configuration
Creating the dialing profile
Navigate to your Tegsoft URL and login with admin credentials.
Select “Profiles” app from left navigation menu under “Infrastructure Management”
Add new Profile by clicking “+” sign.
You will need to define following fields
Name: Give a unique name for your profile
Save and activate the profile before you start assigning outbound routes
Outbound Routes: Please assign ElevenLabs outbound route and enter “1” for the order.
Now you can assign other routes to access customer numbers like “Mobile Numbers”, “Land Lines”, etc.
Once done please save and activate profile configuration
Short number mapping for each ElevenLabs Virtual Agent
Navigate to your Tegsoft URL and login with admin credentials.
Select “Short Numbers” app from left navigation menu under “Management”
Add new Short Number by clicking “+” sign.
You will need to define following fields
Extension: Give the same number you have defined during ElevenLabs Phone Configuration setup.
Destination Number: Same as extension
Notes: Please define a label for your agent.
Once done please save and activate short number configuration
ElevenLabs Virtual Agent For Inbound
Once you have defined the “Short Numbers” and “Profiles” you are ready to redirect inbound calls to ElevenLabs Virtual Agents. You just need to redirect calls via IVR options or Inbound Routes.
ElevenLabs Virtual Agent For Outbound
The outbound dialing process needs to be initiated via Tegsoft IVR Outbound Campaign. You can define multiple campaigns for multiple virtual agent scenarios.
You need to configure an IVR with “Timeout Destination” and “Invalid Destination” selected as “Short Number” and “Virtual Agent Phone Number”.
Summary
ElevenLabs and Tegsoft works very well together, Enjoy!