Anda di halaman 1dari 42

Cisco Unified CM 10.

0 SIP Trunking,
Session Management, Intercluster
Lookup Service and URI Dialing
LTRUCC-2150
Paul Giralt - @PaulGiralt
Rafael Muller - @FotoMalo
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC_2150 Cisco Public
Agenda
Introduction
Technology Overview
Unified CM Session Management Edition
Intercluster Lookup Service (ILS)
URI Dialing
Global Dial Plan Replication (GDPR)
Cisco Unified Border Element (CUBE)
Lab Overview
Topology
Configuration Steps
Introduction
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Objectives
Understand how to configure the Intercluster Lookup Service (ILS) and Global
Dial Plan Replication (GDPR) features to distribute dynamic dial plan information
in an enterprise network.
Understand how to configure Cisco Unified Border Element for SIP-based IP
PSTN connectivity
Understand how to configure Unified CM Session Management Edition
Overview: Unified Communications Manager
Session Management (SME)
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Session Management: Why?
Core Management
Centralized Dial Plan Management
Centralized Reporting
Multi-Protocol Interworking (SIP,
Q.SIG. H.323, MGCP, ...)
Core Tandem Routing
Central Policy Enforcement
Interconnect Communications Platforms
Communications Manager
Legacy PBX Systems (both IP and
TDM-based)
Application Integration
Voicemail
Conferencing
Recording
Mobility
Centralized Trunking
TDM
IP PSTN
Inter-Company
A
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Unified CM SME, Summary
Inside the Enterprise
Transit deployment type of Unified
Communications Manager
B2BUA ! Stateful, Mid-Call
Features
Broad protocol support
Q.Sig, Q.931 (MGCP GW)
SIP Trunk and ICT
H.323
H.323 Annex M1
Q.Sig over SIP
Many validated PBX integrations
" Applications
Unity, Unity Connection
Fax Server
SIP and H.323 based video
conferencing
MeetingPlace / WebEx
" Unified CM features:
RSVP Pre-Conditions
ILS / GDPR
A A
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Unified CM SME, Summary
Powerful script-based Normalization and Transparency features
Transparently pass through unknown SIP headers
Modify any SIP header or contents of SDP body
Scripts written in LUA
Highly Scalable
Beyond 150 cps with geographically distributed SME cluster
A A
Overview: ILS and GDPR
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
User Addressing via URI
URIs are becoming the means for identifying everything in a network
Cisco expects the use of URIs for communication purposes to grow as
communication continues to be integrated with data applications
URI dialing and URI click to call will increasingly become the norm
Directory numbers will continue to be used but need to be associated with URIs
as part of a Users Identity
Looking forward, a User must be reachable via a URI / Directory Number / E.164
Number
Device Independent User Addressing
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
URIs and User Addressing
URIs cannot be summarized in the same way that Directory Number ranges can
be summarized
Because URIs are fully qualified and cannot be summarized within an Enterprise
network (e.g. bob@cisco.com, jim@cisco.com) a dynamic mechanism must be
used to discover URIs
With UC 9.0 CUCM uses the Inter-cluster Lookup Service (ILS) as a dynamic
URI discovery mechanism
UC 10.0 will add capabilities to ILS to advertise User Numbers and/or URIs
SAF CCD will continue to be supported by Cisco
SAF cannot scale to meet the requirement to support 100k+ URIs & 100k+ DNs
Problems and approaches
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Inter-cluster Lookup Service (ILS) Unified CM 9.0
ILS runs as a CUCM service and distributes locally registered URIs to other clusters
Cluster to cluster ILS connections can be hub and spoke or full mesh
URIs are associated with a cluster route-string (label) e.g. london.uk.eu
URIs and their route string are stored locally, partial ILS file updates are supported
Anne@cisco.com
Chris@cisco.com
San Jose
Bob@cisco.com
Diane@cisco.com
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Anne@cisco.com
Chris@cisco.com
Bob@cisco.com
Diane@cisco.com
San Jose
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Ian@cisco.com
Kevin@cisco.com
Jane@cisco.com
Lucy@cisco.com
New York
New York
Anne@cisco.com
Chris@cisco.com
Bob@cisco.com
Diane@cisco.com
San Jose
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Ian@cisco.com
Kevin@cisco.com
Jane@cisco.com
Lucy@cisco.com
New York
ILS scales to 100 of 1000s of entries
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Inter-cluster Lookup Service (ILS) Operation
When a user dials a URI CUCM checks to see if it is registered locally
If not, CUCM looks for the URI in its ILS store a match returns the route string for the destination
cluster associated with the dialed URI e.g. london.uk.eu
This route string is used to match a SIP route pattern to onward route the call
Anne@cisco.com
Chris@cisco.com
San Jose
Bob@cisco.com
Diane@cisco.com
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Anne@cisco.com
Chris@cisco.com
Bob@cisco.com
Diane@cisco.com
San Jose
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Ian@cisco.com
Kevin@cisco.com
Jane@cisco.com
Lucy@cisco.com
New York
New York
Anne@cisco.com
Chris@cisco.com
Bob@cisco.com
Diane@cisco.com
San Jose
Eric@cisco.com
Greg@cisco.com
Fran@cisco.com
Helen@cisco.com
London
Ian@cisco.com
Kevin@cisco.com
Jane@cisco.com
Lucy@cisco.com
New York
Diane calls
Helen@cisco.com
Is Helen@cisco.com
a locally registered
URI ?
No
Can
Helen@cisco.com
be found in ILS ?
Yes
Return Route String
london.uk.eu for URI
Helen@cisco.com
Does Route String
london.uk.eu
match an existing SIP
Route Pattern
Route the URI call to
london.uk.eu over
the Route Patterns
SIP Trunk
Yes
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Seoul London San Jose Frankfurt
ILS UC9.0 Dial Plan Size for Route String based URI routing
Each route string represents a remote CUCM cluster and its associated URIs in all branch sites
One SIP URI based Route Pattern and one SIP Trunk is needed to reach each remote cluster
In a UC Enterprise of 30 clusters = 30 SIP URI Route patterns and 30 SIP Trunks per cluster
New branches with new URI based users can be added to a cluster without modifying the dial plan
With Route String based Routing in a non hierarchical network
Singapore New York
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Seoul
EU SME
London San Jose Frankfurt
Global Backbone
Asia SME US SME
ILS Unified CM 9.0 Hierarchical Routing & Route String
Summarization
For URI calls - Each cluster does an ILS look up and makes a local routing decision to its next hop
based on the returned ILS route string e.g. Helen@cisco.com ! london.uk.eu ---> SIP Trunk A
Route string summarization allowed e.g. London.UK.EU ! SIP Trunk A or *.*.EU ! SIP Trunk A
Default Route
to US SME
Routes to :
*.*.EU
*.*.ASIA
San Jose.CA.US
New York.NY.US
Singapore New York
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
ILS enhancements in Unified CM 10 adding Numbers
In the Unified CM 10.0, ILS can be used for both Number and URI discovery
across clusters
ILS will be enhanced to allow the distribution of Internal Numbers, E.164
Numbers, Route Patterns and PSTN Failover numbers.
Benefits :
Removes the requirement for a Route Pattern per Number range
Users/ numbers can be moved between clusters with few changes
Numbers/URIs associated with 3
rd
Party UC systems also supported
Feature name: Global Dial Plan Replication (GDPR)
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
ILS enhancements in Unified CM 10 adding Numbers
Internal numbers, E164 numbers and PSTN Failover numbers are advertised in ILS
When a number is called, CUCM performs closest match routing!. If the match from ILS is the best
match, look up the Route String and route based on route string.
If an exact match is not found in ILS search Route Patterns to route the call
If the call fails Re-route the call via the PSTN
+14089021234
+14089024567
San Jose
Bob@cisco.com
Diane@cisco.com
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+12125552323
+12125551235
+12125551236
+12125551234
New York
New York
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+12125552323
+12125551235
+12125551236
+12125551234
New York
Diane calls
+442088244567
Is ILS learned
pattern
+442088244567 the
best match?
Yes
Return Route String
london.uk.eu for
DN +442088244567
Does Route String
london.uk.eu
match an existing SIP
Route Pattern
Route the call to
london.uk.eu over
the Route Patterns
SIP Trunk
Yes
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Hierarchical Routing for Numbers and URIs in ILS

