---
title: "SIP Trunk Configuration Step-By-Step Guide"
slug: "sip-trunk-configuration-step-by-step-guide"
updated: 2025-06-01T21:10:36Z
published: 2025-06-01T21:10:36Z
canonical: "kb.connecttoteams.com/sip-trunk-configuration-step-by-step-guide"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SIP Trunk Configuration Step-By-Step Guide

This article is a step-by-step guide to initial provisioning of the ConnecttoTeams SIP Trunk. Start here, and follow links as needed for additional details and [troubleshooting](/v1/docs/general-troubleshooting-guide).

> [!NOTE]
> Note to the Reseller
> 
> This article is applicable to you when you need to set up the PBX Connector for your enterprise customer.
> 
> All mentions of **“Service Provider”** in this article refers to you, the Reseller.

## Setting Up the SIP Trunk Connection for an Enterprise

This process involves the collaboration of the Service Provider and the [Enterprise Admin with Global Admin role in Teams Admin Center](/v1/docs/global-administrator-requirement). Some tasks can be [delegated to non-Global Admins](/v1/docs/enterprise-manage-users-without-global-admin), but due to Microsoft’s security policies there is no way to complete setup without the Global Administrator’s initial involvement.

Start here, and follow links as needed for additional details and [troubleshooting](/v1/docs/general-troubleshooting-guide).

## Instructions for the Service Provider

Carry out the following in the [Service portal](https://service.connecttoteams.com/).

1. Configure the enterprise for the Trunk service. * For a new enterprise, [add the enterprise](/v1/docs/manage-enterprises) with Trunk service included. In the Registered Email ID field, supply the Microsoft Global Administrator’s email address. The Global Admin will receive the invitation email which contains instruction with a with a link to start the set-up process.

* For an existing enterprise, [edit the enterprise](/v1/docs/manage-enterprises) to add “Trunk” to the **Service** field. For more information, see [Enable Trunk Service for an Enterprise](/v1/docs/reseller-enable-trunk-for-enterprise).

## Instructions for the Enterprise Admin

1. Assign [Microsoft licenses](/v1/docs/microsoft-licensing-for-the-pbx-and-sip-trunk-connector) to each planned user of ConnecttoTeams. Before beginning with ConnecttoTeams, each planned Microsoft Teams User must have the correct licenses assigned to them. Sometimes due to high traffic [Microsoft can take up to 24 hours](/v1/docs/microsoft-slow-propagation) to activate licenses after they have been assigned, so doing this ahead of time will make the rest of the process much more streamlined. Also ensure there is one additional set of licenses available and unassigned. Don’t worry, you can [recover these extra lice](/v1/docs/does-my-directrouting-user-need-a-microsoft-license)nses once setup is done.

If there is a cancelled/suspended trial license and a valid license is added with the same name - you should make sure that the cancelled trial subscription is removed from their license listing. If not, Microsoft only returns the cancelled/suspended SKU and the software will erroneously claim that the proper licenses are not available.

1. As a Global Admin, follow the instruction in your [received invite email](/v1/docs/getting-started-as-an-enterprise). Clicking **COMPLETE** button will ask you to [grant permissions](/v1/docs/microsoft-permissions-for-the-enterprise-portal) and proceed to log in to the [Enterprise portal](https://enterprise.connecttoteams.com/) with your Global Administrator credentials. There are two permission screens that are mandatory and will need to be granted before the enterprise can log into ConnecttoTeams. Once logged in, there are prompts on the [Dashboard](/v1/docs/dashboard) to grant additional optional permissions that enhance ConnecttoTeams' [call troubleshooting](/v1/docs/sip-call-troubleshooting) and [presence syncing](/v1/docs/presence-sync).
2. Confirm [Microsoft licensing.](/v1/docs/set-up-direct-routing) Upon logging in, the Global Administrator will use the sidebar menu to navigate to **Direct Routing** page. In the **Available Licenses** table, confirm there is one available Microsoft license free to be assigned.

What if the portal says there are [negative licenses](/v1/docs/expired-microsoft-licenses) available? What if the portal says [I don’t have any available licenses](/v1/docs/microsoft-licenses-are-showing-as-unavailable) when I know that I do?
3. Proceed to [configure Direct Routing](/v1/docs/set-up-direct-routing). Click the “Direct Routing” tab. - In the “Setup Direct Routing Details” section, select the desired gateway then click **Complete Direct Routing** button.

- Ensure the verification process succeeds, and click **Complete** button. - Wait for the notification on the Dashboard that lets you know set-up is complete. - If the process [takes longer than an hour](/v1/docs/enterprise-direct-routing-not-completing), open a ticket with ConnecttoTeams Support so we can unfreeze the process, as this indicates Microsoft's servers were under heavy traffic and timed out. The global administrator will receive an email when it is complete.

Decide if allowing [SIP REFER](/v1/docs/call-transfer-using-sip-refer) or [Media Encryption](/v1/docs/media-encryption) is desired for the Direct Route. If desired, it is possible to configure additional Direct Routes. Decide if the enterprise wants to opt into Microsoft's [secondary routes for redundancy](/v1/docs/secondary-voice-routes). What if I have [already set up Direct Routing](/v1/docs/delete-previous-direct-routing) in Teams before and it is blocking the new configuration process? What if I previously used the [Microsoft Calling Plan](/v1/docs/ensure-microsoft-calling-plan-is-removed) and it is blocking the new configuration? What if the Direct Routing user is created but the [Direct Routing fails](/v1/docs/direct-routing-is-not-set-up-but-a-directrouting-user-was) to be established? Why is the domain I chose not working?
4. Proceed to [Add Trunk Profile](/v1/docs/add-trunk-profile).
5. Once Trunk Profile is created, in [Manage Trunk](/v1/docs/introducing-the-trunk-profiles-page), proceed to add DIDs and choose a default one. The trunk DID will appear in the [Phone Numbers](/v1/docs/phone-numbers) page.
6. Configure Trunk Settings for Teams users [Individually](/v1/docs/configure-trunk-user) or in [bulk](/v1/docs/trunk-user-setup-bulk). Enable trunk(s) for each user, choose a default trunk, and assign DIDs.

## Suggested Further Reading

- For the step by step guide for configuring PBX Connector app, [click here](/v1/docs/pbx-connector-installation-step-by-step-guide).
- For the step by step guide for configuring Call App, [click here](/v1/docs/callapp-installation-step-by-step-guide).
- For the step by step guide for configuring SMS Connector app, [click here](/v1/docs/sms-connector-installation-step-by-step-guide).

A gateway, also called voice route, refers to the configuration settings that determine how incoming and outgoing phone calls made through Microsoft Teams are directed to the appropriate phone number on the PSTN, essentially defining the path a call takes based on the dialed number. This is represented as a "online voice routing policy" within the Microsoft Teams Admin Center.

Phone numbers

Phone number
