在 Skype for Business Server 中创建位置策略

阅读本文,了解如何在 Skype for Business Server 企业语音 中配置增强型紧急服务 (E9-1-1) 位置策略。

Skype for Business Server在客户端注册期间使用位置策略为 E9-1-1 启用Skype for Business客户端。 位置策略包含定义如何实现 E9-1-1 的设置。 有关详细信息,请参阅规划Skype for Business Server的位置策略

使用 Skype for Business 控制面板或使用 New-CsLocationPolicy cmdlet 定义位置策略。

注意

Skype for Business Server现在支持为客户端配置多个紧急号码。 如果要配置多个紧急号码,则必须遵循在 Skype for Business Server 中规划多个紧急号码在 Skype for Business 中配置多个紧急号码中的信息。

可以编辑全局位置策略,并创建新的带标记的位置策略。 如果客户端不位于具有关联位置策略的子网中,或者客户端尚未直接分配位置策略,则获取全局策略。 向子网或用户分配带标记的策略。

要创建位置策略,必须使用 RTCUniversalServerAdmins 组成员或 CsVoiceAdministrator 管理角色成员的帐户,或者具有等效管理员权限的帐户。

有关详细信息,请参阅规划Skype for Business Server的位置策略。 此过程中的 Cmdlet 使用通过下列值定义的位置策略。 有关 cmdlet 参数和值的完整说明,请参阅 New-CsLocationPolicy

元素 Value
EnhancedEmergencyServicesEnabled
True
LocationRequired
免责声明
EnhancedEmergencyServiceDisclaimer
您的公司策略要求您设置一个位置。 如果未设置位置,紧急服务将无法在紧急情况下找到你。 设置位置。
UseLocationForE911Only
False
PstnUsage
EmergencyUsage
EmergencyDialString
911
EmergencyDialMask
112
NotificationUri
Sip:security@litwareinc.com
ConferenceUri
sip:+14255550123@litwareinc.com
ConferenceMode
twoway
LocationRefreshInterval
2

创建位置策略

  1. 启动Skype for Business Server命令行管理程序:依次选择“开始”、“所有程序”、“Skype for Business 2015”、“Skype for Business Server命令行管理程序”。

    注意

    如果 PstnUsages 的全局列表中还没有 PstnUsage 设置,则 CsLocationPolicy 会失败。

  2. 也可以选择运行以下 cmdlet 编辑全局位置策略:

    Set-CsLocationPolicy -Identity Global -EnhancedEmergencyServicesEnabled $true -LocationRequired "disclaimer" -EnhancedEmergencyServiceDisclaimer "Your company policy requires you to set a location. If you do not set a location emergency services will not be able to locate you in an emergency. Please set a location." -PstnUsage "emergencyUsage" -EmergencyDialString "911" -ConferenceMode "twoway" -ConferenceUri "sip:+14255550123@litwareinc.com" -EmergencyDialMask "112" NotificationUri "sip:security@litwareinc.com" -UseLocationForE911Only $true -LocationRefreshInterval 2
    
  3. 运行以下命令创建带标记的位置策略。

    New-CsLocationPolicy -Identity Tag:Redmond - EnhancedEmergencyServicesEnabled $true -LocationRequired "disclaimer" -EnhancedEmergencyServiceDisclaimer "Your company policy requires you to set a location. If you do not set a location emergency services will not be able to locate you in an emergency. Please set a location." -UseLocationForE911Only $false -PstnUsage "EmergencyUsage" -EmergencyDialString "911" -EmergencyDialMask "112" -NotificationUri "sip:security@litwareinc.com" -ConferenceUri "sip:+14255550123@litwareinc.com" -ConferenceMode "twoway" -LocationRefreshInterval 2
    
  4. 运行以下 cmdlet 将步骤 3 中创建的带标记的位置策略应用于用户策略。

    (Get-CsUser | where { $_.Name -match "UserName" }) | Grant-CsLocationPolicy -PolicyName Redmond