To connect Microsoft Teams to Internetport via Direct Routing, you need a properly configured Session Border Controller (SBC), correct DNS records, and appropriate licenses. This guide walks you through the process step-by-step, from selecting and installing an SBC to testing incoming and outgoing calls.

Prerequisites

  • Licenses for Microsoft Teams with Direct Routing.
  • Microsoft Teams Phone licenses for users who will call via SIP trunk.
  • A valid domain name registered with Internetport or another DNS provider.

Select and Install Session Border Controller (SBC)

Internetport recommends using an SBC that supports Direct Routing. You can choose from various providers or use Microsoft's own cloud-based SBC solution, Skype for Business Online Connector.

  1. Step 1: Select an appropriate SBC

    Based on your needs and budget, select an SBC that supports Direct Routing. Contact your provider for more information.

  2. Step 2: Install and configure SBC

    Follow the installation and configuration instructions from your SBC provider. Ensure it is set up correctly to work with Internetport's SIP trunk.

Configure DNS records for SBC

To ensure communication between Microsoft Teams and your SBC, you need to configure two types of DNS records: SRV and A records.

  1. Step 1: Create an SRV record

    Add an SRV record pointing to your SBC. Example:
    _sipfederationtls._tcp.yourdomain.com CNAME sipserver.yourdomain.com
    _sip._tls.yourdomain.com SRV 10 100 5061 sipserver.yourdomain.com

  2. Step 2: Create an A record

    Add an A record to map your SBC's CNAME to its IP address. Example:
    sipserver.yourdomain.com A 192.168.1.100

Enable Direct Routing in Microsoft 365 Admin Center

  1. Step 1: Log in to Microsoft 365 Admin Center

    Go to Microsoft 365 Admin Center and log in with your credentials.

  2. Step 2: Navigate to Phone System settings

    Go to Licenses & users > Active users > Select a user > Licenses and apps > Microsoft Teams Phone > Configure phone settings.

  3. Step 3: Enable Direct Routing

    Click on Enable Direct Routing and follow the instructions to configure your settings.

Connect Internetport SIP trunk to SBC via PowerShell

  1. Step 1: Open Microsoft Teams Admin Center PowerShell

    Go to Microsoft Teams Admin Center, click on your username in the upper right corner, and select Open PowerShell.

  2. Step 2: Create a new trunk

    Use the following command to create a new trunk:

    New-CsOnlineSipConnector -Name "Internetport SIP Trunk" -SipSignallingPort 5061 -Enabled $true -TrunkFqdn sip.internetport.se -UseDefaultRoute $true

  3. Step 3: Verify the trunk

    Check that the trunk has been created correctly by running:
    Get-CsOnlineSipConnector

Assign phone numbers to users in Teams

  1. Step 1: Go to Microsoft 365 Admin Center

    Go to Microsoft 365 Admin Center.

  2. Step 2: Select a user

    Navigate to Licenses & users > Active users > Select a user.

  3. Step 3: Assign a phone number

    Go to Licenses and apps > Microsoft Teams Phone > Configure phone settings > Phone numbers > Add a phone number. Choose the desired number from your Internetport account or add a new one.

Test incoming and outgoing calls

  1. Step 1: Initiate an outgoing call

    Use Microsoft Teams to call an external number and verify that the connection works correctly.

  2. Step 2: Receive an incoming call

    To test incoming calls, you can call the assigned phone number from another device and verify that the connection works correctly.

Common issues

  • SBC is offline: Check that the SBC is configured correctly and has access to Internetport's SIP server.
  • No calls are going through: Verify DNS records, trunk settings in PowerShell, and that users have the correct licenses and assigned phone numbers.

For more help and support, visit Internetport's support pages.