For URI and Number based calls - Each cluster does an ILS look up and makes a local routing decision
to its next hop based on the returned ILS route string e.g. london.uk.eu ---> SIP Trunk A
Route string summarization allowed e.g. London.UK.EU ! SIP Trunk A or *.*.EU ! SIP
Trunk A
! further reducing per cluster dial plan size
Seoul
EU SME
London San Jose Frankfurt
Global Backbone
Asia SME US SME
Default Route
to US SME
Routes to :
*.*.EU
*.*.ASIA
San Jose.CA.US
New York.NY.US
Singapore New York
Note the Number of
Route Patterns required is
greatly reduced in
comparison with numeric
Route Patterns.
One Route Pattern or less
for each remote cluster
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Hele
+14089021234
+14089024567
San Jose
Bob@cisco.com
Diane@cisco.com
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+1408902XXXX
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+442088241XXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
ILS Development - Routing Calls through CUBE
Route String <london.uk.eu> sent in the SIP INVITE as a separate header
CUBE onward routes the call based on the received route string (No ILS look-up required)
Route String summarization allowed e.g. *.uk.eu ! SIP Trunk A

CUBE
IN
V
IT
E
:H
e
le
n
@
c
is
c
o
.c
o
m
<
lo
n
d
o
n
.u
k
.e
u
>
IN
V
IT
E
:H
e
le
n
@
c
is
c
o
.c
o
m
<
lo
n
d
o
n
.u
k
.e
u
>

