Você está na página 1de 44

LTRUCC-2150

Cisco Unified CM SIP Trunking,


Session Management, and
Global Dial Plan Replication
Paul Giralt - @PaulGiralt
Markus Schneider - @Markus73
Agenda
Objectives
Technology Overview
Unified CM Session Management Edition
URI Dialing
Intercluster Lookup Service (ILS)
Global Dial Plan Replication (GDPR)
Collaboration Edge
Cisco Unified Border Element (CUBE)
Expressway Business to Business (B2B) Video Collaboration
Mobile & Remote Access (MRA)

Lab Overview
Topology
Configuration Steps
Objectives
Configure the Intercluster Lookup Service (ILS) and Global Dial Plan
Replication (GDPR) features in Cisco Unified Communications Manager
(Unified CM) to distribute dynamic dial plan information within an enterprise
network.
Configure Cisco Unified Border Element (CUBE) for SIP-based IP PSTN
connectivity
Configure Unified CM Session Management Edition (SME) to inter-cluster and
off-net calling
Configure Expressway for Mobile & Remote Access (MRA)

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Overview: Unified Communications
Manager Session Management
(SME)
Session Management: Why?
Core Management Application Integration
Centralized Dial Plan Management Voicemail
Centralized Reporting Conferencing
Multi-Protocol Interworking (SIP, Recording
Q.SIG. H.323, MGCP, ...) Mobility
Core Tandem Routing
Central Policy Enforcement Centralized Trunking
SIP Trunking
Interconnect Communications TDM A
Platforms Inter-Company
Communications Manager (Expressway)
Legacy PBX Systems (both IP and Mobile & Remote
TDM-based) Access (MRA)

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Unified CM SME, Summary A A

Inside the Enterprise Many validated PBX integrations


Transit deployment type of Unified Applications
Communications Manager Unity Connection
B2BUA Stateful, Mid-Call Features Fax Server
SIP and H.323 based video
Broad protocol support conferencing
Q.Sig, Q.931 (MGCP GW) WebEx
SIP Trunk and ICT Expressway / MRA
H.323
Unified CM features:
H.323 Annex M1
RSVP Pre-Conditions
Q.Sig over SIP
ILS / GDPR

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Unified CM SME, Summary A A

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
Geographic Redundancy
Up to 500 milliseconds of delay between SME cluster nodes

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Overview: ILS and GDPR
URIs and User Addressing
Challenges in using URIs
URIs cannot be summarized in the same way that Directory Number ranges
can be summarized
URIs are fully qualified and cannot be summarized within an Enterprise network
(e.g. bob@cisco.com, jim@cisco.com), therefore, a dynamic mechanism must
be used to discover URIs
Unified CM 9.0 uses the Inter-cluster Lookup Service (ILS) as a dynamic URI
discovery mechanism
Unified CM 10.0 adds capabilities to ILS to advertise User Numbers and/or
URIs Global Dial Plan Replication (GDPR)

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Inter-cluster Lookup Service (ILS) URI Replication
ILS runs as a Unified CM service and distributes locally registered URIs to other clusters
Cluster to cluster ILS connections can be hub and spoke, full mesh, or a combination
URIs are associated with a cluster route string e.g. london.uk.eu
URIs and their route string are stored locally. Replication is incremental.
New York
San Jose London
diane@cisco.com helen@cisco.com
chris@cisco.com greg@cisco.com
bob@cisco.com fran@cisco.com
anne@cisco.com eric@cisco.com
diane@cisco.com helen@cisco.com

San Jose New York London


lucy@cisco.com
kevin@cisco.com
San Jose London
chris@cisco.com diane@cisco.com
jane@cisco.com
ian@cisco.com helen@cisco.com
greg@cisco.com
chris@cisco.com greg@cisco.com
bob@cisco.com fran@cisco.com
anne@cisco.com eric@cisco.com
bob@cisco.com fran@cisco.com

