You are on page 1of 36

Cisco Unified Communications SIP Trunking, Session Management, and Service Advertisement Framework Lab

LTRUCC-2150

Follow us on Twitter for real time updates of the event:

@ciscoliveeurope, #CLEUR

Housekeeping
We value your feedback- don't forget to complete your online session evaluations after each session & the Overall Conference Evaluation which will be available online from Thursday Visit the World of Solutions and Meet the Engineer Visit the Cisco Store to purchase your recommended readings Please switch off your mobile phones After the event dont forget to visit Cisco Live Virtual: www.ciscolivevirtual.com Follow us on Twitter for real time updates of the event: @ciscoliveeurope, #CLEUR

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Agenda Introduction Technology Overview


- Unified CM Session Management Edition - Service Advertisement Framework & Call Control Discovery - Cisco Unified Border Element (CUBE)

Lab Overview
- Topology - Configuration Steps

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Introduction

Enterprise Collaboration has Moved to IP

Due to technological advances, changes in consumer preference, and market forces, the question is when, not if, POTS service and the PSTN over which it is provided will become obsolete.
Source: AT&T Response to FCC on PSTN Evolution, Dec 2009

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Objectives

Understand how to configure Service Advertisement Framework (SAF) and Call Control Discovery (CCD) for dynamic call routing in IOS and on Unified CM and Unified CME Understand how to configure Cisco Unified Border Element for SIP-based IP PSTN connectivity Understand how to configure Unified CM Session Management Edition

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Overview: Unified Communications Manager Session Management (SME)

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 A

Centralized Trunking
- - - TDM IP PSTN Inter-Company
2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

LTRUCC-2150

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 SAF

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

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

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

10

Overview: Service Advertisement Framework (SAF) and Call Control Discovery (CCD)

Introduction Limitations of Current Call Routing Approaches


Configuration complexity, Speed of deployment High operational cost, TCO Availability, Business Continuity
Call Agent Call Agent Call Agent Call Agent Call Agent Call Agent Call Agent Call Agent

Call Agent Call Agent Call Agent

Call Agent

IP Network
Call Agent Call Agent Call Agent

IP Network
GK GK

Call Agent

Call Agent

Call Agent

Call Agent

Call Agent

Call Agent Call Agent Call Agent

Call Agent

Call Agent Call Agent Call Agent

Call Agent

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

12

Introduction

The Service Advertisement Framework (SAF) Vision

A network-based, scalable, bandwidth-efficient, real-time approach to service advertisement and discovery Is based on EIGRP technology, but is independent of IP routing protocol (works with OSPF, BGP,...) Supports dark nets (non-SAF nodes) for phased roll-outs and heterogeneous deployments Will allow administrators to control scope of each service through domains, filtering, VRFs, ...
LTRUCC-2150 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

13

Introduction Call Control Discovery (CCD): a SAF Service


Call agents discover each other through the SAF network by:
Call Agent Call Agent Call Agent Call Agent

CCD

Call Agent Call Agent

Advertising their reachability information along with the DN ranges they own Requesting to learn about other call agents in the network

Call Agent

SAF-enabled IP Network

Call Agent

Call Agent Call Agent

Call agents dynamically route calls to remote destinations based on received advertisements

Call Agent Call Agent Call Agent

Call Agent

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

14

Introduction SAF Terms and Definitions


SAF Client: any application wishing to advertise a service to the network or request a service from the network or both SAF Forwarder: router feature provides relationship between client and framework, stores service information and propagates it to other forwarders
CCD
SAF SAF Header Service Data

Service: any information that a SAF client wishes to advertise and consume (e.g., dial plans for CCD) SAF Advertisement: carries service information, consists of SAF Header and Service Data Non-SAF Node: any router that does not run the SAF protocols

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

15

Introduction SAF Architecture


Session Management Edition CUBE

Cisco IOS GW

CUCME SRST

Cisco Unified CM

CCD

CCD

CCD

CCD

CCD

SAF Client

SAF Client Protocol

SAF Forwarder SAF-unaware Router

SAF Client Protocol

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

16

