Configure SIP Gateway - Microsoft Teams (2024)

  • Article
  • Applies to:
    Microsoft Teams

This article explains how to configure SIP Gateway so that your organization can use compatible SIP devices with Microsoft Teams. To find out what SIP Gateway can do for your organization and what hardware, software, and licenses your organization needs for it, read Plan for SIP Gateway.

Before you can configure SIP Gateway, do the following:

  • Reset SIP devices to factory default settings. You or your organization's users must reset each SIP device used with SIP Gateway to its factory default settings. To find out how to do that, see the manufacturer’s instructions.

  • Open your firewall to Microsoft 365 and Teams. Open your network's firewall to Microsoft 365 and Teams traffic as described in Office 365 URLs and IP address ranges. Firewall rules are needed for outbound traffic only.

  • Make sure the SIP devices are not behind a proxy. Ensure that http/s traffic bypasses any corporate http/s proxy.

  • Open the UDP port. Open UDP port in the range 49152 to 53247 for IP ranges 52.112.0.0/14 and 52.122.0.0/15.

  • Open the TCP port. Open TCP port 5061 for IP ranges 52.112.0.0/14 and 52.122.0.0/15.

  • Open the following IP addresses for HTTP and HTTPS:

    • 13.75.175.145
    • 52.189.219.201
    • 51.124.34.164
    • 13.74.250.91
    • 13.83.55.36
    • 23.96.103.40

The following sections describe what you must do as an administrator to configure SIP Gateway.

  • Verify that SIP Gateway is available for your organization.

  • Enable SIP Gateway for the users in your organization.

  • Set the SIP Gateway provisioning server URL.

This article also describes how to:

  • Enroll SIP devices either individually or in batches for your convenience.

  • View and monitor your SIP devices.

  • Enable support for a multi-language user interface.

Verify that SIP Gateway is available for your organization

  1. Sign in to the Teams admin center.

  2. At the left, select Teams devices and see if the SIP devices tab is visible. If it is, the SIP Gateway service is enabled for your organization.

Enable SIP Gateway for the users in your organization

You can enable SIP Gateway for your organization in either of two ways: by using the Teams admin center, or by using a PowerShell cmdlet.

By using Teams admin center

To enable SIP Gateway in the Teams admin center, follow these steps:

  1. Go to the Teams admin center

  2. At the left, under Voice, select Calling policies.

  3. At the right under Manage policies, select the appropriate calling policy assigned to users or, if necessary, create a new calling policy and assign it to the required users.

  4. Select Manage policies, select a policy, and then select Edit.

  5. Turn on the setting for SIP devices can be used for calls, and then select Save.

By using PowerShell

You can also enable SIP Gateway by using the PowerShell Set-CsTeamsCallingPolicy cmdlet. To enable users for SIP devices, select a policy, and set the -AllowSIPDevicesCalling attribute to True. The default value is False, so users will not be able to use their SIP devices unless you enable them.

Note

  • Policy propagation may take up to 24 hours.

Set the SIP Gateway provisioning server URL

You can set the SIP Gateway provisioning server's URL in your Dynamic Host Configuration Protocol (DHCP) server. Users who work remotely must configure it manually.

Using DHCP

For each SIP device, set one of the following SIP Gateway provisioning server URLs:

  • EMEA: http://emea.ipp.sdg.teams.microsoft.com
  • Americas: http://noam.ipp.sdg.teams.microsoft.com
  • APAC: http://apac.ipp.sdg.teams.microsoft.com

Add SIP devices to your Teams organization by configuring the above SIP Gateway provisioning server URL in your DHCP server. To learn more about DHCP server, see Deploy and manage DHCP. Also, you can use DHCP option 42 to specify the Network Time Protocol (NTP) server, and DHCP option 2 to specify the offset from Coordinated Universal Time (UTC) in seconds. The devices in your organization will be routed to the SIP Gateway provisioning server. Successfully provisioned SIP phones will display the Teams logo and a soft button for sign-in.

Ensure SIP devices are on the minimum supported firmware version for onboarding. During onboarding, SIP Gateway will push the default configuration and authentication user interface to the device. To find out the required firmware version for SIP devices, see Plan for SIP Gateway.

Manually

Users who work remotely must manually configure the provisioning server URL into their SIP device by using the following steps:

  1. Open Settings on the device and get the device's IP address.

  2. Open a browser window, enter the device’s IP address, log in (if necessary) and configure the provisioning server’s URL in the device's web utility.

  3. Under Settings or Advanced settings on the web utility, enter the provisioning server URL shown above.