New York
lucy@cisco.com
anne@cisco.com kevin@cisco.com eric@cisco.com
jane@cisco.com
ian@cisco.com

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Inter-cluster Lookup Service (ILS) Operation
When a user dials a URI Unified CM checks to see if it is registered locally
If not, Unified CM 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

Diane calls New York


helen@cisco.com
San Jose London
Does Route String diane@cisco.com
chris@cisco.com
helen@cisco.com
greg@cisco.com
Is helen@cisco.com
london.uk.eu a
diane@cisco.com locally
No
Yes
configured URI
bob@cisco.com
anne@cisco.com
fran@cisco.com
eric@cisco.com
helen@cisco.com
match an existing SIP
Route Pattern?
San Jose Can London

chris@cisco.com
Yes
helen@cisco.com
Return Route String
greg@cisco.com
be found in ILS for
london.uk.eu ? URI
helen@cisco.com
INVITE sip:helen@cisco.com@10.1.1.1
bob@cisco.com fran@cisco.com
Route the URI call to
London Newlondon.uk.eu
York over New York San Jose
helen@cisco.com the Route
lucy@cisco.com Patterns lucy@cisco.com diane@cisco.com
anne@cisco.com greg@cisco.com kevin@cisco.com kevin@cisco.com chris@cisco.com eric@cisco.com
fran@cisco.com SIP Trunk
jane@cisco.com jane@cisco.com bob@cisco.com
eric@cisco.com ian@cisco.com ian@cisco.com anne@cisco.com

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
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 Global Dial Plan Replication (GDPR)
ILS allows for the distribution of Internal (Enterprise) Numbers, E.164 Numbers,
Route Patterns and PSTN Failover numbers.
PSTN Failover rules apply to both numeric and URI calls
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 3rd Party UC systems also supported

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Numeric routing with GDPR / ILS
Internal numbers, E164 numbers and PSTN Failover numbers are advertised via ILS
Learned numbers are imported into Digit Analysis in a configurable partition
When a number is called, Unified CM performs closest match routing. If the pattern learned
via ILS is the best match, look up the Route String and route based on route string.
If the call fails, re-route the call via the PSTN (if configured)
Diane calls New York
+442088244567
San Jose London
diane@cisco.com helen@cisco.com
Does
Is Route String
ILS learned pattern
+14089024567 +442088244567
bob@cisco.com fran@cisco.com
london.uk.eu
diane@cisco.com Yes
match an Yes
Routethe
+442088244567 thebest
existing SIP
london.uk.eu
URI call to
+14089021234

over
+4420882412345
helen@cisco.com
match?
Route the
Pattern
Route Patterns
San Jose London
ReturnSIPRoute
TrunkString
+14089024567 london.uk.eu for +442088244567
DN +442088244567
INVITE sip:+442088244567@10.1.1.1
bob@cisco.com fran@cisco.com

London New York New York San Jose


helen@cisco.com lucy@cisco.com lucy@cisco.com diane@cisco.com
+14089021234 +442088244567
fran@cisco.com
+12125541234
jane@cisco.com
+12125541234 +14089024567 +442088241234
jane@cisco.com bob@cisco.com
+4420882412345 +12125541235 +12125541235 +14089021234

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Managing Route String Routing with ILS
Route String based Routing in a non-hierarchical network
Each route string represents a remote Unified CM 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
Number of trunks and patterns needed scales exponentially as you add clusters

San Jose New York London Frankfurt Seoul Singapore

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
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
Routes to: Routes to:
*.*.EU *.*.US
*.*.ASIA Global Backbone *.*.EU
San Jose.CA.US Seoul.ASIA
New York.NY.US Singapore.ASIA

US SME EU SME Asia SME

San Jose New York London Frankfurt Seoul Singapore