Call Control Discovery (CCD) Scope and Objectives

Cisco Unified CM CUBE

Cisco IOS GW

CUCME SRST

Cisco Unified CM

CCD

CCD

CCD

CCD

CCD

Enable call agents to exchange dial plan, signaling protocol and reachability information through SAF Extend call control logic to incorporate dynamic routing based on information learned through SAF Focus on Enterprise-owned Directory Numbers (DNs), rather than PSTN egress points Include information on DID rules in advertisements to simplify PSTN failover

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

17

Call Control Discovery (CCD) Advertising DN Ranges


Service Advertisement
IP address: 10.1.1.1 Protocol: SIP DN Patterns: 8408XXXX [4:+1408555], 8415XXXX [4:+1415777], 8949XXXX [4:+1949222] New York CME Routing Table
DN Pattern 8408XXXX 8415XXXX 8949XXXX to DID rule 4:+1408555 4:+1415777 4:+1949222 IP address 10.1.1.1 10.1.1.1 10.1.1.1 Protocol SIP SIP SIP

8408XXXX

PSTN
10.1.1.1 10.2.2.2

8212XXXX

San Jose
8415XXXX 8949XXXX

New York

SAF-Enabled IP Network

San Francisco
LTRUCC-2150

Irvine
2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

18

Call Control Discovery (CCD) Learning DN Ranges

San Jose CUCM Routing Table


DN Pattern 8212XXXX to DID rule 4:+1212444 IP address 10.2.2.2 Protocol SIP

Service Advertisement
IP address: 10.2.2.2 Protocol: SIP DN Patterns: 8212XXXX [4:+1212444]

8408XXXX

PSTN
10.1.1.1 10.2.2.2

8212XXXX

San Jose
8415XXXX 8949XXXX

New York

SAF-Enabled IP Network

San Francisco
LTRUCC-2150

Irvine
2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

19

Call Control Discovery (CCD)


Dynamic Routing

New York CME Routing Table San Jose CUCM Routing Table
DN Pattern 8212XXXX 8442XXXX to DID rule +1212444 /4 4:+1212444 4:+442077111 IP address 10.2.2.2 10.3.3.3 Protocol SIP H.323 DN Pattern 8408XXXX 8415XXXX 8949XXXX 8442XXXX to DID rule +1408555 /4 4:+1408555 +1415777 /4 4:+1415777 +1949222 /4 4:+1949222 4:+442077111 IP address 10.1.1.1 10.1.1.1 10.1.1.1 10.3.3.3 Protocol SIP SIP SIP H.323

8408XXXX

PSTN
10.1.1.1 10.2.2.2

8212XXXX

San Jose
8415XXXX 8949XXXX

New York

SAF-Enabled IP Network
Call 84421000 10.3.3.3
Cisco Public

8442XXXX

San Francisco
LTRUCC-2150

Irvine

London
20

2012 Cisco and/or its affiliates. All rights reserved.

Call Control Discovery (CCD)


Automatic PSTN Failover

New York CME Routing Table San Jose CUCM Routing Table
DN Pattern 8212XXXX 8442XXXX to DID rule 4:+1212444 4:+442077111 IP address 10.2.2.2 10.3.3.3 Protocol SIP H.323 DN Pattern 8408XXXX 8415XXXX 8949XXXX 8442XXXX to DID rule 4:+1408555 4:+1415777 4:+1949222 4:+442077111 IP address 10.1.1.1 10.1.1.1 10.1.1.1 10.3.3.3 Protocol SIP SIP SIP H.323

8408XXXX

Translate to +4420771111000

PSTN
10.1.1.1 10.2.2.2

8212XXXX

San Jose
8415XXXX 8949XXXX

New York

SAF-Enabled IP Network
Call 84421000 10.3.3.3
Cisco Public

8442XXXX

San Francisco
LTRUCC-2150

Irvine

London
21

2012 Cisco and/or its affiliates. All rights reserved.