Note

  • Only compatible SIP devices can be onboarded to SIP Gateway.
  • Cisco IP phones must be flashed to multiplatform firmware before they can be onboarded. To learn how, see Cisco firmware conversion guide.
  • For Yealink phones, use option 66.
  • For Cisco, Poly, and AudioCode phones, use option 160.
  • For Cisco devices, append /$PSN.xml to the provisioning server URL.

Configure conditional access

Conditional Access is an Azure Active Directory (Azure AD) feature that helps ensure that devices that access your Microsoft 365 resources are properly managed and secure. SIP devices are not managed by Intune hence conditional access checks applied to them are stricter than those applied to users. SIP Gateway authenticates SIP devices with Azure AD, so if your organization uses Conditional Access for devices in the corporate network, it should exclude the following IP addresses:

  • North America:
    • East US: 52.170.38.140
    • West US: 40.112.144.212
  • EMEA region:
    • North EU: 40.112.71.149
    • West EU: 40.113.112.67
  • APAC region:
    • Australia East: 20.92.120.71
    • Australia Southeast: 13.73.115.90

With the new authentication experience, conditional access checks for SIP Gateway will apply to users instead of devices. If your devices are on the new sign-in experience, then you should exempt either the Teams app or the SIP Gateway App (ID - 0ab9de21-b802-4d77-b279-1ad41ca233b4) from conditional access checks.

For more information, see IP address ranges.

Provision and enroll SIP devices as common area phones

Note

A SIP device must be onboarded to SIP Gateway before it can be enrolled.

To streamline your tasks, you can enroll SIP devices in the Teams admin center either one at a time or in batches. Here's how:

  1. Log in to the Teams admin center.

  2. Select Teams devices > SIP devices.

  3. At the upper right, select Actions > Provision devices and follow one of these steps:

  • To provision one device:

    a. Under Waiting on activation, select Add.

    b. On the Add MAC addresses pane, enter the MAC address and Location of the device, and then select Apply.

    c. Under Waiting on activation, select the device you just added, and then select Generate verification code.

    d. On the Provision devices pane, under Verification code, note the verification code for the SIP device.

  • To provision many devices:

    a. Under Waiting on activation, at the right, select Export (the Microsoft Excel icon).

    b. On the Provision devices pane, under Upload multiple MAC addresses, select download a template.

    c. Save Template_Provisioning.csv to your computer and fill in the MAC id and Location fields.

    d. On the Provision devices pane, select Upload multiple MAC addresses.

    e. At the right on the Upload MAC addresses pane, select Select a file, and select the Template_Provisioning.csv file that contains your data.

    f. On the Provision devices pane, under Waiting on activation, select a device and then select Generate verification code to generate a one-time verification code for each provisioned device. Note the verification code for each SIP device.

  1. On the SIP device, dial the enrollment feature code followed by the verification code. On the SIP device, dial the enrollment feature code *55* (used by SIP Gateway for enrollment one-time-verification code validation), followed by the verification code that is generated in Teams Admin Center for this particular device. For example, if the verification code is 123456, dial *55*123456 to enroll the device.

  2. On the Provision devices pane, under Waiting for sign in, select Signed out.

  3. In the Sign in a user dialog, the authentication URL and pairing code will be displayed.

  4. Navigate to the authentication URL on the user's desktop or mobile browser and use corporate credentials to log in.

  5. Enter the pairing code displayed in the Sign in a user dialog into the web authentication app to pair the SIP phone with the user's account. On a successful sign-in, which might take a while, the SIP phone will display the phone number and username, if the device supports it.

How to sign in and sign out

Only local sign-in is supported for users’ personal devices. To sign out a device from the Admin center, follow these steps:

  1. Log in to the Teams admin center.

  2. Select Teams devices > SIP devices.

  3. At the right, select a SIP device, and then select Sign out.

User pairing and sign-in

To pair a SIP device after the user authenticates using corporate credentials, a user must:

  1. Press Sign-in on the SIP phone to display the authentication URL and pairing code. The pairing code is time-sensitive. If it expires, the user must press Back on the phone and start the sign-in process again.

  2. Navigate to the authentication URL on the user's desktop or mobile browser and use corporate credentials to log in.

  3. Enter the pairing code displayed on the SIP phone into the web authentication app to pair the SIP phone with the user's account. On a successful sign-in, which might take a while, the SIP phone will display the phone number and username, if the device supports it.

Note

