Teams Phone Connector SIP Trunk Configuration Step-By-Step Guide
Table of Contents
Prerequisites: Step 1: Assign Microsoft Licenses Step 2: Add the Enterprise Step 3: Direct Routing Direct Routing Completion Adding Additional Routes Step 4: Add Trunk Profile Add Trunk Profile Step 5: Manage Trunk Profiles and Trunk Users Profiles Disabled SIP Trunk Profiles Users Action Buttons Updating Trunk Users Next Steps to Consider:Prerequisites:
Reseller Admin Access to the Microsoft Teams Connector Portal.
This article is a step-by-step guide to initial provisioning of the Microsoft Teams Connector SIP Trunk. Start here, and follow links as needed for additional details and troubleshooting.
This process will require collaboration between the Service Provider/Reseller and the Microsoft Global Administrator for the Enterprise. Some tasks can be delegated from the global admin to the "Microsoft Teams Service Admin" and "Skype Admin,” but due to Microsoft's security policies, the setup cannot be completed without the Global Administrator's initial involvement.
Step 1: Assign Microsoft Licenses
Before beginning with the Microsoft Teams Phone Connector, each planned Microsoft Teams user must have the required licenses assigned. Sometimes, due to high traffic, Microsoft can take up to 24 Hours to activate licenses after they have been assigned, so doing this ahead of time will streamline the rest of the process. Ensure there is one additional set of licenses available and unassigned as a direct routing user. These additional licences can be recovered once the setup is complete.
If a cancelled or suspended trial license is added to a valid license with the same name, the customer should ensure 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 required licenses are unavailable.
Step 2: Add the Enterprise
As a reseller, you will use the Microsoft Teams Connector Portal to add the new Enterprise, ensuring the email user for registration belongs to the Microsoft Global Administrator for the new enterprise. This will automatically send an email with a link to start the set-up process.
Add a New Enterprise
- Log in to the Microsoft Teams Connector Provisioning Portal
- Navigate to Enterprises

- Click Add Enterprise

The "Add Enterprise" form will load.

- Complete the following fields.
- Enterprise Name: Name of the client. Enter the enterprise name that will show up in the portal. Note: The Enterprise name should have a minimum length of 5 and a maximum length of 50 characters.
- Enterprise Admin Email ID: Client's global admin email address. Enter the email address of the person who controls the Microsoft Enterprise Global Administrator** for your business customer.
- Services: Trunk
- User Limit: Leave blank
- Request Consent For Enterprise Management: Yes. The enterprise admin will receive an Action Item to Grant Consent if this option is checked.
- Country: Select United States
- Billing Reference: If you have an external billing system, enter the string that identifies this enterprise in your billing system. This string will appear in reports.
- Restrict Enterprise Admin Access: Check this if you (the reseller) will perform all enterprise management functions. The Enterprise Global Admin will still need to log in to the Enterprise Portal to grant consent to the Reseller. The "Request Consent for Enterprise Management" above must be checked.
- Click Submit
- The Global Administrator will immediately receive an invitation email to the Teams Connector Provisioning Portal. Before proceeding, they must set up Direct Routing.
You can monitor the status from the “Edit Enterprise” screen and on the dashboard under Enterprise Admin Action Items.

Note: The Microsoft Office Global Administrator is the highest level of administrative credentials in Office 365 administration. It is required to initially register with the TMC and to install the PBX Application. It can be used for the entire setup process or this can be delegated to another User with Teams Service Admin and Skype for Business Admin rights. Specifically, Users with those delegated rights can set up Direct Routing and Manage Users.
Resend Global Administrator Invitation Email
If you do not receive the initial invitation email, you can resend it to the Global Administrator.
- Log in to the Teams Connector Provisioning Portal
- Navigate to Reseller > Enterprises, then locate the enterprise you'd like to resend the invitation to.
- Click the three dots next to the enterprise, then select Resend Invitation Email.

Step 3: Direct Routing
- The Global Administrator of the Microsoft Tenant will receive an email from Microsoft Teams Phone with an invitation Code and a link to complete registration. This process was initiated when you created the Enterprise in the last step.
- Copy the Invitation Code and click on "Complete."
- Log in to the portal with Global Admin Credentials.
- Navigate to Enterprise > Direct Routing

