Forum Discussion
fowler_23
Jul 03, 2020Iron Contributor
Dynamic Emergency Calling
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
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
- HenryPhillipsNimbitechBronze Contributor
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
- fowler_23Iron Contributor
HenryPhillipsNimbitech 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.
- HenryPhillipsNimbitechBronze Contributor
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: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
ThanksHenry