Share via


Create Location Policies

 

Topic Last Modified: 2012-06-11

Lync Server uses a location policy to enable Lync 2010 clients for E9-1-1 during client registration. A location policy contains the settings that define how E9-1-1 is implemented.

You can edit the global location policy and create new tagged location policies. A client obtains a global policy when the client is not located within a subnet with an associated location policy, or when the client has not been directly assigned a location policy. Tagged policies are assigned to subnets or users.

To create a location policy, you must use an account that is a member of the RTCUniversalServerAdmins group or is a member of the CsVoiceAdministrator administrative role, or an account that has equivalent administrator rights and permissions.

For a complete description of location policies, see Defining the Location Policy. Cmdlets in this procedure use a location policy defined by using the following values:

Element Value

EnhancedEmergencyServicesEnabled

True

LocationRequired

Yes

UseLocationForE911Only

False

PstnUsage

EmergencyUsage

EmergencyDialString

911

EmergencyDialMask

112

NotificationUri

sip:security@litwareinc.com

ConferenceUri

sip:+14255550123@litwareinc.com

ConferenceMode

twoway

For details about working with location policies, see the Lync Server Management Shell documentation for the following cmdlets:

  • New-CsLocationPolicy

  • Get-CsLocationPolicy

  • Set-CsLocationPolicy

  • Remove-CsLocationPolicy

  • Grant-CsLocationPolicy

To create location policies

  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

    Note

    CsLocationPolicy will fail if the setting for PstnUsage is not already in the Global list of PstnUsages.

  2. Optionally, run the following cmdlet to edit the global location policy:

    Set-CsLocationPolicy -Identity Global -EnhancedEmergencyServicesEnabled $true -LocationRequired "yes" -PstnUsage "emergencyUsage" -EmergencyDialString "911" -ConferenceMode "twoway" -ConferenceUri "sip:+14255550123@litwareinc.com" -EmergencyDialMask "112" NotificationUri "sip:security@litwareinc.com" -UseLocationForE911Only $true
    
  3. Run the following to create a tagged location policy.

    New-CsLocationPolicy -Identity Tag:Redmond - EnhancedEmergencyServicesEnabled $true -LocationRequired "yes" -UseLocationForE911Only $false -PstnUsage "EmergencyUsage" -EmergencyDialString "911" -EmergencyDialMask "112" -NotificationUri "sip:security@litwareinc.com" -ConferenceUri "sip:+14255550123@litwareinc.com" -ConferenceMode "twoway"
    
  4. Run the following cmdlet to apply the tagged location policy that you created in step 3 to a user policy.

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