Route *.*.*
to US SME

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Combining SME and GDPR
*88881XXXX
*88881XXX Leaf Clusters Advertise local
numbers/patterns to other
clusters
PSTN CUBE Advertize global (+E.164)
Patterns
Also advertise Enterprise
+315557XXX Numbering Plan
81111XXX
SME advertises prefixes of
ILS
applications
SME advertizes prefixes of
attached 3rd Party PBX or other
Integrations
A A A A Can also advertise an imported
URI catalog

+4969123XXX +4480123XXX +3360346XXX +3255678XXX


82229XXX 83334XXX 84443XXX 85552XXX

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Reference: Unified CM Routing Rules
Does whole URI
NO match a URI in the NO Does whole URI NO Does RHS match a NO
Is LHS Numeric? Block Call
CSS and URI match one in ILS? SIP Route Pattern?
table?

YES YES YES NO YES


MATCH
Route using SIP
route patterns Route based on
Offer Call
based on route RHS
string for ILS entry

Is RHS the IP Does RHS match Does RHS match


address or NO Cluster Fully NO Organization Top NO Does RHS match a
Route or Block
hostname of a Qualified DN Level Domain SIP Route Pattern?
cluster member? (CFQDN)? (OTLD)?

YES YES YES

Does LHS find a NO


Analyze LHS
match?

YES

Route or Block Offer Call

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Cisco Collaboration Edge
Cisco Collaboration Edge Architecture
Includes all edge products to
support:
Mobile and teleworker collaboration
Internet
Business-to-business and business-
to-consumer collaboration
Expressway-C Expressway-E
IP PSTN and PSTN connectivity
Unified CM
Intra-enterprise connectivity for
legacy telephony or 3rd party
devices
Unified Presence Unified Border Element PSTN via Cloud connectivity
SIP SP

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Cisco Unified Border Element
CUBE Enabling Unified CM SIP Trunking
Enterprise Demarc

H.323 or SIP SIP SP


CUBE
SBC VoIP

Security demarcation via topology hiding and SIP signaling and media inspection
Troubleshooting demarcation via B2BUA, i.e. SIP session termination and re-origination
Call admission control (CAC) upon entry to network
Meet SP UNI requirements via SIP Normalization
DTMF interworking and transcoding
Share a single SIP trunk across multiple Unified CM clusters
Co-resident with TDM GW, SRST GW and/or MTP for failover and additional services

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
CUBE Basic Call Flow
Received: Sent:
INVITE sip:2000@10.1.3.4 SIP/2.0 voice service voip INVITE sip:2000@10.2.3.4 SIP/2.0
... allow-connections sip to sip ...

Originating Terminating
Endpoint Endpoint
Incoming SIP Call to 2000 Outgoing SIP Call to 2000
Matches Inbound Dial-peer Matches Outbound Dial-peer
CUBE

1000 dial-peer voice 1 voip dial-peer voice 2 voip 2000


destination-pattern 1000 destination-pattern 2000
session protocol sipv2 session protocol sipv2
incoming called-number 2 session target ipv4:192.168.12.25
session target ipv4:192.168.10.50 codec g711ulaw
codec g711ulaw

1. Incoming SIP setup message (INVITE) received from originating endpoint


2. Match inbound VoIP dial-peer using called number and assign codec, DTMF method, etc.
3. Match outbound dial-peer using called number and assign characteristics for that call leg
4. Outgoing VoIP setup message (SIP INVITE) sent

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
CUBE Typical Dial-peer

Only one destination


!
per dial-peer dial-peer voice 1 voip
session protocol sipv2 Only one pattern for each
session target ipv4:192.168.10.50 Inbound/Outbound dial-peer
destination-pattern +[2-9]T
codec g711ulaw
incoming called-number 392.
voice-class sipipv4:192.168.10.50
session target bind control Single, static codec
Result source-interface
codec g711ulaw GigabitEthernet1
voice-classsip
voice-class sipbind
bindcontrol
media
Many dial-peers source-interface GigabitEthernet1
Long configurations !
!
Difficult to support
and administer

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
CUBE Advanced Dial-Peers
!
dial-peer voice 1 voip
session protocol sipv2
session target ipv4:192.168.10.50
destination-pattern +[2-9]T
codec g711ulaw
voice-class sip bind control
source-interface GigabitEthernet1
voice-class sip bind media
source-interface GigabitEthernet1
!
!
!