Dial peer voip 501
voice-class sip call-route dest-route-string
Session target ipv4: 10.1.1.1
Preference 10

Dial peer voip 502
Dest pattern +44208824!.
Session target ipv4: 10.1.1.1
Preference 100

http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_interop/configuration/15-mt/voi-cube-ils-service.pdf
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
ILS Development- Route Pattern support in ILS
Route Patterns are registered locally and can also be advertized in ILS
When a Number is called, CUCM checks to see if an exact match can be found locally or in ILS!! If
not, search for the best match route pattern and route accordingly!.
Route Patterns can be used as an alternative to individual Numbers in ILS
+14089021234
+14089024567
San Jose
Bob@cisco.com
Diane@cisco.com
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+1408902XXXX
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+442088241XXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
New York
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+1408902XXXX
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+44208824XXXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
ILS Development- Class Of Service
Learned Numbers and Patterns can be assigned to partitions for CoS
Default Partitions (which can be modified) are assigned to
Enterprise Alternate Numbers (e.g. 82121000)
E.164 Alternate Numbers (e.g. +12125551000)
Enterprise Patterns (e.g. 82121XXX) and E.164 Patterns (e.g. +12125551XXX)
+14089021234
+14089024567
San Jose
Bob@cisco.com
Diane@cisco.com
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+1408902XXXX
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+442088241XXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
New York
+14089021234
+14089024567
Bob@cisco.com
Diane@cisco.com
San Jose
+1408902XXXX
+442088241234
+442088244567
Fran@cisco.com
Helen@cisco.com
London
+44208824XXXX
+12125552323
+12125551235
+12125551236
+12125551234
New York
+1212555XXXX
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Unified CM Routing Rules
Is LHS Numeric?
Does whole URI
match a URI in the
CSS and URI
table?
Does whole URI
match one in ILS?
Does RHS match a
SIP Route Pattern?
Route using SIP
route patterns
based on route
string for ILS entry
Route based on
RHS
Offer Call
Is RHS the IP
address or
hostname of a
cluster member?
Does RHS match
Cluster Fully
Qualied DN
(CFQDN)?
Does RHS match
Organization Top
Level Domain
(OTLD)?
Does RHS match a
SIP Route Pattern?
Block Call
Route or Block
Does LHS nd a
match?
Offer Call
Analyze LHS
Route or Block
YES YES YES
YES YES YES
NO NO NO
NO
NO
NO
MATCH
YES
YES
NO NO NO
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Leveraging SME and GDPR
Leaf Clusters Advertise local
numbers/patterns to other
clusters
Leaves advertize global
(+E.164) patterns CUBE
A A A
+4969123XXX +4480123XXX +3360346XXX +3255678XXX
89XXX 84XXX 83XXX 82XXX
" Also advertise Enterprise
Numbering Plan

