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

  1. Log in to Twilio and navigate to the Elastic SIP Trunking section

  2. Click on Create New Trunk and enter a name for your trunk (e.g., Verbex_SIP_Trunk)

  3. Now configure the SIP Trunk settings following the steps below

Creating Credential List

  1. In your Twilio console, create a new Credential List

  2. Choose a friendly rememberable name

  3. Set up your username and password

  4. These credentials will be used when importing numbers in Verbex

Configuring Termination Settings

  1. In your Twilio SIP Trunk’s Termination settings, create your Termination SIP URI

  2. This URI will be needed when importing phone numbers in Verbex Platform

  3. Set up credential authentication by creating a username and password

  4. Save the changes

Setting Up Origination URL

  1. Navigate to the Origination settings in your Twilio SIP Trunk

  2. Add the Verbex SIP URI: sip:2sv4xh8d6zi.sip.livekit.cloud

  3. Set the priority and weight as needed (default: 10)

  4. Ensure the URL is enabled

Step 2: Managing Phone Numbers

  1. Go to Phone Numbers > Manage Numbers in Twilio

  2. Either purchase a new number or move an existing Twilio number to the SIP trunk

  3. Assign the number to the Elastic SIP Trunk created in Step 1

  4. 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.

  1. Log in to Verbex and navigate to the SIP Trunking section

  2. 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)

  3. 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.