Configuring a Bandwidth SIP Trunk

Step 1: Create your SIP Trunk

  1. Sign in to your portal using the credentials provided by Bandwidth during sign up. You will need to contact Bandwidth to create an account.
  2. Click “View Account” and select “Sub-Accounts” from the top menu.
  3. Click “Create Sub-Account” and fill in the required information.
  4. Navigate to “Locations” from the top menu to create a location.
  5. Click on “Voice” from the menu and scroll down to “Origination Settings”.
  6. Add your static public IP and SIP Port in the “Voice IP addresses / DNS hosts”.
  7. Contact your account administrator to add your public IP address in the “Termination Settings”. Proceed with the next steps while you wait.

Bandwidth settings

  1. Click on “Numbers” and select your type and preferences.
  2. During the checkout process, assign the numbers to your Sub-Account and location.

Step 2: Configuring your SIP Trunk with 3CX

  1. Go to the 3CX Web client and follow the guide on how to configure a SIP trunk.
  2. Enter the main trunk number as E164. For example if your number is (888)-233-5678, it should be entered as +18882335678
  3. Once your SIP Trunk is ready you will receive a pair of IP addresses from Bandwidth.
  4. Add one under General” -> “Registrar /Server. The other under Options” -> “Alternative Proxy.
  5. Bandwidth is an IP-based trunk, so no Authentication ID and Authentication Password are needed. Scroll to the top of the page and press OK to apply the changes and save the trunk.

Step 3: Configure a Number for SMS/MMS.

  1. Create an Application:
  1. Login to Bandwidth portal.
  2. Go to “Applications” and select “+Create Application”.
  3. Fill in the “Application name”, select “Messaging” as the application type.
  4. Enter the 3CX Webhook URL from the SMS section in 3CX.  
  5. Enable all the “Status Callback Types”.
  6. Click on “Create Application” on the bottom right and take note of the “Application ID”. This becomes automatically populated once the application is created.
  7. Navigate to the section “Associated Locations” below the application form and select your location from the drop down menu.
  8. Select your location and navigate  to the “Messaging” tab, enable the “SMS/MMS”, “V2 Messaging”, select the application you created and save changes.
  1. Associate the number you want to use for SMS with the newly created Location.
  1. Navigate to the “Numbers > My Numbers” and click on “Search”.
  2. Click your number. Under the “Move Number” select the Sub-Account and the newly created “Location” and click on “Move Number”.
  1. Return to the 3CX Management Console and fill in the form in the SMS section with the following information:
  1. User - Your username for Bandwidth portal.
  2. Password - Your password for Bandwidth portal.
  3. App ID - Application ID of previously created application.
  4. Account ID - Account ID found at the top right corner of the Bandwidth portal in brackets.

Important: According to US legislation (A2P 10DLC SMS), SMS numbers must be registered with a wireless carrier to avoid being blocked. This only applies to A2P numbers (Application to People) and not P2P (People to People). Follow this guide to register your phone numbers

About Bandwidth

For over 20 years, Bandwidth has worked to create a platform that enables customers to effectively live, work and communicate. With their extensive industry experience and modern software-driven approach, they are able to provide a simple, scalable and affordable SIP trunking solution which is now fully supported for use with 3CX PBX.

Last Updated

This document was last updated on 28 June 2023

https://www.3cx.com/docs/sip-trunk/bandwidth-usa/