Teams LBR - "Call not allowed in this location" despite matching subnet

Rashid Menath 0 Reputation points
2026-10-28T17:30:30.07+00:00

I'm testing Teams Direct Routing with LBR and seeing an issue where PSTN calls fail with:

"Call not allowed in this location"

Configuration:

  • User IP: [Moderator note: Personally Identifiable Information removed]
  • Configured subnet: [Moderator note: Personally Identifiable Information removed]
  • Network Site: office
  • EnableLocationBasedRouting = True
  • SBC: cube.menathcloudcollab.online
  • GatewaySiteId = office
  • GatewaySiteLbrEnabled = True
  • User has Enterprise Voice enabled and assigned Voice Routing Policy
  • PreventTollBypass = True

Behavior:

  • Call fails immediately and never reaches the SBC.
  • If I disable LBR on the site, calls work.
  • If I enable GatewayLbrEnabledUserOverride = $true, calls work.

This suggests Direct Routing is working, but Teams is not recognizing the client as being in the configured network site.

Is there a way to verify which network site/subnet Teams has detected for the client, or are there any known issues with using a home/private subnet (192.168.x.x) for LBR testing?

Microsoft Teams | Microsoft Teams for business | Meetings and calls | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Ryan-N 16,940 Reputation points Microsoft External Staff Moderator
    2026-10-28T18:07:16.8766667+00:00

    Hi Rashid,

    Welcome to the Microsoft Q&A forum.
    Thank you for providing the detailed information and the results of your testing.

    To further verify whether Teams is correctly identifying the client's network location, you can check the Networks and Locations report in the Teams Admin Center.

    Please follow these steps:

    1. Sign in admin.teams.microsoft.com
    2. Go to Analytics & reports > Usage reports.
    3. Select Networks and Locations and run the report.

    At this time, I have not found any information about known issues related to using a home/private subnet, such as 192.168.x.x, for LBR testing.

    However, based on the behavior you described, Direct Routing appears to work normally when Location-Based Routing (LBR) is disabled. In addition, the calls also work when GatewayLbrEnabledUserOverride is enabled. This suggests that the issue may be related to how Teams determines the client's network location or how the LBR configuration is being applied.

    In this case, I recommend creating a support ticket with Microsoft Technical Support for further investigation. The support team has access to more advanced diagnostic tools and information that can help determine how Teams is identifying the client's network location. They can also assist you in reviewing and validating the LBR configuration.

    To create a support ticket with Microsoft Technical Support, you can refer to the following documentation:

     Get support - Microsoft 365 admin | Microsoft Learn

    If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.

    I look forward to continuing the conversation.


    If the answer is helpful, please click "Yes" and kindly upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-10-28T17:31:33.97+00:00

    The behavior indicates that Teams is probably classifying the endpoint as an unknown location, so add the home network’s actual public egress IP to Trusted IPs before expecting Teams to match [IP Address] to the office site.

    Teams first compares the endpoint’s external public IP with the tenant’s trusted-IP list. Only after that match does it evaluate the endpoint’s internal subnet; without a trusted public-IP match, an LBR-enabled Direct Routing user is classified as unknown and PSTN calls are blocked. GatewayLbrEnabledUserOverride = $true explicitly permits calls from an unknown or mismatched site, which explains your test result.^1^^2^

    Configure and validate the location

    1. Identify the public IP Teams sees.
      • Collect the Teams client logs.
      • Open MSTeams Diagnostics Log [date]__[time]_calling.txt.
      • Locate the client public IP recorded in that file. Microsoft documents this log-based check for diagnosing whether Teams considers a client internal or external.^3^
    2. Add that address as a trusted IP.
      • Teams admin center → Locations → Network topology → Trusted IPs → Add.
      • Enter the public NAT address and its appropriate network range.
      • If the connection can egress over both IPv4 and IPv6, add both public addresses; Teams can use either address family for matching.^1^
      PowerShell equivalent:
         Connect-MicrosoftTeams
      
         Get-CsTenantTrustedIPAddress
      
         New-CsTenantTrustedIPAddress `
           -IPAddress "<public-egress-IP>" `
           -MaskBits 32 `
           -Description "Home LBR test egress"
      
    3. Validate the private subnet association.
      • Teams admin center → Locations → Network topology → Network sites.
      • Edit office.
      • Confirm that it belongs to the intended network region, has Location based routing enabled, and contains:
        • IP address: [IP Address]
        • Network range: /24
      • Each subnet can be associated with only one site.^4^
      You can also inspect the configured topology with PowerShell:
         Get-CsTenantNetworkSite -Filter "office" | Format-List *
         Get-CsTenantNetworkSubnet |
           Where-Object NetworkSiteID -eq "office" |
           Format-Table Identity, MaskBits, NetworkSiteID
         Get-CsOnlinePSTNGateway -Identity "cube.menathcloudcollab.online" |
           Format-List Identity, GatewaySiteId, GatewaySiteLbrEnabled,
                       GatewayLbrEnabledUserOverride
      
    4. Allow propagation, then restart Teams and retest. Network-topology changes can take up to four hours to become available to clients.^4^

    Private-address support

    A 192.168.x.x endpoint subnet is supported. Microsoft’s topology documentation itself uses [IP Address]/24 as an example tenant subnet, so RFC1918 addressing is not inherently the problem.^4^

    Also check whether the client has IPv6. LBR checks for a matching IPv6 address first and falls back to IPv4 only if IPv6 is absent. If the client is using IPv6, define its internal IPv6 subnet and trust the corresponding public IPv6 egress address.^5^

    There is no documented admin view in these sources that directly displays a live “effective LBR site” for a client. The practical verification is therefore:

    • Client calling log: public IP Teams observed.
    • Trusted-IP configuration: that public IP matches.
    • Network topology: the internal endpoint subnet maps to office.
    • Gateway configuration: the gateway also maps to office.
    • Retest with GatewayLbrEnabledUserOverride = $false.

    If a VPN, secure web gateway, or cloud proxy changes the source IP, Teams may see that service’s public IP instead of the home connection. Network-configuration lookups are not supported when a cloud proxy modifies Teams clients’ source addresses.^1^


    References

    1. Network settings for cloud voice features in Microsoft Teams
    2. Scenarios for Location-Based Routing for Direct Routing
    3. Issues with Local Media Optimization for Direct Routing
    4. Manage your network topology for cloud voice features in Microsoft Teams
    5. Configure network settings for Location-Based Routing
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.