- Ensure you have the correct Microsoft Office licensing. You must have at least one available AND unassigned User license for the Phone System or a comparable add-on that supports Direct Routing. The Direct Routing page displays relevant licenses.

- Under Setup Direct Routing Details, select the desired Gateway.
- Paste the invitation code from the email.
- Then click "Complete Direct Routing.”
- The "Verify Tenant" will pop up, verifying the connection to the DNS Provider and validating licenses.
- Click "Complete Direct Routing" as soon as the verification is done.


Direct Routing Completion
Direct Routing provisioning will take a few minutes; refresh the page after 2-3 minutes to check progress.
Direct Routing in Progress

When the Direct Routing setup is complete, you will receive an alert email at the Enterprise email address instructing you to continue with PBX Settings, User Management, and Teams Management (Application setup). On the Enterprise portal dashboard, your Direct Routing Connection Status will display complete.

If the direct routing process completes and the "Calling Enabled" indicator is still showing as red, like the screenshot below,

To initiate the direct routing process, click the "Finish" button on the right side of the Direct Routing page.

If that does not resolve the issue, please open a support ticket.
Adding Additional Routes
If desired, additional direct routes can be set up.

The form will be the same as the initial Direct Route. Use the same invitation code provided in the original email for all direct routes.
Each direct route creates a different Direct Routing User and consumes a Microsoft license, so remember to recover your licenses in the Microsoft Admin Center when you are done.
Step 4: Add Trunk Profile
After the enterprise has configured Direct Routing, the reseller is responsible for setting up the trunk profile with information from the customer's telecom account.
Add Trunk Profile
This article provides guidance for filling out the form to add a trunk profile from the reseller provisioning portal.
From the Enterprise Dashboard, navigate to "Trunk" then "Profiles" and click "Add Trunk Profile" in the upper right corner.


Available Voice Routes: Select one of your already-configured voice routes from the dropdown menu.
Trunk Type: Select the type of Authentication that your Trunk supports.
Description: What part of the business will this trunk service serve? Example: "Customer Service Trunk," or "Downtown Office."
Outbound Transport type: Select UDP, TCP, or a combination.
DNS Lookup type: Host or SRV. NOTE: DNS/SRV is incompatible with proxy addresses, including ports. If your proxy address requires a port, you must use HOST.
Outbound Proxy and Port: sip.siplogin
Emergency Outbound Proxy and Port: Enter if configured on the trunk side. This is optional.
P-Asserted-Identity(PAI): Choose if it is from a number, the trunk default number, the trunk SIP user ID, or none.
Codecs: Select your codecs in order of preference; codecs will be attempted in the order you arrange.
Topology Hiding: check if you want to enable Topology Hiding
CallerID/Name Policy: Give you the option to customize the Caller ID and Caller Name transmitted to upstream systems for outbound calls.
Domain: SIP Domain. Refer to the client's account.
SIP User ID: This may be the same as the "Auth User" above, but some providers differentiate between SIP user names and SIP user IDs. This field will automatically populate as "(Auth User)@(Domain)" as you fill in the rest of the form. Review for accuracy before submitting.
Auth User: SIP User name
Auth Password: SIP Password
When complete, click "Add Trunk Profile" and review its status on the "SIP Trunk Profiles" page.

Step 5: Manage Trunk Profiles and Trunk Users
This guide discusses the portal screens where you can view and manage listings of Trunk Profiles and Trunk Users.
Profiles
This screen shows all configured trunks for the enterprise, along with features to manage them and search for specific or disabled trunks.


