Академический Документы
Профессиональный Документы
Культура Документы
Agenda
Introductions
Lync Voice Routing
Numbering and Dialing
Routing and Authorization
Special Considerations / Best Practices
Javed Tufail
Javed Tufail
California, US
Have been working on voice and
unified communications for past 13
years
MCS Voice Center of Excellence
(CoE)
Vocabulary
Outbound call: Call initiated by Lync user.
PSTN call: Any call to a phone that is not within
Lync. This may include other internal PBX phones.
Internal call: Call between two phones within the
same company. May be a call between Lync and
PBX phone.
DID: Direct Inward Dial number. A PSTN phone
number. (Also called DDI.)
RNL: Reverse Number Lookup
NANP: North America Numbering Plan
Concepts
Dial Plans
Are meant to codify dialing habits into E164
Are assigned to people based on dialing habits not
locations
Voice Policy
Contain Voice Usages
Limit or extend a users telephony featureset
PSTN Usages
Contain Voice Route(s)
Voice Routes
Route dialed numbers to the correct gateway(s)
Control which numbers a user is allowed to call
Voice Routing
User=phone
Normalization Rule
Normalization Rule
Normalization Rule
Dialing
Behaviors
404: No
matching
rule
Routing &
Authorization
No
No
Emer.
Call?
Global?
Yes
SIP URI
Yes
Match
3. Voice Policy
Location Policy
Routes
Announcement or
Call Park Application
PSTN Usage
PSTN Usage
PSTN Usage
403: No
route found
Route
Route
Route
Route
PSTN Usage
Inbound Routing
Voice Routing
Must Match
A Rule
Dialing
Behaviors
404: No
matching
rule
Routing &
Authorization
User=phone
Lync Client
Normalizes
Normalization Rule
Normalization Rule
Normalization Rule
No
No
Emer.
Call?
Global?
RFC 3966
Starts
with +
Yes
SIP URI
Yes
Reverse Number
Lookup
msRTCSIP-Line
msRTCSIP-PrivateLine
No match
3. Voice Policy
Match
Location Policy
Routes
PSTN Usage
PSTN Usage
Policy Creates
PSTN Usage
Announcement or
Call Park Application
403: No
route found
Route
Route
Route
Route
PSTN Usage
Apply Called
Party Prefs
Inbound Routing
Internal-Only Numbers
Users without DID/DDI
As per RFC, line URI should be of the form:
tel:+14258828080;ext=51855
Exchange out-calling
Play on Phone
Personal Contacts
Directory (Subscriber Access or Auto Attendant)
Requires normalization by Lync Server 2010 dial plan
14
Gateway or PBX
Inbound to Mediation server
Requires normalization by Lync Server 2010 dial plan
Dial Plans
Known as the location profile in OCS 2007 R2
A set of normalization rules that translate dial strings to
full, unique numbers
Normalization rules are specified using regular
expressions
^
\d
0 or more digits
\d{5}
any 5 digits
[135
]
1, 3, or 5
(13)|
(17)
13 or 17
[1..5
]
1 through 5
()
16
Off-hook Dialing
In Lync, user typically dials all desired digits then
presses call
Normalization rules are then processed in order to
find a match.
When dialing from a device off-hook, an inter-digit
dialing delay is used to determine when to place the
call
1.5 second inter-digit dialing delay
If a matching rule is found, the number will be dialed
10 second final time-out
If no matching rule is found, the dialstring is sent to the
FE
Routing and
Authorization
WAN
WAN
User authorization
Class of service
PSTN Usages
Routes
Called number
intent)
Cost of call
Calling location
Priority
23
Solution:
Full E.164 number (globally unique)
Add ;ext= for the user extension (and conference PIN
support)
International
National Premium
National
Local
Internal
^\+49895550[12]
DE Munich Local
^\+4989
DE Germany
^\+49
DE Europe
^\+(49)|(31)|(33)|(32)|(34)|(351)|
DE International
^\+
26
International
Seattle Internal
^\+12062873[\d{3}]
Seattle Local-206287
^(\+1253((21[4678])|(23[4679])|(24[3569])|
(2(61|66|69|70|75|77))|(33[23456])|
(39[4578])|(3(50|51|72|73))|(4(78|79|80|86|
87))|(56[139])|(65[2367])|(73[3567])|(7[04])|
(7(65|66|93|96|97))|(83[3589])|(85[02469])|
(8[01])|(8(72|74|76|80|86|87))|(9(31|39|41|
45|46))|((205|220|288|293|315|326|347|437|
449|458|499|508|518|642|661|670|681|773|
785|867|893|929|951|981))|((52|63))))|(\
+1425(?!([01]|(22[0245])|(23[1289])|
(25[2789])|(26[1235678])|(29[023479])|
(2(10|12|44|49))|(31[245679])|(32[01278])|
(33[02345789])|(35[035679])|(3(03|04|08|
74|77|79|85|87|88|96|97|99))|(4(04|05|07|
22|23|34|38|41|46))|(5(01|08|12|13|14|83|
85))|(7(10|17|50|54|83|89))|(8(70|76|79|86|
88))|(90[35])|((280|367|418|493|530|551|
609|610|622|631|645|669|737|740|760|791|
831|923|931|948|953|971))|((34|54)))))|(\
+1206(([23456789])))
National Premium
National
Local
Internal
Seattle National
^\+1[2-9]\d{9}$
27
http://www.lyncoptimizer.com/
Voice Policy
Entitlements and Class of Service
A users capabilities are
determined by the policies
granted to the user
Global
Contoso
Chicago
Site
PoolChicago2
Chicago1
London
Dublin-1
User
31
32
PSTN Usages
Example uses:
Combine all free call routes into one usage
Combine all internal call routes into one usage
Provide backup routes for internal calls based on
caller location
Establish priority of routes based on callers primary
geographic location (not current location) to areas
not served by a local gateway
Special Considerations /
Best Practices
35
Number Blocking
Traditional (supported) Method
Exclude number ranges from routes
Default National route would exclude range but
National Premium route would allow.
Number Blocking
Alternative Method
Create unassigned number range that matches
desired blocked number range
Blocks all outbound calls to those numbers and can
play an admin-specified message
Blocks all calls to those numbers without regard to
caller
Best Practices
Trunk Configurations
Removing the +
Set-CsTrunkConfiguration <identity>
RemovePlusFromUri $true
Best Practices
Numbering
Configure Users with DIDs and Extensions
+19495551000;ext=1000
Best Practices
Dial Plan
Normalization Optimization
How Many
700 Dial Plans per deployment (stress tested 750 with 10
rules)
100+ Normalization Rules per Dial Plan in CU5
Related Content
EXL315
EXL316
EXL317
EXL319
EXL412
Track Resources
Lync Team Blog: http://blogs.technet.com/b/uc/
Lync Facebook: http://www.facebook.com/MicrosoftOfficeCommunicator
Lync Server Blog: http://blogs.technet.com/b/nexthop/
Lync Website: http://
lync.microsoft.com/en-us/Pages/unified-communications.aspx
Resources
Learnin
g
Connect. Share. Discuss.
http://northamerica.msteched.com
www.microsoft.com/learning
TechNe
t
Resources for IT Professionals
http://microsoft.com/technet
http://microsoft.com/msdn
MS Tag
2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the
part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.