Lync Server 2013 – Location Based Routing: Part II


In part I Lync Server 2013 – Location Based Routing aka LBR, I discussed about the basic fundamentals, benefits, capabilities and routing methodologies. To extend the same, part II will cover implementation steps and test cases. As discussed in part I, LBR is a set of rules which handle your PSTN calls to comply with regulations of specific countries such as India. In telephony terms, it prevents toll bypass by blocking or modifying the routes of PSTN calls. Organizations can define the scope for LBR such as specific region, International calls, specific gateways or PBX and set of users. LBR policies can be based on user’s location or PSTN gateways location. LBR applies rules on different scenarios.

To test the LBR scenario, Single Site is deployed with asterisk PBX to generate voice calls. Test scenario will consider enterprise voice calls which are generated by Lync user located @ office and located @ home

Let’s start with deployment process:

1. Process start with Enterprise Voice deployment

Create dial plans and configure Normalization rules

Create and configure trunks, voice policies and define voice routes

2. Test Enterprise Voice setup

3. Create Network Region and Sites, define subnets based on your Lync infra.

4. Create Voice Routing Policy.

New-CsVoiceRoutingPolicy –Identity “Site1VoiceRoutingpolicy” –Name “Site1 Voice Routing Policy”

5. Set Voice Routing Policy and assign PSTN Usage (In lab scenario PSTN usage is created with name “Asterisk”)

Set-CsVoiceRoutingPolicy –Identity “Site1VoiceRoutingpolicy” –PSTNusages @{add=”Asterisk”}

6. Enable and configure location based routing and voice routing policy for Network Site

Set-CsNetworkSite –Identity Site1 –EnableLocationBasedRouting $true –VoiceRoutingPolicy “Site1 Voice Routing Policy”

7. Trunk configuration

Set-CsTrunkConfiguration –Identity Site1Trunk –EnableLocationRestrictions $true –NetworkSiteID “Site1”

8. Change Voice & Routing Configuration

Set-CsVoicePolicy “Site1VoicePolicy” –PreventPSTNTollBypass $true

Set-CsRoutingConfiguration –Enable locationbasedrouting $true

Follow the same steps for multiple sites carefully.

Test multiple calls scenario such as:

Incoming PSTN call while user @ his home location (Site1)

Outgoing PSTN call while user @ his home location (Site1)

Transfer and Forward while both the users @ their home location (Site1)

Simultaneous ring while both the users/endpoint @ their home location (Site1)

Lync users @ their home location are doing conference

Lync users @ their home location are doing Lync conference and PSTN user is joining conference using “Dial-in Conferencing”

Incoming PSTN call while user is logged in from outside

Outgoing PSTN call while user is logged in from outside

Transfer and Forward while both the users or one of them are not @ their home location (Site1)

Simultaneous ring while both the users/endpoint or one of them are not @ their home location (Site1)

Lync users @ their home location are doing conference and one of the conferencing user is trying to conference any PSTN user

These are few examples related to my Lab design, if you have more than one site then you need to test many other scenarios as well which certify that you are compliant with regulation.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s