Source record · tier 2 current vendor documentation
Configure SIP Gateway
- Publisher
- Microsoft
- URL
- https://learn.microsoft.com/en-us/microsoftteams/devices/sip-gateway-configure
- Published
- 2024-08-08
- Updated
- unknown
- Accessed
- 2026-09-21
- HTTP status
- 200
- License
- Microsoft Learn terms of use; no-redistribution; short excerpts and locators only
Source notes citing this source
- Bulk sign-in of SIP devices works in batches of up to 100 devices with at most three concurrent batches per region, requires the site public IP to have been a trusted IP for at least 24 hours, the tenant ID in the provisioning URL, Teams PowerShell 5.6.0 or later, accounts without MFA that hold a phone number, the CommonAreaPhone policy and AllowSIPDevicesCalling. in context
- SIP Gateway is enabled for users through a Teams calling policy, either with the 'SIP devices can be used for calls' setting in Teams admin center or Set-CsTeamsCallingPolicy -AllowSIPDevicesCalling True, the default being False, and policy propagation may take up to 24 hours. in context
- Every SIP device must be reset to factory default settings before it is used with SIP Gateway, and only compatible SIP devices can be onboarded. in context
- SIP Gateway requires outbound-only firewall openings of UDP ports 49152 to 53247 and TCP port 5061 towards IP ranges 52.112.0.0/14 and 52.122.0.0/15, the devices must not sit behind an HTTP proxy, and SIP Gateway supports IPv4 only. in context
- SIP Gateway provisioning server URLs are regional - emea.ipp.sdg.teams.microsoft.com, noam.ipp.sdg.teams.microsoft.com and apac.ipp.sdg.teams.microsoft.com - and for Cisco devices the URL must have /$PSN.xml appended and is delivered with DHCP option 160. in context
- SIP Gateway falls back to emergency calling based on registered addresses for devices that do not share location attributes, and registered addresses are not currently supported for Direct Routing scenarios. in context
- SIP Gateway bulk sign-in handles batches of up to 100 devices, with at most 3 concurrent batches per region. It applies to devices within 72 hours of onboarding, or within 168 hours of being signed out. in context
- Users are enabled for SIP Gateway through a Teams calling policy setting ('SIP devices can be used for calls', or -AllowSIPDevicesCalling in Set-CsTeamsCallingPolicy). It defaults to False, and policy propagation can take up to 24 hours. in context
- For Cisco, Poly and AudioCodes phones, the SIP Gateway provisioning server URL is delivered with DHCP option 160; Yealink and Alcatel-Lucent Enterprise phones use option 66. in context
- To enroll a SIP device provisioned in Teams admin center, the admin generates a verification code for the device's MAC address, and on the device dials *55* followed by that code. in context
- Before a SIP device is configured for SIP Gateway it must be reset to factory defaults, and it must be on at least the minimum supported firmware before onboarding. in context
- SIP Gateway supports only IPv4, even though the Teams service and clients support both IPv4 and IPv6. in context
- When the tenant ID is added to the SIP Gateway provisioning URL for bulk sign-in, Poly ATAs use $mac.cfg in place of mac.ini. in context
- The regional SIP Gateway provisioning server URLs are http://noam.ipp.sdg.teams.microsoft.com (Americas), http://emea.ipp.sdg.teams.microsoft.com (EMEA) and http://apac.ipp.sdg.teams.microsoft.com (APAC). in context
- On SIP Gateway, Japanese is only partially supported on Polycom VVX, and the voicemail softkey on Poly VVX is hardcoded as 'VM' in every language because of a string-length limitation. in context
- SIP Gateway bulk sign-in signs in shared accounts in batches of up to 100 devices, with at most 3 concurrent batches per region. It works only within 72 hours of onboarding, or within 7 days of a device being signed out. Accounts must have CommonAreaPhone policy, a phone number and AllowSIPDevicesCalling, and must not have MFA. in context
- From January 1, 2026, tenants that use location-based Conditional Access exclusions for SIP Gateway must also exclude additional SIP Gateway service IPs in the 70.152.x.x range, for each region. in context
- To let users make calls from SIP devices, admins set AllowSIPDevicesCalling to True in the Teams calling policy (the default is False), or turn on SIP devices can be used for calls in the Teams admin center. Propagation can take up to 24 hours. in context
- To enroll a SIP device as a common area phone, in this order: onboard it to SIP Gateway; add its MAC address under Teams devices > SIP devices > Provision devices; generate a verification code; dial *55* followed by the code on the device; then sign in with the pairing code shown in the Sign in a user dialog. in context
- SIP Gateway supports only IPv4, although the Teams service and clients support both IPv4 and IPv6. in context
- SIP Gateway provisioning server URLs are http://emea.ipp.sdg.teams.microsoft.com, http://noam.ipp.sdg.teams.microsoft.com and http://apac.ipp.sdg.teams.microsoft.com. They are set through DHCP option 66 for Yealink and Alcatel-Lucent Enterprise, or option 160 for Cisco, Poly and AudioCodes. Cisco devices also need /$PSN.xml appended. in context
- SIP phones on SIP Gateway depend on call redirect, so the AllowCallRedirect attribute of the Teams calling policy must be set to Enabled; this also makes device-local call forwarding work. in context
- If the SIP devices tab is visible under Teams devices in the Teams admin center, the SIP Gateway service is enabled for the organization. in context
- Accounts in a bulk sign-in request must have the CommonAreaPhone policy applied, must not have MFA enabled, must have a phone number assigned and must have the AllowSIPDevicesCalling calling policy assigned. in context
- Microsoft's bulk sign-in error table maps errors to fixes, including missing phone number, missing AllowSIPDevicesCalling or CommonAreaPhone policy, BulkSignIn tag missing (wrong tenant ID in the provisioning URL), public IP not configured as trusted IP, and bulk sign-in deadline expired after 72 or 168 hours. in context
- SIP Gateway bulk sign-in signs in shared accounts in batches of up to 100 devices, with a limit of 3 concurrent batches per region. in context
- Bulk sign-in needs MicrosoftTeams PowerShell 5.6.0 or later and must be run by an account holding Global Administrator, Privileged Authentication Administrator or Authentication Administrator, with Microsoft recommending the least-privileged role. in context
- For bulk sign-in the device account must not have User must change password at next login or User's password can't be changed selected, and the minimum password age must be 0, otherwise password writeback fails. in context
- For bulk sign-in the tenant ID must be added to the device provisioning URL; for Cisco IP phones in North America the form is http://noam.ipp.sdg.teams.microsoft.com/tenantid/<tenant-ID>/$PSN.xml, and for other IP phones the same URL without the suffix. in context
- For bulk sign-in, the site public IP addresses or ranges must be added to the tenant's trusted IPs in the Teams admin center at least 24 hours before running the bulk sign-in cmdlets. in context
- Bulk sign-in applies to new devices within 72 hours of onboarding to SIP Gateway, or to signed-out devices within 7 days (168 hours) of sign-out, in which case the tenant ID need not be added to the provisioning URL; Microsoft advises running it at least 1 hour and at most 70 hours after provisioning. in context
- Starting 1 January 2026 Microsoft requires four additional SIP Gateway service IPs per region to be excluded: 70.152.106.56, 70.152.136.2, 70.152.120.55 and 70.152.38.25 (North America); 70.152.180.28, 70.152.200.28, 70.152.180.29 and 70.152.192.2 (EMEA); 70.152.50.14, 70.152.1.9, 70.152.49.18 and 70.152.1.10 (APAC). in context
- Tenants whose Conditional Access location exclusions for bulk sign-in were set up before 1 January 2026 and list only the original six service IPs are likely to see bulk sign-in blocked by Conditional Access until the twelve additional IPs are added. inferred in context
- Because SIP devices are not Intune-managed, stricter Conditional Access checks apply to them; an organization using Conditional Access for devices on the corporate network should exclude its site public IP addresses and the SIP Gateway API app (0ab9de21-b802-4d77-b279-1ad41ca233b4). in context
- Tenants using bulk sign-in, or whose SIP devices were signed in before July 2023, need location-based Conditional Access exclusions for the regional SIP Gateway service IPs: 52.170.38.140 and 40.112.144.212 (North America), 40.112.71.149 and 40.113.112.67 (EMEA), 20.92.120.71 and 13.73.115.90 (APAC). in context
- For Cisco devices, /$PSN.xml must be appended to the SIP Gateway provisioning server URL. in context
- SIP phones in scope are not OAuth-capable, so SIP Gateway authenticates the user through a web authentication app using the OAuth 2.0 device authorization grant flow, and the location shown in that app is the SIP Gateway datacenter the device is connected to. in context
- When delivering the provisioning URL by DHCP, Microsoft specifies option 160 for Cisco, Poly and AudioCodes phones and option 66 for Yealink and Alcatel-Lucent Enterprise phones; option 42 can supply NTP and option 2 the UTC offset. in context
- SIP Gateway supports dynamic emergency calling for devices that share network attributes (local IP and subnet length, or chassis ID and port) provisioned in the Teams admin center; otherwise it falls back to registered addresses, which are not supported for Direct Routing. in context
- Before configuring SIP Gateway, each SIP device used with it must be reset to its factory default settings using the manufacturer's instructions. in context
- SIP Gateway requires the firewall to be open to Microsoft 365 and Teams traffic per the Office 365 URLs and IP address ranges, with rules needed for outbound traffic only, and device http/s traffic must bypass any corporate proxy. in context
- SIP devices appear in the Teams admin center inventory under Teams devices > SIP devices only after their users sign in at least once, and a device can be restarted from there. in context
- SIP Gateway supports only IPv4, although the Teams service and clients support both IPv4 and IPv6. in context
- A SIP device's UI language is set by appending lang_xx to the provisioning URL (for Cisco before /$PSN.xml); supported codes are en, es, ja, de, fr and pt, and English is used when the parameter is absent or unsupported. in context
- Only local sign-in is supported for users' personal SIP Gateway devices. in context
- Users who work remotely must configure the provisioning server URL manually by browsing to the device's IP address, signing in to its web utility and entering the URL under Settings or Advanced settings. in context
- Successfully provisioned SIP phones display the Teams logo and a soft button for sign-in; during onboarding SIP Gateway pushes the default configuration and authentication user interface to the device, which must be on the minimum supported firmware. in context
- Calling policy propagation for SIP Gateway enablement may take up to 24 hours. in context
- With PowerShell, SIP Gateway is enabled by setting -AllowSIPDevicesCalling to True on a calling policy with Set-CsTeamsCallingPolicy; the default is False, so users cannot use SIP devices until enabled. in context
- User details and policies are fetched to a SIP device at sign-in, and later policy changes for signed-in users sync to the device within one hour. in context
- In the Teams admin center, SIP Gateway is enabled per calling policy under Voice > Calling policies by turning on SIP devices can be used for calls and saving the policy assigned to the users. in context
- SIP Gateway requires UDP ports 49152 to 53247 and TCP port 5061 open for IP ranges 52.112.0.0/14 and 52.122.0.0/15. in context
- The SIP Gateway provisioning server URLs are http://emea.ipp.sdg.teams.microsoft.com for EMEA, http://noam.ipp.sdg.teams.microsoft.com for the Americas and http://apac.ipp.sdg.teams.microsoft.com for APAC. in context
- A SIP device can be signed out by the user with the Sign-Out key or by an admin from its Details pane in Teams devices > SIP devices, but removing a SIP device from the tenant is currently unavailable in the Teams admin center. in context
- The Teams admin center can enroll SIP devices as common area phones one at a time or by CSV upload under Teams devices > SIP devices > Actions > Provision devices, by adding MAC address and location and generating a one-time verification code; the device must already be onboarded and the method is unavailable in GCC. in context
- After enrollment, dialing *55* followed by the verification code on the device (for example *55*123456) enrolls it; selecting Signed out under Waiting for sign in then shows an authentication URL and pairing code, which are completed in a browser with the account's credentials. in context
- Because Microsoft documents admin-center enrollment only for common area phones and supports only local sign-in for users' personal devices, an admin-driven remote pairing path is likely available only for shared common area accounts, not for an individual user's phone. inferred in context
- For user pairing, the user presses Sign-in on the phone to display an authentication URL and a time-sensitive pairing code, signs in with corporate credentials in a desktop or mobile browser and enters the code; if the code expires the user presses Back and starts again, and on success the phone shows the phone number and username if supported. in context
- Common area phones can be signed in without touching the device through the SIP remote login portal (aka.ms/sipremotelogin) by authenticating as the common area phone account, choosing the NOAM, EMEA or APAC region and entering the MAC address as XX-XX-XX-XX-XX-XX, provided the bulk sign-in prerequisites are in place. in context
- Users are enabled for SIP Gateway by setting AllowSIPDevicesCalling to True in their Teams calling policy (Teams admin center setting 'SIP devices can be used for calls'); Microsoft's configure article states the default is False. in context
- The device location shown in the Microsoft Entra web authentication app during SIP Gateway pairing is the SIP Gateway datacenter the device is connected to, not the phone's site. in context
- Accounts in a bulk sign-in request must have the CommonAreaPhone policy, must not have MFA enabled, must have a phone number assigned and must have the SIP device calling policy; the tenant BulkSignIn setting must be Enabled and Teams PowerShell 5.6.0 or later is required. in context
- The bulk sign-in error 'Public IP not configured as Trusted IP' means either the tenant ID in the provisioning URL is wrong or the device's public IP is not listed as a trusted IP in Teams admin center. in context
- Bulk sign-in works for new SIP devices within 72 hours of onboarding to SIP Gateway, or for signed-out devices within 7 days (168 hours) of sign-out; batches hold up to 100 devices with at most 3 concurrent batches per region. in context
- For bulk sign-in, the tenant ID must be added to the device provisioning URL (for example http://noam.ipp.sdg.teams.microsoft.com/tenantid/<tenant-GUID>, with /$PSN.xml appended for Cisco and mac.ini for analog lines on AudioCodes ATAs). in context
- Bulk sign-in requires the site public IP addresses to be added as trusted IPs in Teams admin center at least 24 hours before running the bulk sign-in cmdlets. in context
- Starting 1 January 2026, the same tenants must also exclude additional SIP Gateway service IPs in the 70.152.0.0 space (for North America 70.152.106.56, 70.152.136.2, 70.152.120.55 and 70.152.38.25, with separate EMEA and APAC lists). in context
- If the tenant uses Conditional Access, Microsoft says to exclude the site public IP addresses and the SIP Gateway API app (app ID 0ab9de21-b802-4d77-b279-1ad41ca233b4), because SIP devices are not Intune-managed and get stricter checks. in context
- Tenants using bulk sign-in, or whose SIP devices were signed in before July 2023, need location-based Conditional Access exclusions for the SIP Gateway service IPs (North America 52.170.38.140 and 40.112.144.212; EMEA 40.112.71.149 and 40.113.112.67; APAC 20.92.120.71 and 13.73.115.90). in context
- SIP phones on SIP Gateway depend on Call Redirect, so the admin must set AllowCallRedirect to Enabled in the user's Teams calling policy; local call forwarding on the device also needs it. in context
- Compatible Cisco SIP IP phones support dynamic emergency location discovery with SIP Gateway over LLDP only; devices that share no location attributes fall back to registered addresses. in context
- Cisco IP phones must be converted to multiplatform (MPP) firmware before they can be onboarded to SIP Gateway; phones on enterprise firmware cannot onboard as-is. in context
- For Cisco devices, /$PSN.xml must be appended to the SIP Gateway provisioning server URL. in context
- In-scope SIP phones are not OAuth-capable, so SIP Gateway authenticates the user through a web authentication app and pairs the device with the user's credentials, and Microsoft points to the OAuth 2.0 device authorization grant flow for background. in context
- For Cisco, Poly and AudioCodes phones, the SIP Gateway provisioning URL is delivered with DHCP option 160. in context
- Microsoft notes DHCP option 42 can specify the NTP server and DHCP option 2 the UTC offset in seconds for SIP Gateway devices, and the troubleshooting article points to DHCP settings when a device displays the wrong time. in context
- For Yealink and Alcatel-Lucent Enterprise phones, the SIP Gateway provisioning URL is delivered with DHCP option 66. in context
- Microsoft requires each SIP device used with Teams SIP Gateway to be reset to factory default settings before SIP Gateway is configured. in context
- SIP Gateway supports only IPv4, even though the Teams service and client support both IPv4 and IPv6. in context
- SIP devices must be on the minimum supported firmware version listed in the Plan for SIP Gateway article to onboard; during onboarding SIP Gateway pushes default configuration and the authentication UI to the device. in context
- One-way or no audio on SIP Gateway calls where signalling works is most plausibly caused by blocked outbound UDP 49152-53247 to 52.112.0.0/14 and 52.122.0.0/15, since TCP 5061 can succeed independently; Microsoft does not document this diagnosis. inferred in context
- For common area phone enrolment, the admin generates a one-time verification code per MAC address in Teams admin center and the code is dialled on the device after feature code *55* (for example *55*123456); the device must already be onboarded to SIP Gateway. in context
- The pairing code shown after pressing Sign-in on a SIP phone is time-sensitive; if it expires the user must press Back on the phone and start sign-in again. in context
- Only local sign-in (on the device) is supported for users' personal SIP devices; remote sign-in methods apply to common area phones. in context
- After enabling SIP devices in a calling policy, policy propagation may take up to 24 hours. in context
- User details and policies are fetched to the SIP device at sign-in, and later policy changes for signed-in users sync to the device within one hour. in context
- A SIP phone that has been successfully provisioned to SIP Gateway displays the Teams logo and a soft button for sign-in. in context
- The SIP Gateway provisioning server URLs are http://emea.ipp.sdg.teams.microsoft.com for EMEA, http://noam.ipp.sdg.teams.microsoft.com for the Americas and http://apac.ipp.sdg.teams.microsoft.com for APAC. in context
- SIP devices used with SIP Gateway must not sit behind a corporate HTTP/HTTPS proxy; their http/s traffic must bypass any proxy. in context
- SIP Gateway requires TCP port 5061 to be open towards the IP ranges 52.112.0.0/14 and 52.122.0.0/15, and the firewall rules are needed for outbound traffic only. in context
- SIP Gateway requires UDP ports 49152 to 53247 to be open towards the IP ranges 52.112.0.0/14 and 52.122.0.0/15. in context
- For SIP Gateway bulk sign-in, the Yealink provisioning URL must include the tenant ID, for example http://noam.ipp.sdg.teams.microsoft.com/tenantid/<tenant-guid> in North America, while Cisco phones append /$PSN.xml. in context
- When setting the SIP Gateway provisioning server URL through DHCP, Yealink phones use DHCP option 66, while Cisco, Poly and AudioCodes phones use option 160. in context
- Before configuring SIP Gateway, each SIP device must be reset to factory defaults, must not be behind an HTTP/S proxy, and must reach Teams on TCP 5061 and UDP 49152-53247 for 52.112.0.0/14 and 52.122.0.0/15. in context
- SIP Gateway supports only IPv4, so Yealink SIP phones connecting to Teams through SIP Gateway must use IPv4. in context
- SIP Gateway's Japanese UI language is not supported on Yealink phones; unsupported languages fall back to English. in context
Cite this source record
APA
WarmTransfer. (2024, August 8). Configure SIP Gateway. WarmTransfer. https://warmtransfer.net/knowledge/sources/ms-learn-sip-gateway-configure
BibTeX
@misc{warmtransfer-ms-learn-sip-gateway-configure,
title = {Configure SIP Gateway},
author = {{WarmTransfer}},
year = {2024},
url = {https://warmtransfer.net/knowledge/sources/ms-learn-sip-gateway-configure},
note = {Microsoft, accessed 2026-09-21}
}