SAF/CCD
Allows Call Agents to advertise/learn Directory Number Reachability Dynamic dial plan deployment Intra-company only Dynamic SAF trunks solve N2 complexity of managing full mesh of static trunks without single point of failure Automatic PSTN rerouting if IP route fails Unique: dynamic reachability information using network capabilities

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

22

Leveraging SME and SAF


*81XXXX

Leaf Clusters Advertise local sites into SAF/CCD cloud Leaves advertize CUBE global (+E.164) patterns
Also advertise Private Numbering Plan if required

PSTN

+315557XXX 81XXX

SAF

SME advertises prefixes of applications


A A A

SME advertizes prefixes of attached PBXes Ideally leverage RSVP for CAC

+4969123XXX +4480123XXX +3360346XXX +3255678XXX 89XXX 84XXX 83XXX 82XXX

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

23

Cisco Unified Border Element

CUBE Enabling CUCM SIP Trunking


Enterprise Demarc

H.323 or SIP
CUBE

SIP
SBC

SP VoIP

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
LTRUCC-2150 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

25

Cisco Unified Border Element Basic Call Flow


voice service voip allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip

Originating Endpoint Incoming VoIP Call

Terminating Endpoint

Outgoing VoIP Call


CUBE

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

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
LTRUCC-2150 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

26

Delayed OfferEarly Offer


INVITE 180/183/200 (Offer SDP) ACK/PRACK (Answer SDP) 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
CUBE

INVITE (Offer SDP) 180/183/200 (Answer SDP)


SBC

SP VoIP

SP SIP trunk Early Offer (EO) interconnect for enterprise apps that support only Delay Offer (DO) Flow-through required for DE-EO supplementary services
Early Offer Answer
LTRUCC-2150

Delayed No SDP in INVITE SDP in 200


Cisco Public

Global Configuration Also Supported:


voice service voip sip early-offer forced

SDP in INVITE SDP in 180/183

2012 Cisco and/or its affiliates. All rights reserved.

27

CUBE SIP Trunk Monitoring with OOD Options


dial-peer 5 error code 500
A

dial-peer 100
CUBE

CUCM SIP Trunk

SP SIP Trunk
OOD Options 200 OK

SP SIP

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

DP 100 = ACTIVE
INVITE 200 OK INVITE 200 OK

OOD Options Timeout no response

DP 100 = BUSYOUT
INVITE 503 Service Unavailable OOD Options
LTRUCC-2150 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

OOD Options

Global or inbound dial-peer config


- Dial-peer config takes precedence
28

Lab Topology

Lab Topology
Single CUBE to connect to IP PSTN Single SME Server Single Unified CM Server Single Unified CME Router Four Phones CUBE and Unified CME acting as SAF Forwarders

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

30

Lab Overview

Lab Overview (1 of 2)
Configure the SAF forwarder Configure Unified CM Forwarder Client Configure Unified CM SME Forwarder Client Configure Unified CME SAF Configure Unified CM SME Dial Plan Configure Unified CM SME CCD Configure Unified CM Dial Plan Configure Unified CM CCD Configure Unified CM Translation Patterns Configure Unified CME Dial Plan

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

32 3 2

Lab Overview (2 of 2)
CUBE General Configuration CUBE DO to EO Configuration Configuration OPTIONS Ping between SME and CUBE Create and implement a Normalization Script on SME Leverage Session Trace to view a call through the system Translate Inbound DID to Lab Number

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

33 3 3

Please complete your Session Survey


We value your feedback
Don't forget to 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 Surveys can be found on the Attendee Website at www.ciscolivelondon.com/onsite which can also be accessed through the screens at the Communication Stations Or use the Cisco Live Mobile App to complete the surveys from your phone, download the app at www.ciscolivelondon.com/connect/mobile/app.html
1. Scan the QR code (Go to http://tinyurl.com/qrmelist for QR code reader software, alternatively type in the access URL above) 2. Download the app or access the mobile site 3. Log in to complete and submit the evaluations
LTRUCC-2150 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public

http://m.cisco.com/mat/cleu12/
34

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

35

Thank you.

LTRUCC-2150

2012 Cisco and/or its affiliates. All rights reserved.

Cisco Public

36

You might also like