36
LTRUCC-2150 Cisco Unified Communications SIP Trunking, Session Management, and Service Advertisement Framework Lab Follow us on Twitter for real time updates of the event: @ciscoliveeurope, #CLEUR

LTRUCC 2150 Slides[1]

Embed Size (px)

Citation preview

Page 1: LTRUCC 2150 Slides[1]

LTRUCC-2150

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

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

@ciscoliveeurope, #CLEUR

Page 2: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 2

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 don’t forget to visit Cisco Live Virtual: www.ciscolivevirtual.com

  Follow us on Twitter for real time updates of the event: @ciscoliveeurope, #CLEUR

Page 3: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 3

  Introduction  Technology Overview

-  Unified CM Session Management Edition

-  Service Advertisement Framework & Call Control Discovery

-  Cisco Unified Border Element (CUBE)

  Lab Overview -  Topology

-  Configuration Steps

Agenda

Page 4: LTRUCC 2150 Slides[1]

Introduction

Page 5: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 5

Enterprise Collaboration has Moved to IP

Source: AT&T Response to FCC on PSTN Evolution, Dec 2009

“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.”

Page 6: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 6

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

Page 7: LTRUCC 2150 Slides[1]

Overview: Unified Communications Manager Session Management (SME)

Page 8: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 8

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

Page 9: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 9

  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

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

A A

Page 10: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 10

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

Page 11: LTRUCC 2150 Slides[1]

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

Page 12: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 12

IP Network

Introduction Limitations of Current Call Routing Approaches

IP Network

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

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

Call Agent

Call Agent

GK GK

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

Page 13: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 13

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, ...

Page 14: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 14

Introduction Call Control Discovery (CCD): a SAF Service

SAF-enabled IP Network

  Call agents ‘discover’ each other through the SAF network by:

Advertising their reachability information along with the DN ranges they own

Requesting to learn about other call agents in the network

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

CCD

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

Call Agent

Page 15: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 15

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

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

CCD

SAF Header

SAF Service Data

Page 16: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 16

Introduction SAF Architecture

Session Management

Edition Cisco

Unified CM

CUBE Cisco

IOS GW CUCME SRST

CCD CCD

SAF Forwarder

SAF Client

SAF-unaware Router

SAF Client Protocol

SAF Client Protocol

CCD CCD CCD

Page 17: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 17

Call Control Discovery (CCD) Scope and Objectives

Cisco Unified CM

Cisco Unified CM

CUBE Cisco

IOS GW CUCME SRST

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 (DN’s), rather than PSTN egress points

  Include information on DID ‘rules’ in advertisements to simplify PSTN failover

Page 18: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 18

New York

Call Control Discovery (CCD) Advertising DN Ranges

DN Pattern “to DID” rule IP address Protocol

8408XXXX 4:+1408555 10.1.1.1 SIP

8415XXXX 4:+1415777 10.1.1.1 SIP

8949XXXX 4:+1949222 10.1.1.1 SIP

New York CME Routing Table

San Jose

San Francisco Irvine

SAF-Enabled IP Network

PSTN 8408XXXX

8415XXXX 8949XXXX

8212XXXX

10.1.1.1 10.2.2.2

IP address: 10.1.1.1 Protocol: SIP DN Patterns: 8408XXXX [4:+1408555], 8415XXXX [4:+1415777], 8949XXXX [4:+1949222]

Service Advertisement

Page 19: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 19

New York

Call Control Discovery (CCD) Learning DN Ranges

DN Pattern “to DID” rule IP address Protocol

8212XXXX 4:+1212444 10.2.2.2 SIP

San Jose CUCM Routing Table

San Jose

SAF-Enabled IP Network

PSTN 8408XXXX

8212XXXX

10.2.2.2 10.1.1.1

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

Service Advertisement

San Francisco Irvine

8415XXXX 8949XXXX

Page 20: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 20

San Francisco Irvine

8415XXXX 8949XXXX

London

8442XXXX

10.3.3.3

DN Pattern “to DID” rule IP address Protocol

8408XXXX +1408555 /4 10.1.1.1 SIP

8415XXXX +1415777 /4 10.1.1.1 SIP

8949XXXX +1949222 /4 10.1.1.1 SIP

DN Pattern “to DID” rule IP address Protocol

8212XXXX +1212444 /4 10.2.2.2 SIP

New York

Call Control Discovery (CCD) Dynamic Routing

San Jose CUCM Routing Table New York CME Routing Table

San Jose

SAF-Enabled IP Network

PSTN 8408XXXX

8212XXXX

10.2.2.2 10.1.1.1

Call 84421000

DN Pattern “to DID” rule IP address Protocol

8212XXXX 4:+1212444 10.2.2.2 SIP

8442XXXX 4:+442077111 10.3.3.3 H.323

DN Pattern “to DID” rule IP address Protocol

8408XXXX 4:+1408555 10.1.1.1 SIP

8415XXXX 4:+1415777 10.1.1.1 SIP

8949XXXX 4:+1949222 10.1.1.1 SIP

8442XXXX 4:+442077111 10.3.3.3 H.323

Page 21: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 21

San Francisco Irvine

8415XXXX 8949XXXX

New York

Call Control Discovery (CCD) Automatic PSTN Failover

DN Pattern “to DID” rule IP address Protocol

8212XXXX 4:+1212444 10.2.2.2 SIP

8442XXXX 4:+442077111 10.3.3.3 H.323

San Jose CUCM Routing Table DN Pattern “to DID” rule IP address Protocol

8408XXXX 4:+1408555 10.1.1.1 SIP

8415XXXX 4:+1415777 10.1.1.1 SIP

8949XXXX 4:+1949222 10.1.1.1 SIP

8442XXXX 4:+442077111 10.3.3.3 H.323

New York CME Routing Table

San Jose

SAF-Enabled IP Network

London

PSTN 8408XXXX

8442XXXX

8212XXXX

10.2.2.2

10.3.3.3

10.1.1.1

8442XXXX 8442XXXX

Call 84421000

Translate to +4420771111000

Page 22: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 22

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

Page 23: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 23

Leveraging SME and SAF

CUBE

A A A

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

  Leaf Clusters Advertise local sites into SAF/CCD cloud

  Leaves advertize “global” (+E.164) patterns

89XXX 84XXX 83XXX 82XXX

  Also advertise Private Numbering Plan if required

PSTN

  SME advertises prefixes of applications

*81XXXX

  SME advertizes prefixes of attached PBXes

  Ideally leverage RSVP for CAC

+315557XXX 81XXX

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

*81XXXX

+315557XXX 81XXX

SAF

Page 24: LTRUCC 2150 Slides[1]

Cisco Unified Border Element

Page 25: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 25

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

Page 26: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 26

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

Page 27: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 27

SP VoIP

Delayed Offer—Early 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

Page 28: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 28

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

Page 29: LTRUCC 2150 Slides[1]

Lab Topology

Page 30: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 30

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

Page 31: LTRUCC 2150 Slides[1]

Lab Overview

Page 32: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 32 32

  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

Lab Overview (1 of 2)

Page 33: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 33 33

  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

Lab Overview (2 of 2)

Page 34: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 34

Please complete your Session Survey

  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

We value your feedback

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

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

Page 35: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 35

Page 36: LTRUCC 2150 Slides[1]

© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public LTRUCC-2150 36

Thank you.