2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
CUBE Advanced Dial-Peers
voice class server-group 10
description Service Provider IPs
ipv4 192.168.10.50 !
ipv4 192.168.10.51 dial-peer voice 1 voip
! session protocol sipv2
session server-group 10
destination-pattern +[2-9]T
codec g711ulaw
voice-class sip bind control
source-interface GigabitEthernet1
voice-class sip bind media
source-interface GigabitEthernet1
!
!
!

2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
CUBE Advanced Dial-Peers
voice class server-group 10
description Service Provider IPs
ipv4 192.168.10.50 ! voice class e164-pattern-map 2
ipv4 192.168.10.51 dial-peer voice 1 voip description PSTN +E.164 patterns
! session protocol sipv2 e164 +[2-9]T
e164 +1[2-9]..[2-9]
session server-group 10 !
destination e164-pattern-map 2
codec g711ulaw
voice-class sip bind control
source-interface GigabitEthernet1
voice-class sip bind media
source-interface GigabitEthernet1
!
!
!

2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
CUBE Advanced Dial-Peers
voice class server-group 10
description Service Provider IPs
ipv4 192.168.10.50 ! voice class e164-pattern-map 2
ipv4 192.168.10.51 dial-peer voice 1 voip description PSTN +E.164 patterns
! session protocol sipv2 e164 +[2-9]T
e164 +1[2-9]..[2-9]
session server-group 10 !
destination e164-pattern-map 2
voice-class codec 1
voice class codec 1 voice-class sip bind control
description Codec list source-interface GigabitEthernet1
codec preference 1 g711ulaw voice-class sip bind media
codec preference 2 g729r8
! source-interface GigabitEthernet1
!
!
!

2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
CUBE Advanced Dial-Peers
voice class server-group 10
description Service Provider IPs
ipv4 192.168.10.50 ! voice class e164-pattern-map 2
ipv4 192.168.10.51 dial-peer voice 1 voip description PSTN +E.164 patterns
! session protocol sipv2 e164 +[2-9]T
e164 +1[2-9]..[2-9]
session server-group 10 !
destination e164-pattern-map 1
voice-class codec 1
voice class codec 1 voice-class sip voice class sip-options-keepalive 1
description Codec list options-keepalive profile 1 description SIP OPTIONS timers
codec preference 1 g711ulaw transport udp
codec preference 2 g729r8
voice-class sip bind control !
! source-interface GigabitEthernet1
voice-class sip bind media
source-interface GigabitEthernet1
!

2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Business to Business (B2B) Video
Collaboration
Business-to-Business (B2B) Video Collaboration
Inside firewall DMZ Outside firewall
(Intranet) (Public Internet)

Internet

Unified CM Expressway Expressway


Cluster(s) C E

Provides secure communications with partners, customers & suppliers over


the Internet
Secure Firewall Traversal using VCS or Expressway
Utilizes DNS-based URI dialing. No predefined peer-to-peer links required.

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Expressway Firewall Traversal Basics
Enterprise Network DMZ Outside Network

Unified Internet
CM
Expressway-C Firewall Expressway-E Firewall
Signaling
Media

1. Expressway-E is the traversal server installed in DMZ. Expressway-C is the traversal client installed inside the
enterprise network.

2. Expressway-C initiates traversal connections outbound through the firewall to specific ports on Expressway-E with
secure login credentials.

3. Once the connection has been established, Expressway-C sends keep-alive packets to Expressway-E to maintain the
connection

4. When Expressway-E receives an incoming call, it issues an incoming call request to Expressway-C.

5. Expressway-C then routes the call to Unified CM to reach the called user or endpoint