The location of the device shown on the Azure Active Directory web authentication app is the SIP Gateway datacenter to which the device is connected. SIP phones in scope are not OAuth-capable, so SIP Gateway authenticates the user through the web authentication app and then pairs the device with the user’s credentials. Learn more here: Microsoft identity platform and the OAuth 2.0 device authorization grant flow.

Note

We are introducing a new authentication experience progressively for SIP Gateway compatible devices. Users with the new experience will see a new authentication URL.

Sign-out

To sign out, a device user can:

  • Press Sign-Out on the SIP device and follow the steps described on the device.

To sign out a device on the Teams admin center:

  1. Log in to the Teams admin center.

  2. Select Teams devices > SIP devices.

  3. At the right, in the SIP devices pane, select the device.

  4. On the device's Details pane, select the Details tab, and at the upper right on the Actions menu, select Sign out.

View and monitor SIP devices

You can view and monitor your SIP device inventory in the Teams admin center after the devices' users sign in at least once. Here's how:

  1. Log in to the Teams admin center.

  2. Select Teams devices > SIP devices. All signed-in SIP devices are listed on the right.

Restart a SIP device

  1. Log in to the Teams admin center.

  2. Select Teams devices > SIP devices.

  3. On the right, select the SIP device that you want to restart, and then select Restart.

Note

  • Removing a SIP device from your tenant is currently unavailable in the Teams admin center.
  • Command execution depends on device availability, and it may not match the execution status shown in the Teams admin center. If you try to enable SIP gateway on a device that doesn't support it, the command won't be executed.

Sync policy changes to SIP devices to enforce policies

User details and policies will be fetched to SIP devices when users sign in. Any policy changes thereafter for signed-in users will be synced to the device within one hour. Devices must have their registration refreshed with the SIP Gateway periodically. SIP phones depend on Call Redirect, so the admin must set the AllowCallRedirect attribute in Set-CsTeamsCallingPolicy to Enabled.

Set a SIP device's UI language

A SIP device can usually display information in many languages. Setting its UI language affects its interface, including softkeys and sign-in/sign-out system messages. Setting the UI language is done in the provisioning server, using DHCP server, or manually by appending a code string in the URL as in the following examples.

How to set German for Polycom, AudioCodes, and Yealink phones:

  • http://emea.ipp.sdg.teams.microsoft.com/lang_de

How to set Japanese for Cisco phones:

  • http://emea.ipp.sdg.teams.microsoft.com/lang_ja/$PSN.xml

Supported languages

Language nameLanguage code]
English (default)en
Spanishes
Japaneseja
Germande
Frenchfr
Portuguesept

Note

  • Japanese is not supported by Yealink and partially supported by Polycom VVX.
  • The system defaults to English if the selected language is not supported by the SIP endpoint.
  • When the lang_xx parameter is not set via the provisioning URL, English is used as the default language.
  • If Sign in to make an emergency call text is not translated to other languages, an abbreviated version in English only will be presented on Press Sign In on the following IP phone models due to a screensize limitations:
    • Poly VVX 150, VVX 201
    • Cisco CP-6821, CP-7811, CP-7821, CP-7841, CP-7861
    • Voice mail softkey label is hardcoded with VM text across all languages for Poly VVX because of a limitation of string length.

Microsoft Teams and IPv6

SIP Gateway only supports IPv4. Microsoft Teams service and client support both IPv4 and IPv6. If you want to control communications to Microsoft Teams, use the IP address ranges in Microsoft 365 URLs and IP address ranges.

Emergency calling

SIP Gateway supports dynamic emergency calling (dynamic E911) for compatible SIP devices that share network attributes over the wire. These attributes are provisioned in the Teams admin center and can be a combination of local IP and subnet length, or chassis ID and network port number. For devices that do not share location attributes, or if the location is not resolved dynamically for any reason, SIP Gateway will continue to support emergency calling based on registered addresses. Currently, registered addresses are not supported for Direct Routing scenarios. For more information about emergency calling, see Plan and manage emergency calling.

Report problems to Microsoft

To report problems, contact Microsoft Support.

Configure SIP Gateway - Microsoft Teams (2024)

FAQs

How do I enable SIP gateway Teams? ›

Enable SIP Gateway for the users in your organization
  1. Go to the Teams admin center.
  2. At the left, under Voice, select Calling policies.
  3. At the right under Manage policies, select the appropriate calling policy assigned to users or, if necessary, create a new calling policy and assign it to the required users.
Jul 6, 2023

What is Microsoft Teams SIP gateway? ›