Add a Trunk Profile button: This button opens a form where you can define a new trunk profile.
The SIP Trunk Profiles table lists all the trunk profiles created. Information shown in the table is:
- Domain: SIP Domain. Refer to the client's account.
- Edge Proxy: The edge proxy in the Microsoft Teams Connector network is assigned to handle the trunk. This can't be edited; it's informational only.
- Description: Your descriptive identification of the trunk. You may use text like “Customer Service Trunk,” or “Downtown Office.”
- SBC Location: The gateway through which the route was built.
- Outbound Proxy: The proxy address from the telecom provider being used.
- Registration: Indicates whether the trunk was properly configured and successfully registered with the trunk provider. This indicator sometimes takes a while to turn green; you may be able to place calls before the dashboard acknowledges that the registration is successful.
- In Use: This indicates whether any users have been assigned to the trunk yet.
The Action options available for each trunk profile are:
- Disable Trunk: Disabling the trunk moves it to the Disabled Trunk list. Use the Advanced Trunk Search option to see such a list.
- Edit: This is to modify the trunk profile configuration.
Disable Trunks button: Disables multiple trunks. When the button is clicked, it shows you checkboxes so you can select multiple trunk profiles to disable.
Advanced Trunk Search button: This lets you change the records displayed on the page. When in active trunk list view, you can select to viewa list of Disabled Trunk Profiles. When in the disabled trunk list view, you are given the option to go back to the Active Trunk Profiles list.

Disabled SIP Trunk Profiles
This page lists all the disabled trunk profiles.

The Action options for each disabled trunk profile are:
- Delete Trunk: To delete the trunk permanently.
- Restore Trunk: To activate the trunk again. Once restored, the trunk profile will show in the active Trunk Profiles table mentioned above.
- Edit: This is to modify the trunk profile definitions. For a refresher on the meaning of each field
Users
This screen shows the Teams users in the enterprise along with their trunk configuration. This also leads to trunk user management functionalities.

The Manage Users table lists the Teams users and their trunk configurations. Information shown in the table is:
- Teams User: The user's Microsoft email address.
- Outbound Trunk: This shows the Trunk Profile if the user is configured for trunk service.
- Caller ID: This shows the assigned Caller ID if the user is configured for trunk service.
- License Details: Displays the status of required Microsoft licenses for each user. All license icons must be green for the user configuration to be considered complete.

The Action options for each user in the table are:

- Configure Trunk User: This opens a page to configure a trunk user.
- Disable User: This removes the user registration and removes the trunk configuration. A disabled user can be restored, and if consent has not been granted to the provider, the Enterprise Admin must perform a Teams Users sync operation to complete the user restoration.
- Disable Calling: Remove calling settings from Teams. Typically followed by Enable Calling in situations when troubleshooting call failure scenarios.
- Manage SMS: If Enterprise is enabled for the SMS service, this page lets you configure this Teams user's SMS. (If Enterprise is also enabled for PBX Service, this Manage SMS is also available in the core Users page.)
For the changes to the trunk user configuration to reflect in Microsoft Teams, the "Teams Users" must be synced.
If the Enterprise Admin did not grant the reseller the "Allow Management by Service" consent, the Enterprise Admin needs to "Sync Teams Users" action in the Enterprise Dashboard.

Action Buttons

Update Users button: Lets you update selected configured trunk Users. When the button is clicked, it shows you checkboxes so you can select multiple users to update. See the Updating Trunk Users section below for more on this.
The Disable Users button lets you disable selected configured trunk users. When the button is clicked, it shows checkboxes so you can select multiple users to delete. Disabling users are moved to a Disabled Users list.
Export Users button: Lets you export the configured trunk users.
When exporting trunk users, you will see this message indicating that a file generation process has started. To retrieve the file, click Downloads on the left menu pane.

Select User Groups button: Lets you define the enterprise organization groups that need to be synchronized. This is similar to the User Groups syncing ability in PBX.

This shows these search options:
- Disabled Users: This leads to a page listing all disabled trunk users. On this page, you can delete the trunk configuration for users or restore (i.e., activate) users for trunk calling.
- Deleted Users: Lists all the deleted trunk users. On this page, you can restore deleted users.
- Unlicensed Users: lists all Teams users in the enterprise who don't have the necessary Microsoft licenses for trunk calling.
Updating Trunk Users

When using the Update Users button to bulk update trunk users, the following fields are modifiable:
- Don't Update: Choose this if you do not wish to change the current DialPlan Policy settings of the selected users.
- Enable: Select this option to assign the Reseller-defined Default Dial Plan policy to all selected users.
- Disable: Choose this option if you do not want to assign the Reseller-defined Default Dial Plan policy to all selected users.
Trunk Profile: If you want to update the Trunk Profile of all the selected users, select the target Trunk Profile.
Click the "Next" button, then confirm the prompt to complete the bulk trunk user update.