6. The call is established and media traverses the firewall securely over an existing traversal connection

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Mobile and Remote Access (MRA)
Mobile and Remote Access (MRA)
Outside firewall DMZ Inside firewall
(Public Internet) (Intranet)

Unified CM
with ILS
Internet

Expressway Expressway Unified CM Unified CM


E C Cluster 1 Cluster 2

Provides VPN-less Mobile and Fixed Endpoint registration, Audio and Video
Sessions, IM & Presence
Available on both VCS and Expressway product lines with X8.1 s/w
No Cost with Unified CM version 9.1.2 or later and Virtual Edition Expressway
Server Software

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Jabber Login for MRA
crobbins@

Outside firewall DMZ Inside firewall (Intranet)


(Public Internet)
Secure Firewall UDS query:
DNSSRV
DNS SRVrequest:
request: Traversal clusterUser?username=robbins
robbins
robbins@cisco.com
_collab-edge._tls.cisco.com
_cisco-uds._tcp.cisco.com
Unified CM
Internet with ILS
Establish secure TLS
session
robbins@cisco.com NottoFound!
Expressway-E
FOUND: expwy1.cisco.com Expressway Expressway Unified CM Unified CM
E C Cluster 1 Cluster 2
Public DNS
<homeCluster>cucm2.cisco.com</homeCluster>

1.
5. <username>@<domain>
User enters password
6.
2. HTTPS messageDNS
Jabber requests passed
SRVsecurely to Expressway-C
_cisco-uds._tcp.<domain>. Should ONLY work internally
7. Expressway-C sends UDS query to locate the users home server
Internally will resolve to UDS servers
8. Any UDS server in ILS network can respond with users home cluster
3.
9. Jabber
User is requests DNS against
authenticated SRV _collab-edge._tls.<domain>.
home CUCM server Should resolve to Expressway-E
10.
4. Configuration download andverify
Connect to Expressway-E, registration canand
certificate nowestablish
occur secure TLS connection
LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Lab Topology
Lab Topology
Single SME Unified CM
Two single-node Unified CM Leaf Clusters
Redundant CUBEs running on the CSR1KV
platform to connect to IP PSTN
An Expressway-E and Expressway-C for external
client access and Business to Business calling
Two Jabber Endpoints
Internal and External DNS servers (pre-
configured)
Certificate Authority (CA) for certificate generation
Service Provider SBC (not managed by you) for:
PSTN calling (inbound and outbound)
B2B Video Conference bridge

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Make sure Pod number in browser matches Tent card

Lab Tips
All Passwords: c1sco123!
Click-to-Call from Browser

No Typing Required!
Just click, then paste.

Can I get a copy of the lab for printing


or review?
Lab is at: http://siplab.ciscolive.com
reachable from Internet
Print button generates a PDF of the full lab

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Lab Materials

http://siplab.ciscolive.com

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Complete Your Online Session Evaluation
Please complete your Online
Session Evaluations after each
session
Complete 4 Session Evaluations &
the Overall Conference Evaluation
(available from Thursday) to receive
your Cisco Live T-shirt
All surveys can be completed via
the Cisco Live Mobile App or the
Dont forget: Cisco Live sessions will be available
Communication Stations for viewing on-demand after the event at
CiscoLive.com/Online

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Cisco Spark
Ask Questions, Get Answers, Continue the Experience

Use Cisco Spark to communicate with the Speaker and fellow


participants after the session

Download the Cisco Spark app from iTunes or Google Play


1. Go to the Cisco events Mobile app
2. Find this session
3. Click the Spark button under Speakers in the session description
4. Enter the space, space name = LTRUCC-2150
5. Join the conversation!

The Spark Room will be open for 2 weeks after Cisco Live

BRKUCC-2932 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Continue Your Education
Demos in the Cisco campus
Walk-in Self-Paced Labs
Lunch & Learn
Meet the Engineer 1:1 meetings
Related sessions

LTRUCC-2150 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Thank You

43

Você também pode gostar