SIP Gateway enables Teams calling functionality on compatible thirdparty SIP devices like those available from Cisco, Poly, Yealink and AudioCodes. For organizations with investment in SIP devices, SIP Gateway provides calling, meeting dial-in, voicemail and other core telephony features.

Does Microsoft Teams work with SIP? ›

Now you can sign-in to Teams with your corporate credentials and make and receive calls with a compatible SIP device. Compatible devices can be Skype for Business IP phones with standard SIP firmware, Cisco IP phones with multiplatform SIP firmware, or SIP devices from vendors such as Poly, Yealink, and AudioCodes.

How much does Microsoft Teams SIP gateway cost? ›

Microsoft Teams now has the capability to connect and utilize several legacy, non-native Microsoft IP Phones. This is possible due the recent announcement of general availability for SIP Gateway. SIP Gateway is a 100% cloud-based solution, no infrastructure required and no additional cost.

How do I enable SIP protocol? ›

Procedure
  1. Start WebSphere® Application Server.
  2. From the administrative console, click Servers > Server Types > WebSphere application servers > server_name .
  3. From Container Settings, expand SIP Container Settings, and click SIP Container. ...
  4. After configuring the SIP container, click Apply to save the changes.

How do I allow Teams to access my network? ›

Open your Teams app. Select your profile icon in the upper right corner of the window. Select Settings > Permissions from the dropdown menu. Select your desired settings.

How does SIP gateway work? ›

How Does a SIP Gateway Work? At the beginning of a call, a signal will travel over PRI channels from your on-premise PBX to a SIP gateway. The signal then converts from an analog signal (PRI) into a digital signal (SIP) as it moves through the SIP gateway.

Will Microsoft Teams SIP gateway support analog phones? ›

The SIP Gateway has come a long way. Announced in December 2021, only certain SIP phones were supported but as of early 2023, that list has grown bigger quite a bit with Microsoft recently adding support for DECT devices and now analog devices.

What is the difference between SIP proxy and SIP server? ›

A SIP server, also known as a SIP Proxy, deals with all the management of SIP calls in a network and is responsible for taking requests from the user agents in order to place and terminate calls. SIP Servers are usually included inside of SIP-enabled IP-PBXs.

How do you integrate Microsoft Teams? ›

Create a new app
  1. Open Teams app.
  2. Select Power Apps from the left-pane.
  3. Select + New app under Recent apps.
  4. Select the team created earlier, and select Create to open the app in Power Apps Studio.
  5. Enter a name for the app, such as "Integrate with calls and meetings".
  6. Select Save.
Jan 19, 2023

Does SIP need a server? ›

The SIP server is an essential part of any PBX (Private Branch Exchange) system, handling the protocol and all SIP call routing in the network. These servers are designed to enable communication between two or more users using SIP, regardless of their location.

Can you use Microsoft Teams between companies? ›

Use guest access to add a person from outside your organization to a team, where they can chat, call, meet, and collaborate on files. A guest can be given nearly all the same Teams capabilities as a native team member. For more information, see Guest experience in Teams.

Is Microsoft Teams a VoIP service? ›

Microsoft Teams Phone supports VoIP phone calls to anyone, whether they're using a landline, mobile phone, or the Teams app.

How do I connect Microsoft Teams to my Cisco phone? ›

In the Teams apps menu, click on Setup policies and add the Cisco Webex Call app to your Microsoft setup. Users will now be able to click Webex Call at the bottom of a window when chatting in Microsoft Teams.

How do I get a SIP server? ›

The easiest way to get a SIP address is by creating an account with an online service. Like creating an email account with Google or Yahoo, you will be provided with an address (i.e. yourname@gmail.com or yourname@yahoo.com ).

How do I enable Outlook Teams plugin? ›

To re-enable the Teams Meeting add-in:
  1. In Outlook, select File > Options > Add-ins > Manage, select “Disabled items”, and then Go.
  2. If you see Teams listed under Disabled Items, select it and then select Enable.
  3. Restart Outlook and confirm if the add-in is working.
May 25, 2023

What does SIP enabled mean? ›

System Integrity Protection (SIP) in macOS protects the entire system by preventing the execution of unauthorized code. The system automatically authorizes apps that the user downloads from the App Store. The system also authorizes apps that a developer notarizes and distributes directly to users.

How do I enable Teams in Office 365 Admin Center? ›

Sign in to Office 365 with your work or school account. Click Admin to go to the Office 365 admin center. Go to Settings > Settings >Microsoft Teams. Click “go to the old admin center Settings page” to navigate to our non-preview settings page and select Microsoft Teams from within the Settings> Services list.

Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 5992

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.