SOLVED

Dynamic Emergency Calling

%3CLINGO-SUB%20id%3D%22lingo-sub-1503618%22%20slang%3D%22en-US%22%3EDynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503618%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20assistance%20please%20in%20those%20who%20have%20configured%20Dynamic%20Emergency%20Call%20Routing%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20it%20comes%20to%20Set-CsOnlineLisSubnet%20for%20the%20subnets.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20the%20persons%20IP%20address%20is%2010.10.10.100%3C%2FP%3E%3CP%3EIf%20I%20enter%20the%20subnet%20as%2010.10.10.0%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20the%20emergency%20address%20doesn't%20pick%20up.%20I%20can't%20use%20CIDR%20format%20when%20adding%20subnets%20as%20it's%20not%20an%20accepted%20format.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20enter%20the%20subnet%20as%2010.10.10.100%20(person's%20IP%20address)%20then%20the%20emergency%20address%20shows%20and%20the%20correct%20information%20(location%20etc)%20goes%20out%20in%20the%20SIP%20packet%20to%20the%20Direct%20Routing%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20cover%20the%20whole%20subnet%20as%20I%20can't%20enter%20each%20IP%20address%20manually%3F%26nbsp%3B%20I%20must%20be%20missing%20something%20I'm%20sure!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1503618%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eemergency%20calling%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1503688%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503688%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248051%22%20target%3D%22_blank%22%3E%40fowler_23%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20tried%20defining%20the%20Network%20via%20New-CsTenantNetworkSubnet%2C%20an%20example%20of%20which%20is%20shown%20here%3A%26nbsp%3B%20New-CsTenantNetworkSubnet%20-Identity%20192.168.1.0%20-Description%20%22Home%20Subnet%22%20-MaskBits%2024%20-NetworkSiteID%20%22Home%20Office%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20above%20should%20let%20you%20at%20least%20define%20the%20Subnet%20Mask%2C%20so%20not%20sure%20if%20you%20did%20this%20and%20then%20your%20set%20command%20it%20would%20help%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20want%20to%20even%20do%20the%20New-CsTenantNetwork%20site.%20A%20sequence%20of%20which%20is%20shown%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23Specify%20New%20Network%20Location%3C%2FP%3E%3CP%3ENew-CsTenantNetworkSite%20-EmergencyCallingPolicy%20%22Home%20Office%22%20-Description%20%22Home%22%20-Identity%20%22Home%20Office%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23Add%20Subnet%20to%20Network%20Location%3C%2FP%3E%3CP%3ENew-CsTenantNetworkSubnet%20-Identity%20192.168.1.0%20-Description%20%22Home%20Subnet%22%20-MaskBits%2024%20-NetworkSiteID%20%22Home%20Office%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23Associate%20Subnet%20with%20LIS%20Location%3C%2FP%3E%3CP%3ESet-CsOnlineLisSubnet%20-Subnet%20192.168.1.0%20-LocationId%20c0139040-8a99-4288-b09b-639b34efb999%3C%2FP%3E%3CP%3EGet-CsOnlineLisSubnet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHenry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1510893%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1510893%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693840%22%20target%3D%22_blank%22%3E%40henryarphillips365%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20message.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EYes%20-%20I%20started%20with%20defining%20the%20Site%20and%20Subnet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20no%20emergency%20policy%20was%20assigned%20to%20me.%20Looking%20at%20the%20Teams%20logs%20(.....calling.txt).%20This%20log%20shows%20info%20about%20the%20emergency%20policy.%20It%20shows%20I%20matched%20the%20Site%20Match%20Info%20but%20NetworkLocationMatchInfo%20shows%20NotMatched%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22debugInfo%22%3A%20%7B%3CBR%20%2F%3E%22ncsDebugInfo%22%3A%20%7B%3CBR%20%2F%3E%22trustedIpMatchInfo%22%3A%20%7B%3CBR%20%2F%3E%22publicIp%22%3A%20%22xx.xxx.xxx.xxx%22%2C%3CBR%20%2F%3E%22trustedIpAddress%22%3A%20%22xx.xxx.xxx.xxx%22%2C%3CBR%20%2F%3E%22maskBits%22%3A%2032%2C%3CBR%20%2F%3E%22reason%22%3A%20%22Matched%22%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22siteMatchInfo%22%3A%20%7B%3CBR%20%2F%3E%22ipv4%22%3A%20%22xx.xxx.xxx.xxx%22%2C%3CBR%20%2F%3E%22subnetLengthIPv4%22%3A%20%2232%22%2C%3CBR%20%2F%3E%22subnetId%22%3A%20%22xx.xxx.xxx.0%22%2C%3CBR%20%2F%3E%22maskBits%22%3A%2024%2C%3CBR%20%2F%3E%22teamsEmergencyCallRoutingPolicyTag%22%3A%20%22TeamsEmergencyCallRoutingPolicy%3DTenant%3A%20Office%22%2C%3CBR%20%2F%3E%22teamsEmergencyCallingPolicyTag%22%3A%20%22TeamsEmergencyCallingPolicy%3DTenant%3AEmergency%20Call%20Notification%22%2C%3CBR%20%2F%3E%22networkSiteId%22%3A%20%22%20Office%20Site%20ID%22%2C%3CBR%20%2F%3E%22enableLocationBasedRouting%22%3A%20false%2C%3CBR%20%2F%3E%22reason%22%3A%20%22Matched%22%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22networkLocationMatchInfo%22%3A%20%7B%3CBR%20%2F%3E%22reason%22%3A%20%22NotMatched%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20seems%20I%20have%20to%20add%20the%26nbsp%3B%3CSPAN%3ESet-CsOnlineLisSubnet%20to%20match%20the%20NetworkLocation%20but%20as%20I%20say%20entering%20the%20format%20of%2010.10.10.0%20doesn't%20work.%20I%20have%20to%20add%20the%20actual%20IP%20I'm%20using.%20When%20I%20do%20that%2C%20networklocation%20shows%20Matched%20and%20Emergency%20Address%20shows.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1511810%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1511810%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248051%22%20target%3D%22_blank%22%3E%40fowler_23%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20have%20had%20a%20good%20play%20with%20this%20as%20I%20find%20Emergency%20Calling%20really%20interesting%20and%20it%20is%20of%20course%20vital%20to%20help%20out%20the%20emergency%20services%20and%20those%20that%20need%20there%20services.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20not%20knowing%20if%20you%20are%20based%20in%20the%20US%20or%20not%20but%20are%20you%20using%20Dynamic%20Emergency%20Calling%20and%20if%20so%20have%20you%20specified%20anything%20in%20terms%20of%20Trusted%20IPs.%20Trusted%20IPs%20are%20what%20define%20your%20corporate%20network%20essentially%20and%20are%20vital%20in%20terms%20of%20the%20Dynamic%20Configuration%20as%20without%20this%20nothing%20else%20follows%20really.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%20when%20you%20mention%20you%20are%20unable%20to%20specify%20the%20subnet%2C%20do%20you%20mean%20it%20actually%20prevents%20you%20PowerShell%20wise%20or%20just%20that%20when%20you%20do%20it%20makes%20no%20difference%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20managed%20to%20reproduce%20your%20issue%20and%20for%20me%20it%20was%20because%20I%20seemed%20to%20have%20a%20conflicting%20other%20subnet%20defined%20here%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22henryarphillips365_0-1594303701043.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204341i58DD37179C0C0909%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22henryarphillips365_0-1594303701043.png%22%20alt%3D%22henryarphillips365_0-1594303701043.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EOnce%20removed%20I%20could%20see%20the%20Emergency%20location%20reflected%20in%20the%20client%20by%20going%20to%20settings%20%26gt%3B%20calls%20and%20it%20was%20reflected%20in%20the%20log%20area%20you%20sent%20too.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20ultimately%20it%20is%20possible%20to%20define%20by%20way%20of%20Subnet%20and%20not%20an%20explicit%20IP%2C%20so%20don't%20give%20up.%3CBR%20%2F%3E%3CBR%20%2F%3EAlthough%20this%20is%20centred%20around%20the%20Dynamic%20capabilities%20you%20may%20want%20to%20take%20a%20look%20at%20the%20following%20as%20it%20has%20some%20really%20good%20content%20and%20might%20spark%20some%20ideas%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FLSz8Klbx27M%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2FLSz8Klbx27M%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHenry%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1514321%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1514321%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693840%22%20target%3D%22_blank%22%3E%40henryarphillips365%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20assistance.%20I%20have%20it%20working%20now%20using%20the%20subnet%20defined%20in%20networks%20%26amp%3B%20locations%20rather%20than%20having%20to%20use%20the%20exact%20IP%20address%20in%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20it%20could%20have%20been%20the%20duplication%20of%20that%20subnet%20in%20network%20topology%20so%20thanks%20for%20pointing%20that%20out%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20also%20defining%20it%20when%20on%20my%20company%20VPN%20which%20could%20have%20caused%20issues.%20By%20removing%20any%20duplicates%20and%20testing%20it%20on%20my%20home%20network%20or%20office%20network%2C%20it's%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20advice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1514381%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Emergency%20Calling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1514381%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248051%22%20target%3D%22_blank%22%3E%40fowler_23%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EPerfect%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Some assistance please in those who have configured Dynamic Emergency Call Routing

 

