Microsoft Teams : Troubleshoot Emergency Location not displaying in the Teams Client - ELIN

 Hello All

Hope everyone is doing good 

i  have came across the below scenario, 

ELIN numbers are not populated in SBC logs and MS Teams Client logs  , eventhugh ELIN  was properly configured using Set-CsOnlineLisLocation and working well for other cities in US . ELIN was not populated one of the US city.

Troubleshooting 

As you all know, l Microsoft Teams clients are capable of using location information from the Network,OS, or User for emergency calls.

When the network is the desired source of the location, there are 3 key places that need to be configured.

First, the Trusted IP Address. This address is used by the Teams client to understand if it is on your organization’s network, or outside/remote. Trusted IP Address is not used beyond that, - Meaning This is kind of public IP of our orgainization network which connect through the Gateway to M365 Teams servers

Second, the client’s IP address is checked about the subnets configured in the Network Topology to establish if there’s a match for a network topology site

If there is a match, the policies from that site are applied. 

For emergency calls, there is the Emergency Call Routing Policy, that establishes the route a call will take to reach emergency call takers if Direct Routing is being used, and there is the Emergency Calling Policy to configure notifications

Third, the client’s IP address and BSSID for wireless, and IP address, switch chassis, and switch port for wired, are compared against the LIS database

 LIS stands for Location Information Services, and its job is to match your network information to the various places in our organization.

How to collect the support files for troubleshooting 933/911 calls

Right click on the Teams icon in the systray – you may need to click on the ^ icon beside the clock to see it.

 Select “Collect Support Files”. You’ll see a of activity as the client writes files to the downloads folder, and then zips them automatically

Grab that zip file and open it.

Click on the folder called “web”, and then double click the file named “MSTeams Diagnostics Log 25_8_2023__9_31_02_PM_calling.txt” 

First we will see the unsuccessful / NOT matched logs  during the troubleshooting 

Search for the phrase “trustedIpMatchInfo”. from MSTeams Diagnostics Log 25_8_2023__9_31_02_PM_calling.txt”  


Section 1 : TrustedIP 

Section 2 : SiteMatchInfo

The next section is used to apply policies if the Teams client is within a given site internal to the organization.


Section 3 : NetworkLocationMatchInfo

The next section is used to establish the Teams Client’s location within the organization for emergency calling purposes.

In third section, have found its NOT MATCHED 

Added the subnet in the below location with adding the emergency locations



After added, Its started working by capturing the ELIN number and we can see all the above three sections are matched in client calling logs.


=========================================================================
Successful Client logs are given below for reference 

   "endpointNetwork": "Trusted",

    "networkSiteId": "",
    "locationInfo": {
      "confidence": "Low",
      "elin": "+19X26XXXXX",
      "coordinates": {
        "latitude": "41.7472",
        "longitude": "-83.98314"
      },
      "address": {
        "companyName": "XXXXXX",
        "streetName": "XZXXC Avenue",
        "houseNumber": "191",
        "cityOrTown": "New Jersy",
        "stateOrProvince": "NJ",
        "country": "US",
        "postalOrZipCode": "XXXXXX"
      },
      "method": "LIS"
    },
    "enableLocationBasedRouting": false,
    "siteAddress": "XXXXXXXX",
    "subnetId": "1X.1XX.X5.0",
    "debugInfo": {
      "ncsDebugInfo": {
        "trustedIpMatchInfo": {
          "publicIp": "1XX.2XX.X6.XX",
          "trustedIpAddress": "1XX.2XX.X6.XX",
          "maskBits": 27,
          "reason": "Matched",
          "_comment": "Match Client Public IP to Tenant Trusted IP"
        },
        "siteMatchInfo": {
          "ipv4": "1X.1XX.X5.6X",
          "subnetLengthIPv4": "24",
          "subnetId": "1X.1XX.X5.0",
          "maskBits": 24,
          "teamsEmergencyCallRoutingPolicyTag": "TeamsEmergencyCallRoutingPolicy=Tenant:EPolicy_UNITEDSTATES",
          "teamsEmergencyCallingPolicyTag": "TeamsEmergencyCallingPolicy=Tenant:EPolicy_UNITEDSTATES",
          "networkSiteId": "XXXXXXXXX",
          "enableLocationBasedRouting": false,
          "reason": "Matched",
          "_comment": "Used to match endpoint subnet to Tenant site if trustedIpMatchInfo matches"
        },
        "networkLocationMatchInfo": {
          "locationId": "2XXXXXX-64XX8-4XXXX-aXXX-aaXXXXXXXXXcaf",
          "matchedNetworkType": "Subnet",
          "matchingIdentity": "1X.1XX.4X.0",
          "bssid": "1X-X8-aX-Zb-bX-99",
          "ipv4": "1X.1XX.4X.6X",
          "reason": "Matched",
          "_comment": "Used to find emergency address,against Tenant Location Network Information (LIS), otherwise against Client Geo Location Information (CLS) if available"
        }

========================================================================

Happy Troubleshooting and Learning 😊


Comments