PSTN
" SME advertises
prefixes of applications
*81XXXX
" SME advertizes prefixes of
attached PBXes
" Can also advertise an imported
URI catalog
+315557XXX
81XXX
+4969123XXX +4480123XXX +3360346XXX +3255678XXX
89XXX 84XXX 83XXX 82XXX
*81XXXX
+315557XXX
81XXX
ILS
Cisco Unified Border Element
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
CUBE Enabling CUCM SIP Trunking
Security demarcation via topology hiding and SIP signaling and
media inspection
Troubleshooting demarcation via B2BUA, i.e. SIP session termination and reorigination
Call admission control (CAC) upon entry to network
Meet SP UNI requirements via SIP Normalization
Utilize SIP trunks with H.323 CUCMs
DTMF interworking and transcoding
Share a single SIP trunk across multiple CUCM clusters
Co-resident with TDM GW, SRST GW and/or MTP for failover and additional services
H.323 or SIP
CUBE
SIP
SP
VoIP
SBC
Enterprise Demarc
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Cisco Unified Border Element Basic Call Flow
1. Incoming VoIP setup message from originating endpoint
2. This matches inbound VoIP dial peer 1 for characteristics such as codec, VAD, DTMF method,
protocol, etc.
3. Match the called number to outbound VoIP dial peer 2
4. Outgoing VoIP setup message
Incoming VoIP Call Outgoing VoIP Call
dial-peer voice 1 voip
destination-pattern 1000
incoming called-number .T
session target ipv4:192.168.10.50
codec g711ulaw
dial-peer voice 2 voip
destination-pattern 2000
session protocol sipv2
session target ipv4:192.168.12.25
codec g711ulaw
Originating
Endpoint
Terminating
Endpoint
CUBE
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
SP
VoIP
Delayed OfferEarly Offer
SP SIP trunk Early Offer (EO)
interconnect for enterprise apps that
support only Delay Offer (DO)
Flow-through required for DE-EO
supplementary services
INVITE (Offer SDP) INVITE
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 !
dial-peer voice 4 voip
destination-pattern 321....
voice-class codec 1
voice-class sip early-offer forced
session target ipv4:x.x.x.x
180/183/200 (Answer SDP) 180/183/200 (Offer SDP)
ACK/PRACK (Answer SDP)
voice service voip
sip
early-offer forced
Global Configuration
Also Supported:
Early Delayed
Offer SDP in INVITE No SDP in INVITE
Answer SDP in 180/183 SDP in 200
CUBE
SBC
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
CUBE SIP Trunk Monitoring with OOD Options
CUBE 1.3 rejects call with
404 Not Found
CUBE 1.4 allows configuration
of the error code
Default 503 Svc Unavailable
Range allows 400-699
Global or inbound dial-peer
config
Dial-peer config takes precedence
CUCM SIP Trunk SP SIP Trunk
SP SIP
CUBE
A
dial-peer 100
OOD Options
200 OK
OOD Options
INVITE
DP 100 = ACTIVE
Timeout
no response
DP 100 = BUSYOUT
OOD Options
503 Service Unavailable
OOD Options
INVITE
INVITE
200 OK
200 OK
dial-peer 5
error code 500
Lab Topology
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Lab Topology
Dual (Redundant) CUBEs to connect to IP PSTN
Single SME Server
Two Unified CM Clusters (Single Node Clusters)
Two Jabber Endpoints
Lab Overview
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Lab Overview (1 of 4)
ILS/GDPR Overview
Configure ILS on Unified CM SME Edition
Configure ILS on Unified Communications Manager Leaf 1
Configure ILS on Unified Communications Manager Leaf 2
Dial Plan for Unified CM Leaf Cluster 1
Configure Translation Patterns for Leaf Cluster 1
Configure SIP trunk and Route List to SME in Leaf Cluster 1
Dial Plan for Unified CM Leaf Cluster 2
Configure Translation Patterns for Leaf Cluster 2
3
3
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Lab Overview (2 of 4)
Configure SIP trunk and Route List to SME in Leaf Cluster 2
ILS/GDPR with centralized Unified CM SME
Configure SIP Route String for Unified CM Leaf 1
Configure SIP Route String for Unified CM Leaf 2
Configure Unified CM SME Dial Plan
Configure SIP Trunks on Unified CM SME
Configure Route Groups and Route Lists in Unified CM SME
Configure SIP Route Pattern in Unified CM SME
Configure Phone Line in Unified CM Leaf 1
34
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Lab Overview (3 of 4)
Configure Phone Line in Unified CM Leaf 2
Validate learned patterns via ILS/GDPR
Configure PSTN Route Patterns Leaf Cluster 1
Configure PSTN Route Patterns Leaf Cluster 2
Configure PSTN Route Patterns Unified CM SME
CUBE General Configuration
CUBE Box to Box Redundancy
CUBE Dial Peers
Configure CUBE Dial Plan Normalization
35
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Lab Overview (4 of 4)
CUBE DO to EO configuration
CUBE / SME OPTIONS Ping Configuration
Enabling URI Dialing
SME Normalization Script (Modify Diversion Header)
Translate Inbound DID to Lab Number
Use Session Trace feature to view SIP call flow
Debug SIP call on CUBE
Detailed tracing on Unified Communications Manager
Unified Communications Manager trace collection
36
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
http://siplab.ciscolive.com
Lab Access
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Participate in the My Favorite Speaker Contest
Promote your favorite speaker through Twitter and you could win $200 of Cisco
Press products (@CiscoPress)
Send a tweet and include
Your favorite speakers Twitter handle <@PaulGiralt> <@FotoMalo>
Two hashtags: #CLUS #MyFavoriteSpeaker
You can submit an entry for more than one of your favorite speakers
Dont forget to follow @CiscoLive and @CiscoPress
View the official rules at http://bit.ly/CLUSwin
Promote Your Favorite Speaker and You Could be a Winner
38
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Complete Your Online Session Evaluation
Give us your feedback and you
could win fabulous prizes. Winners
announced daily.
Complete your session evaluation
through the Cisco Live mobile app
or visit one of the interactive kiosks
located throughout the convention
center.
Dont forget: Cisco Live sessions will be available
for viewing on-demand after the event at
CiscoLive.com/Online
39
2014 Cisco and/or its affiliates. All rights reserved. LTRUCC-2150 Cisco Public
Continue Your Education
Demos in the Cisco Campus
Walk-in Self-Paced Labs
Table Topics
Meet the Engineer 1:1 meetings
40

Anda mungkin juga menyukai