When it comes to Set-CsOnlineLisSubnet for the subnets.

 

For example, the persons IP address is 10.10.10.100

If I enter the subnet as 10.10.10.0 

 

Then the emergency address doesn't pick up. I can't use CIDR format when adding subnets as it's not an accepted format.

 

If I enter the subnet as 10.10.10.100 (person's IP address) then the emergency address shows and the correct information (location etc) goes out in the SIP packet to the Direct Routing SBC.

 

How do I cover the whole subnet as I can't enter each IP address manually?  I must be missing something I'm sure!

 

Thanks in advance

6 Replies
Highlighted
Best Response confirmed by ThereseSolimeno (Microsoft)
Solution

Hi @fowler_23 ,

 

Have you tried defining the Network via New-CsTenantNetworkSubnet, an example of which is shown here:  New-CsTenantNetworkSubnet -Identity 192.168.1.0 -Description "Home Subnet" -MaskBits 24 -NetworkSiteID "Home Office"

 

The above should let you at least define the Subnet Mask, so not sure if you did this and then your set command it would help?

 

You might want to even do the New-CsTenantNetwork site. A sequence of which is shown below:

 

#Specify New Network Location

New-CsTenantNetworkSite -EmergencyCallingPolicy "Home Office" -Description "Home" -Identity "Home Office"

 

#Add Subnet to Network Location

New-CsTenantNetworkSubnet -Identity 192.168.1.0 -Description "Home Subnet" -MaskBits 24 -NetworkSiteID "Home Office"

 

#Associate Subnet with LIS Location

Set-CsOnlineLisSubnet -Subnet 192.168.1.0 -LocationId c0139040-8a99-4288-b09b-639b34efb999

Get-CsOnlineLisSubnet

 

Thanks

 

Henry

Highlighted

@henryarphillips365 Thanks for the message.


Yes - I started with defining the Site and Subnet.

 

However, no emergency policy was assigned to me. Looking at the Teams logs (.....calling.txt). This log shows info about the emergency policy. It shows I matched the Site Match Info but NetworkLocationMatchInfo shows NotMatched

 

"debugInfo": {
"ncsDebugInfo": {
"trustedIpMatchInfo": {
"publicIp": "xx.xxx.xxx.xxx",
"trustedIpAddress": "xx.xxx.xxx.xxx",
"maskBits": 32,
"reason": "Matched"
},
"siteMatchInfo": {
"ipv4": "xx.xxx.xxx.xxx",
"subnetLengthIPv4": "32",
"subnetId": "xx.xxx.xxx.0",
"maskBits": 24,
"teamsEmergencyCallRoutingPolicyTag": "TeamsEmergencyCallRoutingPolicy=Tenant: Office",
"teamsEmergencyCallingPolicyTag": "TeamsEmergencyCallingPolicy=Tenant:Emergency Call Notification",
"networkSiteId": " Office Site ID",
"enableLocationBasedRouting": false,
"reason": "Matched"
},
"networkLocationMatchInfo": {
"reason": "NotMatched"

 

It seems I have to add the Set-CsOnlineLisSubnet to match the NetworkLocation but as I say entering the format of 10.10.10.0 doesn't work. I have to add the actual IP I'm using. When I do that, networklocation shows Matched and Emergency Address shows.

Highlighted

Hi @fowler_23 ,

 

So I have had a good play with this as I find Emergency Calling really interesting and it is of course vital to help out the emergency services and those that need there services.

So not knowing if you are based in the US or not but are you using Dynamic Emergency Calling and if so have you specified anything in terms of Trusted IPs. Trusted IPs are what define your corporate network essentially and are vital in terms of the Dynamic Configuration as without this nothing else follows really.

Also when you mention you are unable to specify the subnet, do you mean it actually prevents you PowerShell wise or just that when you do it makes no difference?

I managed to reproduce your issue and for me it was because I seemed to have a conflicting other subnet defined here:

henryarphillips365_0-1594303701043.png

Once removed I could see the Emergency location reflected in the client by going to settings > calls and it was reflected in the log area you sent too.

But ultimately it is possible to define by way of Subnet and not an explicit IP, so don't give up.

Although this is centred around the Dynamic capabilities you may want to take a look at the following as it has some really good content and might spark some ideas: https://youtu.be/LSz8Klbx27M 

Thanks

 

Henry




Watch this Teams Academy video to learn about dynamic emergency calling in Teams Phone System. We'll cover emergency calling concepts, as well as configurati...
Highlighted

@henryarphillips365 

 

Thanks for your assistance. I have it working now using the subnet defined in networks & locations rather than having to use the exact IP address in there.

 

I think it could have been the duplication of that subnet in network topology so thanks for pointing that out

 

I was also defining it when on my company VPN which could have caused issues. By removing any duplicates and testing it on my home network or office network, it's working.

 

Thanks for the advice.

Highlighted

@fowler_23 

Perfect :)

Highlighted

@fowler_23 Can you provide some details on how you fixed this? 

I'm in the same boat, the system requires that you define the network sites and mask bits for the dynamic emergency policies to work, but also define that same network (minus the mask bits some how) for the LIS.  Policies are working, it's matching the sites enough to give me the proper policy but the LIS is not matching even though it's in there.  Can you provide some direction on how you defined these to setup network sites and LIS database?

"endpointNetwork": "Trusted",
siteMatchInfo

"reason": "Matched"
"networkLocationMatchInfo": 
"reason": "NotMatched"