Connect Twilio Phone Numbers to Verbex
Learn how to connect Twilio phone numbers to Verbex using Elastic SIP Trunking for making and receiving calls
This guide provides detailed, step-by-step instructions to help you connect Twilio phone numbers to Verbex using Elastic SIP Trunking. By following this guide, you will be able to make and receive calls via Verbex using Twilio’s telephony infrastructure.
Prerequisites
Before you begin, ensure that you have the following:
-
A Twilio account with Elastic SIP Trunking enabled
-
A Verbex account with access to SIP configuration settings
-
One or more phone numbers purchased or ported to Twilio
-
A basic understanding of SIP trunking and VoIP concepts
Step-by-Step Integration
Step 1: Creating an Elastic SIP Trunk in Twilio
-
Log in to Twilio and navigate to the Elastic SIP Trunking section
-
Click on Create New Trunk and enter a name for your trunk (e.g.,
Verbex_SIP_Trunk
) -
Now configure the SIP Trunk settings following the steps below
Creating Credential List
-
In your Twilio console, create a new Credential List
-
Choose a friendly rememberable name
-
Set up your username and password
-
These credentials will be used when importing numbers in Verbex
Configuring Termination Settings
-
In your Twilio SIP Trunk’s Termination settings, create your Termination SIP URI
-
This URI will be needed when importing phone numbers in Verbex Platform
-
Set up credential authentication by creating a username and password
-
Save the changes
Setting Up Origination URL
-
Navigate to the Origination settings in your Twilio SIP Trunk
-
Add the Verbex SIP URI:
sip:2sv4xh8d6zi.sip.livekit.cloud
-
Set the priority and weight as needed (default: 10)
-
Ensure the URL is enabled
Step 2: Managing Phone Numbers
-
Go to Phone Numbers > Manage Numbers in Twilio
-
Either purchase a new number or move an existing Twilio number to the SIP trunk
-
Assign the number to the Elastic SIP Trunk created in Step 1
-
Save and confirm the configuration
Step 3: Importing Numbers into Verbex
After setting up numbers in Twilio, they need to be imported into Verbex for proper call routing.
-
Log in to Verbex and navigate to the SIP Trunking section
-
Click Import Numbers and enter the required details:
-
Phone Number: Enter the Twilio number you want to import
-
Friendly Name: Choose a memorable name for the number
-
Termination SIP URI: Enter the URI from your Twilio Elastic SIP Trunk
-
SIP Trunk Username and Password: Enter the credentials from your Twilio Credential List
-
Infrastructure Region: Select your region (usually Global)
-
-
Click Import to finalize the setup
Step 4: Making and Receiving Calls
Once the numbers are imported, they will be visible in the Verbex dashboard, allowing you to:
-
Make outbound calls using Verbex
-
Receive inbound calls to the assigned number
-
Use the Create Phone Call API to initiate calls programmatically
-
Remove numbers when no longer needed using the Delete Number API
Import Number API
Learn how to programmatically import numbers
Create Phone Call API
Initiate calls through the API
Delete Number API
Remove numbers from your configuration
Troubleshooting & Best Practices
Additional Resources
Twilio Support
Access Twilio documentation and support resources
Verbex Help Center
Get help with Verbex-specific configurations
Conclusion
By following this guide, you can successfully connect Twilio phone numbers to Verbex for seamless call routing. This setup allows you to leverage Twilio’s SIP Trunking while managing calls efficiently within Verbex. If you require further customization, consult the respective API documentation for additional functionality.