VoIP - Cisco VoIP Telephony Introduction
VoIP - Cisco VoIP Telephony Introduction
Overview
Cisco IP Telephony (CIPT) is an instructor-led course presented by Cisco
Systems, Inc. training partners to their end-user customers. This five-day course
focuses on using Cisco CallManager and other IP telephony components
connected in local area networks (LANs) and wide area networks (WANs).
Upon completion of this training course, you will be able to select, connect,
configure, and troubleshoot the various Cisco IP telephony devices.
This chapter highlights the course prerequisites and course highlights as well as
some administrative issues. It includes the following topics:
■ Objectives
■ Prerequisites
■ General Administration
■ Sources of Information
■ Course Syllabus
■ Graphic Symbols
Course Objectives
This section lists the course objectives.
Objectives
Upon completion of this course, you will be able to perform the following high-
level tasks:
■ Given the components of a Cisco IP telephony (CIPT) solution, identify and
describe the CIPT architecture, hardware, and software.
■ Given hardware and software of a CIPT network solution, install one of the
three recommended CIPT deployment models.
■ Given a Cisco CallManager server, access the online administration guide to
configure CIPT components within Cisco CallManager administration.
■ Given an installed Cisco CallManager server, enable and use the tools in the
Cisco CallManager server to troubleshoot the CIPT deployment solutions.
X
IP WAN
Without Call
Processing
Large Campus PSTN
(Up to 10,000 users)
The figure shows a high-level overview of a CIPT network that you should be
able to build at the end of this class. To accomplish this course goal, you will be
taught how to install Cisco CallManager and configure other IP telephony
devices in a LAN and WAN environment. This includes the following tasks:
■ Install Cisco CallManager software and supporting services.
■ Cluster Cisco CallManagers to establish redundancy.
■ Select and connect Cisco access gateways for analog, WAN, and PSTN
access.
■ Connect and configure digital signal processor (DSP) resources for a CIPT
solution.
■ Configure the dial plan architecture to control IP telephony traffic.
■ Build three Cisco IP telephony deployments: isolated Campus LAN, WAN
with distributed call processing, and WAN with centralized call processing.
■ Configure IP telephony access through the IP WAN and then the PSTN for
backup.
■ Install and configure Cisco uOne for voice messaging for the Cisco IP
telephony solution.
Configuration, verification, and troubleshooting are done with Cisco
CallManager, Windows 2000 NT Server, and Cisco IOS software.
Prerequisites
Interconnecting
InterconnectingCisco
Cisco Building
Network BuildingCisco
CiscoRemote
Remote
NetworkDevices
Devices Access
AccessNetworks
Networks
(ICND)
(ICND) (BCRAN)
(BCRAN)
Cisco
CiscoVoice
Voiceover
overIP
IP–– •• Use
UseWindows
Windows2000 2000to
torun
run
Frame
FrameRelay
Relayand
andATM
ATM multiple
multipleapplications
applications
(CVOICE)
(CVOICE) •• Exposure
Exposureto tothe
theInternet
Internetor
or
an
anintranet
intranet
Voice •• Basic
Basicability
abilitywith
withbinary
binaryand
VoiceEssentials
Essentials–– hexadecimal
and
Basic hexadecimalnumbering
numbering
Basic Telephonyand
Telephony and
IP
IPTelephony
TelephonyConcepts
Concepts
•• Fundamental
Fundamentalnetwork
networkdevice
device
roles
roles
•• Understand
Understandthethe
Cisco layers
layersof
ofthe
theISO/OSI
CiscoIPIPTelephony
Telephony reference
ISO/OSI
model
(CIPT) reference model
(CIPT)
To fully benefit from CIPT, you should already possess certain prerequisite
skills. The skills are presented in the figure. These skills can be gained from
completing the Internetworking Technology Multimedia (ITM) CD-ROM or
through work experience. These prerequisites are highlighted in the figure and
are outlined below. You should have a working knowledge of the following:
■ Commonly used networking terms and topologies
■ The basic functions of a network protocol
■ Fundamental network device roles (for example, hub, bridge, router,
and switch)
■ The Open System Interconnection (OSI) reference model
■ The ability to use Windows 2000 to run multiple applications
■ Exposure to accessing the Internet or an intranet
■ Basic knowledge of binary and hexadecimal numbering
■ Telephony and IP telephony basic concepts
■ Building VoIP networks–gained from the Cisco course, Cisco Voice Over
Frame Relay, ATM, and IP v2.0 (CVOICE).
Participant Role
Student role
• Meet prerequisites
• Introduce yourself
• Ask/answer questions
To take full advantage of the information presented in this course, you should
meet the prerequisites for this class.
Introduce yourself to the instructor and other students who will be working with
you during the five days of this course.
You are encouraged to ask any questions relevant to the course materials.
If you have pertinent questions concerning other Cisco features and products not
covered in this course, please discuss these topics during breaks or after class,
and the instructor will try to answer the questions or direct you to an appropriate
information source.
Introduce yourself by stating your name and describing your job function.
Briefly describe your experience with installing and configuring Cisco network
devices and with internetworking in general, and also how your experience
helped you meet the prerequisites for this course.
You should also state what you expect to learn from this course.
General Administration
Class-related Facilities-related
• Sign-in sheet • Rest rooms
• Length and times • Site emergency
• Participant materials procedures
• Attire • Break and lunch
room locations
• Communications
The instructor will discuss the administrative issues in detail so you will know
exactly what to expect from both the class and facilities. The following items
will be discussed:
■ Recording your name on a sign-in sheet
■ The starting and anticipated ending time of each class day
■ What materials you can expect to receive during the class
■ The appropriate attire during class attendance
■ Rest room locations
■ What to do in the event of an emergency
■ Class breaks and lunch facilities
■ How to send and receive telephone, email, and fax messages
Sources of Information
• www.cisco.com
• CD-ROM
• Cisco Press
Most of the information presented in this course can be found on the Cisco
Systems web site or on CD-ROM. These supporting materials are available in
HTML format, and as manuals and release notes.
To learn more about the subjects covered in this course, feel free to access the
following sources of information:
■ Cisco Documentation CD-ROM or www.cisco.com
■ ITM CD-ROM or www.cisco.com
■ Cisco IOS 12.0 Configuration Guide and Command Reference Guide
■ Catalyst 1900 Series Installation and Configuration Guide
All of these documents can all be found at http://www.cisco.com.
Course Syllabus
The following schedule reflects the recommended structure for this course. This
structure allows enough time for your instructor to present the course
information to you and for you to work through the laboratory exercises. The
exact timing of the subject materials and labs depends on the pace of your
specific class.
Module 1, Getting Started with Cisco IP Telephony
The purpose of the module is to introduce you to the training room and
the CIPT network environment. This section provides a review of
networking fundamentals.
Module 1 includes the following chapters:
■ Chapter 1Cisco IP Telephony Introduction
■ Chapter 2Introduction to Cisco AVVID
■ Chapter 3Primary CIPT Components
■ Chapter 4 Understanding DHCP and TFTP
■ Chapter 5 Cisco CallManager
Graphic Symbols
DSP
These symbols are used in the graphical presentations of this course to represent
device or connection types.
Note The addressing schemes and telephone numbers used in this course are
reserved and not to be used in the public network. They are used in this course as
examples to facilitate learning. When building your network, use only the addresses and
telephone numbers assigned by your network designer and service provider.
Overview
This chapter will provide introductory information about the Cisco Architecture
for Voice, Video, and Integrated Data (AVVID) strategy. The Cisco IP
Telephony solution is within the AVVID strategy. The architecture delivers an
Internet ecosystem, which thrives on open standards, encouraging the
development and interoperability of multi-vendor, multi-product solutions.
The following topics are in this chapter:
■ Objectives
■ Cisco AVVID Architecture
■ Convergence
■ End-to-End Architecture
■ IP Telephony Design Goals
■ Deployment Models
■ Written Exercises
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will
be able to perform the following tasks:
• List the four functional groups of the AVVID
architecture
• Identify and describe the advantages of a
converged network
• Name the three deployment models
• Name the maximum number of users
permitted for each of the three deployment
models
Upon completion of this chapter you will be able to perform the following tasks:
■ List the four functional groups of the AVVID architecture.
■ Identify and describe the advantages of a converged network.
■ Name the three deployment models.
■ Name the maximum number of users permitted for each of the three
deployment models.
Adaptive
TAPI, JTAPI, SMDI Cisco uOne Cisco IPCC
Call Processing
Call Admission, Call Routing CallManager Directory
Manageable
Infrastructure
Open
Cisco IOS Network Services Gateway Router Switch
Clients
Video SoftPhone IP Phone PC
The use of open standards and the promotion of multi-vendor collaboration and
interoperability are an important benefit of the Cisco AVVID architecture. The
architecture creates an environment that fosters competition; this in turn lowers
prices for the consumer. It also allows the integration of products from multiple
vendors to create a customized solution.
No single vendor can provide a solution that fits all requirements for data, voice,
and video. Often specialized applications are designed and implemented only by
a single company and need to be integrated with the overall solution. The
adoption of open standards creates an ecosystem that actively promotes a model
of integration.
PSTN IP WAN
Catalyst
Backbone
Gigabit Ethernet
Switches
Routers
PBX
Proprietary
digital phones
End User PC
100M Ethernet
Today eparate Infrastructures
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -5
In the figure above you see two separate networks, one for voice and one for
data. Today most voice and data networks are separate. This involves two
separate skill sets to support each network, which implies that there are two
departments, each supporting a company’s voice and data network.
Call
Processing
Line
Connections
Switching Tie
PBX Phones Line
Trunk
Connections
PSTN
MCS 7800
Call Series Server
Processing
Line
Ethernet
Connections LAN Switch
Switching
IP Phones/
Softphone
Clients Voice Enabled
Trunk
Router or Gateway
Connections
Catalyst
Backbone
Gigabit Ethernet
Switches
Routers
PBX
Now there are choices: a converged network of data over voice or the more
preferred voice/video and data. The following advantages are part of the
converged network:
■ One network managed by one department
■ Scalable
■ Open Architecture
■ Adaptive and Available
Infrastructure
As with any architecture, Cisco AVVID relies upon a strong and stable
foundation. This foundation is built upon the multi-protocol routers and multi-
layer LAN switches that are used as building blocks for enterprise networks.
Clients
Clients are the end devices that are able to take advantage of the converged IP
infrastructure such as, IP phones, PCs, video and soft phones.
Applications
The most exciting facet of converged networking is the emerging applications,
such as desktop IP telephony, unified messaging and the Cisco IP Contact Center.
The converged network offers a framework that permits rapid deployment of
these new technologies and innovative applications.
Headquarters PSTN
Voice Messaging
CallManager
IP WAN
Router/Gateway
Branch Office
The figure depicts the components of the Cisco AVVID end-to-end architecture
model. Ideally the Cisco AVVID end-to-end architecture will not have a Public
Switched Telephone Network (PSTN) for backup, only redundant IP WAN
networks. For initial deployment and interoperability the IP WAN is the primary
Inter-site Voice Path and the PSTN is the secondary Inter-site Voice Path.
The next section describes how the IP WAN and PSTN are used in a Cisco IP
telephony network design.
Call V
Manager Router/GW
PSTN
V
Headquarters
X
IP WAN
Router/GW
V
• Isolated deployment
• Multi-site IP WAN deployments—
(distributed call processing model)
• Multi-site IP WAN deployments—
(centralized call processing)
The three deployment models are listed below and are all based on the
guidelines of limiting no more than 2500 users per CallManager at any time.
These models are:
■ Isolated deployment
■ Multi-site IP WAN deployments—(distributed call processing model)
■ Multi-site IP WAN deployments—(centralized call processing)
Individual Campus
Deployments
LDAP
Msg Directory
Store
uOne
Gateserver
Call
Manager
Router/GW
IP WAN
V
PSTN
V CallManager
Router/GW PSTN
(Secondary IP WAN
V Voice Path) Router
Site B
IP WAN
(Primary Voice Path)
The above figure is of multi-site WAN deployment that uses Distributed Call
Processing and must adhere to the following design characteristics:
■ CallManager/CallManager cluster at each location (10,000 users maximum
per site)
■ CallManager clusters are confined to a campus and may not span the WAN
■ Primary inter-site voice path over IP WAN, secondary path over PSTN
■ Transparent use of PSTN if IP WAN unavailable
■ Use of Cisco IOS Gatekeeper for admission control of IP WAN
■ Maximum of 10 sites networked across the IP WAN (hub and spoke
topologies)
■ Compressed voice calls supported across the IP WAN
■ DSP resources for conferencing and WAN transcoding at each site
■ Voice/unified messaging components at each site
■ The minimum requirements for voice, video, and data should not exceed
75% of the link/VC’s bandwidth (56kbps is the minimum link speed
supported)
■ The customer has a QoS (Quality of Service)/voice enabled network able to
support voice transport
V
Router/GW
V PSTN IP WAN
Router
Site C
IP WAN
Site A V
IP WAN
Router
The above figure is of multi-site WAN deployment that uses centralized call
processing that must adhere to the following design characteristics:
■ To support Admission Control only one active CallManager is supported at
the central site. May have a second and tertiary CallManager in a cluster of
three as long as all IP phones in the cluster are registered to the same Call
Manager at any given time. This is called a centralized call processing cluster.
■ Maximum of 2500 users can be supported per centralized call processing
cluster in this deployment model (no limit on number of remote sites). May
have multiple centralized call processing.
■ Cisco CallManagers of 2500 at a central site that interconnects via H.323.
■ IP phones only at remote sites without a local CallManager.
■ Call admission control mechanism is “bandwidth limits by location” (hub and
spoke WAN topology).
■ Compressed voice calls across the IP WAN are supported.
■ Manual use of PSTN if IP WAN is unavailable (get a busy signal and dial
PSTN access code).
■ If IP WAN is down then there is no IP phone service unless dial backup exists.
■ Voice/unified messaging and DSP resource components at central site only.
The minimum requirements for voice, video, and data should not exceed 75%
of the link/VC’s bandwidth (56kbps is the minimum link speed supported).
Objective
In this exercise, you will complete the following tasks:
■ Identify the four functional groups of Cisco AVVID
■ Write an example of each functional group
1.
Adaptive
2.
Manageable
3. Open
4.
Example of 1: _______________________________________________
Example of 2: _______________________________________________
Example of 3: _______________________________________________
Completion Criteria
You have completed the exercise when you have filled in the four functional
groups of Cisco AVVID in the figure and listed examples of each functional
group on the lines below.
Objective
In this Exercise you will identify the three recommended Cisco AVVID
deployments.
Task: Label the three figures below with the correct recommended
Cisco AVVID deployment.
Given what you know about the Cisco AVVID Deployment models, identify the
deployment models and list some recommended design characteristics of each
deployment.
Site B
CallManager
V
Router/GW
V PSTN IP WAN
Router
Site C
Site A IP WAN
V
IP WAN
Router
Telecommuter
© 1999, Cisco Systems, Inc. www.cisco.com CIPT—Chapter 2-8
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
uOne
Gateserver
Call
Manager
Router/GW
IP WAN
V
PSTN
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
Site B
IP WAN
Site A (Primary Voice Path)
IP WAN
Router
Site C
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
Completion Criteria
You have completed this exercise when you have identified which Cisco
AVVID deployment the figure represents and listed design recommendations for
each deployment model.
Summary
• The Cisco AVVID system architecture has
four functional groups.
• Convergence of networks has advantages.
• Cisco IP telephony is within the Cisco AVVID
system architecture.
• There are three deployment models for the
Cisco IP Telephony Solution.
Review Questions
Q1) The Cisco AVVID architecture has four functional groups. Which functional
group does the Cisco CallManager belong to?
Q2) The Cisco AVVID end-to-end architecture has a primary and secondary inter-site
voice path. Which is the primary inter-site voice path?
Q3) In the three deployment models (isolated, multi-site IP WAN centralized call
processing, and multi-site IP WAN distributed call processing), what is the
maximum number of users a Cisco CallManager can have registered to it after
failover?
Overview
This chapter describes the primary Cisco IP Telephony (CIPT) components at a
high level. Each component introduced in this chapter will be discussed later in
the course in more detail.
The following topics will be discussed in this chapter:
■ Objectives
■ Visual Objective
■ Call Processing
■ IP Phones
■ DSP Resources
■ PSTN Gateway/Router
■ Voice Messaging
■ Written Exercise
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter you will be able to perform the following tasks:
■ Identify and place the primary CIPT components in a network topology.
■ Define functions of the primary CIPT components.
■ Establish dial tone, given two IP phones, a switched network, and Cisco
CallManager server.
Visual Objective
Voice Messaging/
Applications
LDAP
Msg Directory
Call Processing Store
Campus Infrastructure/
DSP Resources
uOne
Gateserver
Call
Manager
IP WAN
Router/GW
DSP
V
PSTN
The following sections in this chapter provide a brief description of the primary
components of the CIPT solution. Greater detail will be given throughout the
course.
Auto-Attendant/IVR
IPCC
Call/Contact Center
DSP
QoS Enabled L2 Switch DSP Farm/switches QoS Enabled L3 Switch Switches
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -5
Cluster Recommendations
Up to 2,500 Users
AAcluster
clusterof
oftwo
twoCallManagers
CallManagers
•• Single active CallManager
Single active CallManager
•• Dedicated
DedicatedPublisher
Publisheralso
alsoacts
actsas
asaastandby
standby
CM-A Publisher
Primary CallManager
CM-B
User1 - 2500
A cluster of two Cisco CallManagers can support up to 2,500 users. Use one of
the Cisco CallManagers as the active CallManager and the other as the dedicated
backup.
In this example the publisher would be the backup and the subscriber would be
the active “primary” CallManager.
A Cisco CallManager cluster is composed of database and call processing
servers of a CIPT solution. Publisher and Subscriber are terms used for database
issues in a Cisco CallManager cluster, primary, secondary and tertiary are terms
used for call processing and redundancy for IP telephony devices.
Cluster
Cluster
CM-A Publisher
Primary CallManager
CM-B User1 - 2500
Primary CallManager
CM-C User2501 - 5000
Redundancy
Redundancy
CM-D Backup for CM_B & CM-C Group
Group
Publisher
Cluster
Cluster
Primary CallManager
User1 - 2500
Backup
Primary CallManager
User2501 - 5000
Cisco IP Phones
12 SP+
The Cisco IP telephone model 12 SP+ is an IP telephone targeting the busy
office user. This voice instrument supports 12 programmable line and feature
buttons, an internal, high-quality two-way speakerphone, and microphone mute.
The Cisco 12 SP+ also features a two-line LCD display (20 characters per line)
for call status and identification. An LED associated with each of the 12 features
indicates feature and line status and line buttons.
30 VIP
The Cisco 30 VIP voice instrument is a full-featured IP telephone for executives
and managers. It provides 26 programmable line and feature buttons, an internal,
high-quality, two-way speakerphone with microphone mute, and a transfer
Skinny
Skinny station
station (IP
(IP phone)
phone)
1 3 TAPI
TAPI (soft
(soft phone)
phone)
TCP Signaling 5 TCP Signaling
(Port 2000) 2 4 (Port 2000)
6
RTP Audio Stream (UDP Port 16384+)
IP Phone IP Phone
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -8
Note As of Cisco CallManager 2.4, all DTMF from the phone is “out-of-band.”
V = DSP Farm
Router/GW
V
Transcoding
IOS Gatekeeper
CallManager uOne
uOne CallManager Cluster Gateserver
Gateserver Cluster
IP WAN
Router/GW Router/GW
V V
New AS5800
AS5300
Standalone Digital
Gateways DT-24+,
MC3810
DE-30+
Standalone 3600
Analog Gateways
AS & AT
VG200
2600
1750
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -11
There are 20 Cisco voice gateway candidates to choose from. Gateways range
from specialized, entry-level stand-alone voice gateways to the high-end, feature
rich integrated router and Catalyst gateways.
uOne GateServer
G.711 only
Often you may hear the uOne product called the application server and/or the
gate server. Both terms can be useful to understand what it does. The uOne
Gateserver manages message playback, message delivery, and the message
creation process. The server/gateway uses an RTP transport-streaming interface
and runs on Windows NT.
Scaling and reliability can be accomplished by use of multiple uOne GateServers.
There will be more details available later in this course.
DSP
V
PSTN
1
After 3 rings CallManager
sends RTP stream uOne
IP Phones (in real time)
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -13
The voice messaging call flow in the above diagram is described below:
1. After three rings the CallManager sends a RTP stream to uOne.
2. The application server (uOne) performs directory query for the called user.
3. The SMTP message is sent to the message store.
4. The application server sends the message waiting indicator (MWI) of “On” to
the CallManager to illuminate the MWI light on the phone.
Objectives
In this exercise you will complete the following task: match the functional
component with its definition.
Summary
Review Questions
Q1) There are four functional groups within the Cisco IP telephony solution. Which
functional group are the Cisco IP phones a part of?
Q2) The Cisco CallManager is part of the call processing functional group of the
Cisco IP telephony solution. What are the signaling and device control functions
that the Cisco CallManager performs?
Q3) In addition to the PTSN gateway functionality, which services can the Digital
Signaling Processor (DSP) resources perform?
Overview
This section provides you with an understanding of how Cisco IP telephony
devices can use the optional Windows 2000 server service’s Dynamic Host
Configuration Protocol (DHCP) and Domain Name System (DNS) to
communicate with the Cisco CallManager. You will also understand the
relationship between the Cisco IP phones and Cisco Access gateways and the
Trivial File Transfer Protocol (TFTP) server.
This chapter includes the following topics:
■ Objectives
■ Understanding DHCP and TFTP
■ Understanding TFTP
■ Understanding Microsoft DHCP Options
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Identify and chart the flow of a CIPT device with DHCP, DNS, and TFTP.
■ Describe and identify the DHCP and DNS options within Windows 2000.
■ Configure TFTP servers for use with Cisco IP phones and Cisco access
gateways.
The figure shows how a Cisco IP phone or Cisco access device contacts the
Cisco CallManager when you are running DHCP, DNS, and TFTP services
within your network.
1. When you plug a telephone into an Ethernet jack, assuming the prerequisite
infrastructure and a CallManager, the first thing that will happen is the
telephone will request an IP address from a Dynamic Host Configuration
Protocol (DHCP) server. In general, this is the recommended mode of
operation. Static addressing can be supplied to the telephone, and you can
enter the IP address manually, but this would prevent mobility.
Copyright 2000, Cisco Systems, Inc. Understanding DHCP and TFTP 4-3
2. As part of that DHCP request, when an IP address is supplied to the
telephone, it is also possible to supply the address of the TFTP server, or
the CallManager from which the telephone will get its configuration. Once
again, the TFTP server address could be specified manually but this would
limit adds, moves, and changes and remove some of the benefits. This
TFTP server address can be given in one of two forms: either Option 150,
which is what you would recommend, or Option 66 or the Bootstrap
Protocol (BOOTP), which you may be familiar with. BOOTP would not be
recommended, although it is a viable option, since it is already in general
use by other devices already.
3. Once that address has been given, the telephone itself will register with the
CallManager and download its configuration, which can contain a list of up
to five CallManagers that the telephone can use for call control. This
creates an extremely resilient system. You will get your region information
and also the features or functionality that each of your keys will produce for
you.
4. You also receive any new code you are to run. If, for example, the firmware
or the code that each telephone runs is changed, this can be added to the
CallManager. Once restarted, each telephone will automatically reload that
code, once again making maintenance very simple. The telephones can be
configured to auto register.
5. An administrator rolling out the phones would plug each one in and then
assign a number. New entries will appear by Media Access Control (MAC)
address, which is how the CallManager ties the actual instrument to a
telephone number. An alternate, not the normal operation, would occur
when you plug in the telephone; CallManager would automatically give that
telephone a line number, however, this would make things like directories
very difficult to set up.
Copyright 2000, Cisco Systems, Inc. Understanding DHCP and TFTP 4-5
Flowchart of Cisco IP phone connecting to Cisco CallManager
Copyright 2000, Cisco Systems, Inc. Understanding DHCP and TFTP 4-7
Creating and Defining DHCP
Scope
A DHCP scope must be defined for CIPT device registration. The path to DHCP
is Start>Programs>Administrative Tools>DHCP. To create and define a new
scope, select the server you are on and select “New Scope” using a right mouse
click. DHCP scopes can be created, defined or deleted from this DHCP window.
DHCP
DHCPoption
option150
150or 066
or066 oonot
notuse
use both
both
You can enable the IP phones and gateways to access the TFTP server in any
one of the following ways, depending on the device type:
■ Gateways and phones can use DHCP custom option 150 or option 066 (boot
server host name), but not both.
■ Gateways and phones can query CiscoCM1. DNS must be able to resolve
this name to the IP address of the Cisco CallManager server.
■ Phones can receive a static IP.
■ Phones can be configured with the IP address of the TFTP server.
Copyright 2000, Cisco Systems, Inc. Understanding DHCP and TFTP 4-9
Summary
This section summarizes the concepts you learned in this chapter.
Summary
• Cisco CallManager, DHCP TFTP, and DNS
work together.
• The TFTP default server name is CiscoCM1.
• Phones and gateways have an order of
preference they use for selecting the address
of the TFTP.
Review Questions
Q1) The Cisco IP telephony devices (IP phones and gateways) need an IP address.
What do the devices query to get an IP address?
Q2) In order for Cisco IP telephony devices to register with the Cisco CallManager,
they must have configuration files. What do the devices query to get their
configuration files?
Q3) Cisco IP telephony devices need to access the TFTP server. Which DHCP
options are used to notify the devices where the TFTP server is located?
Copyright 2000, Cisco Systems, Inc. Understanding DHCP and TFTP 4-11
5
Overview
Cisco CallManager on the Cisco Media Convergence Server (MCS) is a network
business communications system providing high-quality telephony over IP
networks. Cisco CallManager and the MCS enable the conversion of
conventional, proprietary circuit-switched telecommunication systems to multi-
service open LAN systems.
The following topics are discussed in this chapter:
■ Objectives
■ Primary Functions
■ Hardware
■ Cisco CallManager Administration
■ Installable Components
■ Installation
■ Laboratory Exercises
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Given an MCS-7830 and MCS-7835, identify the hardware components and
operating system.
■ Given an IP telephony network, describe and identify Cisco CallManager
cluster requirements and guidelines.
■ Given a Cisco CallManager Server, configure system parameters in the
Cisco CallManager administration to enable dial tone to a connected Cisco
IP phone.
Primary Functions
• Call processing
• Signaling and device Control
• Features, capabilities, and dial plan
• Operations administration maintenance and
provisioning (OAM&P)
• Programming interface to external voice
processing applications
Note Some functions may be covered later in this course, because they work in
conjunction with other CIPT components.
uOne
Gateserver
1-Call
IP Phone A Setup CallManager
4-Ringback 2-E.164 lookup
IP
WAN
3-Call
6-Connect Setup DSP
RTP Stream 4-Ring V
Router/GW
PSTN
5-Offhook
IP Phone B
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -6
No
NoPicture,
Picture,
yet.
yet.
MCS-7822
MCS-7822 MCS-7830
MCS-7830 MCS-7835
MCS-7835
The Media Convergence Server 7800 series (MCS-7800) are the supported
hardware platforms for Cisco CallManager that provide for scalable hardware
architecture:
■ The Cisco MCS-7822 is intended to be a pilot-test platform as a standalone
server, or a production-level server when two MCS-7822s are deployed in a
primary/backup role.
■ The Cisco MCS-7830 is an integral part of a complete, scalable architecture
for a new generation of high-quality IP voice solutions that run on the
enterprise data network.
■ The MCS-7835 is engineered to run a variety of Cisco AVVID applications,
such as Cisco CallManager and Cisco Unified Open Network Exchange
voice messaging.
MCS-7822
Compaq
Compaq Prosignia
Prosignia 720
720
550MHz
550MHz Pentium
Pentium III
III Processor
Processor
512
512 MB
MB Ram
Ram
Single
Single 9.1
9.1 GB
GB Hard
Hard Drive
Drive
Performance
The Cisco MCS-7822 includes Intel's next-generation Pentium III, delivers 550-
MHz performance, and ships with 512 MB of Error-Correcting Code (ECC)
RAM, extending the high performance you will require to roll out IP telephony
applications.
Availability
In a single-server configuration, the Cisco MCS-7822 lacks the redundant
components that most customers will desire to run the MCS-7822 in a
production environment. Two MCS-7822s operating in a "primary" and
"secondary" mode will provide a robust fail-over mechanism so customers can
run in a production environment. As part of its configuration, each IP telephone
will store the IP address of the primary and secondary server so that if the
primary server fails the phone will get instructions from the secondary server.
The availability of many servers is compromised because of software conflicts
that result when many applications are installed on a single server.
Scalability
The Cisco AVVID architecture allows for a great deal of scalability to meet the
requirements of almost any enterprise. Currently, customers can have a primary
MCS-7830
Compaq
Compaq Proliant
Proliant 1600R
1600R
550MHz
550MHz Pentium
Pentium IIIIII
Processor
Processor
512
512 MB
MB Ram
Ram (Optional
(Optional
upgrade
upgrade toto 11 GB
GB Ram)
Ram)
Dual
Dual 9.1
9.1 GB
GB Hard
Hard Drives
Drives
(Raid 1 mirrored)
(Raid 1 mirrored)
Performance
The MCS-7830 includes Intel's next generation Pentium III, delivers 550-MHz
performance, and ships with 512 MB RAM, with an option of upgrading to 1 GB
RAM, of 100-MHz registered SDRAM, extending the high performance you will
require to roll out current and future Cisco AVVID applications. All of this
power is delivered in a space-saving rack-mountable form factor (5U). The
MCS-7830 is intended to run only Cisco CallManager software.
Availability
Availability, or the percentage of time that a system is available to provide
service, was assumed in old world networks. Availability is a key requirement in
the New World networks Cisco is building today. The high-availability design of
the MCS-7830 will deliver a robust platform for your mission-critical Cisco
AVVID applications. The MCS-7830 comes standard with two hot-plug
redundant power supplies and two redundant 9.1GB SCSI hot-plug hard drives
running RAID-1 disk mirroring to ensure maximum availability. A remote
management board (RMB) is also included to provide a robust fail-safe solution
for server management. The RMB operation is fully independent from the host
hardware (self-contained processor, memory, and battery), host operation system,
and network connection. This high level of independence ensures that regardless
Scalability
Whether you start your Cisco IP telephony network with five telephones or
hundreds, the MCS-7830 server seamlessly allows customers to grow their
network at their own pace. Cisco CallManager may be installed to one or more
MCS-7830 servers. In multi-server environments, the Cisco CallManagers are
logically coupled through an H.323 signaling interface. Individual MCS-7830s
may be backed up by a duplicate, hot-standby MCS-7830, providing complete
call processing redundancy. The Cisco CallManager provides redundancy
through automated fail-over of gateways and phones to secondary MCS-7830s in
the event of primary server failure. Currently, the Cisco CallManager scales to a
single server. The base Cisco CallManager architecture allows for a natural
progression to a scalable network of multiple, redundant MCS-7830s with inter-
CallManager feature transparency, known better as clustering.
MCS-7835
Compaq
Compaq Proliant
Proliant DL380
DL380
733
733 MHz
MHz Pentium
Pentium III
III
Processor
Processor
11 GB
GB Ram
Ram
Dual
Dual 18
18 GB
GB Hard
Hard Drives
Drives
(Raid
(Raid 11 Mirrored)
Mirrored)
Performance
The MCS-7835 features a 733-MHz Intel Pentium III processor, and is
expandable up to 4 GB of 133-MHz registered SDRAM, extending the high
performance you will require to roll out current and future Cisco AVVID
applications. There is hardware RAID support for dual 18.2-GB Ultra2 small
computer serial interface hot-plug hard drives to improve overall system
performance. All of this power is delivered in a space-saving rack-mountable
form factor (3U), smaller than the MCS-7830, designed to save precious rack
space in your data center.
High Availability
Availability, or the percentage of time that a system is available to provide
service, was assumed in old-world networks. Availability is a key requirement in
the New World networks Cisco is building today. The high-availability design of
the MCS-7835 will deliver a robust platform for your mission-critical Cisco
AVVID applications. The MCS-7835 comes standard with a redundant hot-plug
power supply and two redundant 18.2-GB SCSI hot-plug hard drives running
RAID-1 disk mirroring to ensure maximum availability. If a hard drive or power
supply fails, it can be replaced without powering down the server, and the failure
will not affect service. In the case of the SCSI drive, as soon as the replacement
Scalability
Whether you start your Cisco IP telephony network with five telephones or 5000,
the MCS-7835 server allows the customer’s network to grow at a manageable
pace. A MCS-7835 server can serve as a Cisco CallManager server or a Cisco
uOne voice-messaging server. Additional applications are planned for the
platform in the future. As a Cisco CallManager 3.0 server, each MCS-7835 can
handle up to 2500 IP telephones (total number of IP phones dependent on N+1
redundancy configuration). Remote sites can also be interconnected through an
H.323 interface, using an H.323 gatekeeper.
Flexibility
The MCS-7835 is configurable to run either Cisco CallManager software or
Cisco uOne voice messaging software. The MCS-7835 was also designed to run
future Cisco application packages that will become part of the Cisco AVVID
solution. The MCS-7835 has an optional internal 12/24-GB DAT tape drive to
back up critical data, and also offers the flexibility of saving important user data
to a separate server located elsewhere on the IP network.
• Redesigned interface
• Improved configuration pages
• Simplified security for webs
• Scalable to support large sites
• System definition
• System control
• Adding devices (IP phones,
gateways?
• Dial plan administration
The Cisco CallManager administration web pages are designed specifically for
the task of creating and maintaining the configuration database. These tools are
being developed separately and will be available concurrent with or shortly after
FCS.
If reports are an issue, customers can use any report package that connects to
SQL databases (for example, Microsoft Access or Crystal Reports) to create
their own reports.
In no case should customers attempt to update the database directly.
In version 2.x all the web page files for Cisco CallManager were installed under
the default web site root folder (c:\inetpub\wwwroot). The User Web Pages were
a subdirectory of the administration pages. This made setting security on the site
easy for labs, but difficult for production systems.
In Cisco CallManager 3.0, the web files are installed outside the root web for
better security. The user web pages have been broken out into a separate location
to make security easier. Security is setup and maintained using NT’s directory
and file permissions in combination with the permissions for the virtual
directories on the web server. The virtual directories correspond to URLs of
http://hostname/CCMAdmin and http://hostname/CCMUser, respectively (where
hostname is the domain name or address of the web server).
Components
Componentsofofthe
theCisco
CiscoCallManager
CallManager3.0
3.0database
database
are organized into a simple menu structure
are organized into a simple menu structure
The menus are used to organize and navigate the web pages for configuring the
system. Click on a menu name to see contents (click on the name again to hide
the menu). The menu content is organized as follows:
■ System—Items on this menu are used or available for the configuration of
other items throughout the system. For example, the device pools used to
group devices and associate devices with particular defaults.
■ Route Plan—Items used to configure routing and trunking for the system.
This includes setting up partitions, partition (calling) search spaces, route
groups and lists, and so forth. The External Route Plan Wizard is also
available.
■ Services—Processes (applications and services) related to Cisco
CallManager 3.0 run on the same or different machines (nodes) than a Cisco
CallManager.
■ Features—Phone system features such as Call Park and Call Pickup Groups.
■ Devices—Hardware and software devices (phones and gateways) that carry
or terminate calls. Also the keypad templates for phones.
■ Users—LDAP directory items for associating users and phones.
■ Applications—Plug-ins and other external applications that integrate with
Cisco CallManager. For example, the Bulk Administration Tool, Voice Mail,
CDR reporting and other applications that are installed separately from the
main Cisco CallManager installation.
■ Help—The online help for Cisco CallManager and installed components.
When setting up new or expanded systems, the general flow of the configuration
is system, gateways, route plan, services and devices. This is also a good way to
get to know a customer’s system:
■ Have the Cisco CallManagers and Cisco CallManager groups been set up
properly? Check system>servers or Cisco CallManager groups.
■ Have regions and date/time settings been configured?
■ Are locations being used?
■ Are gateways configured with correct port types?
■ Is route plan defined (with or without the External Route Plan Wizard):
— Partitions, calling search spaces
— Route groups, route lists
— Route patterns and filters
■ Are call park and pick up numbers defined?
■ Has the configuration of individual services and devices been set up?
Low-
Low- to
to Medium-Count
Medium-Count items
items
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -18
High-count
High-countitems
itemsare
arelocated
located using
usingaa
separate
separate search page to list relevantitems.
search page to list relevant items.
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -19
Use the search options at the top of the page to create a query for devices.
Phones and users are considered high-count items. Click on the links for a listed
item to edit it, or click on one of its icons to perform actions (copy, delete, reset)
from the list.
In Cisco CallManager Administration, select Device from the tool bar and
Phones from the drop down menu. When you select “Find” without establishing
any search criteria, all registered phones will be listed.
Validating
Validatingand
andupdating
updatingdata
datais
isdone using
doneusing emote
emoteScripting?
Scripting?to
to
access
accessdata
dataon
onthe
theserver
serverwithout
withoutleaving
leavingthe
thecurrent
currentpage.
page.
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -20
Reload Page
Remote scripting is Microsoft’s name for accessing objects and data on a web
server without reloading an entire page.
There are standards under development to make this functionality available in a
non-proprietary way and across platforms.
Remote scripting lets us efficiently provide administrators with immediate
feedback. For example, when an administrator enters the directory number for a
line being added to a phone, we can tell them immediately if that directory
number is already assigned to another device. This brings us closer to the
performance expected in an application.
Supported/Tested Browsers
The Dynamic HTML (for example, menus) and remote scripting require a
browser that supports style sheets, DHTML, JavaScript, and scriptable Java
applets. Currently, these are the browsers we know that meet our requirements.
This will not work on Mac, or IE under UNIX.
Administrators
Administratorscancan
answer
answeraafewfew
simple
simplequestions
questionsto to
create
createaafull-
full-
featured
featuredRoute
RoutePlan
Plan
The Wizard provides a way to set up specific information about the way calls are
handled in the system without having to know all the details for Cisco
CallManager 3.0’s implementation of call routing.
A route plan determines how a call placed from a station in the Cisco
CallManager system is routed to its destination. The External Route Plan Wizard
has been designed to allow a user with a limited amount of experience setting up
route plans to quickly create and assign the items necessary for:
■ Controlling access to long distance calling
■ Provide emergency (911) access to all phones
■ Enabling toll bypass between multiple locations (use private network instead
of PSTN)
■ Integrating the Cisco CallManager system with an existing PBX’s route plan
■ Additional information is shown on the Wizard’s first screen. Note in
particular that the Wizard is for the North American Numbering Plan, and
will not work for sites/customers in locations that require different
numbering plans (for example, Europe, Asia, and so forth).
The Wizard creates all the necessary items, which can then be used to configure
other devices (for example, phones). Items created by the wizard can be
modified, and additional items can be added (for example, additional filters for
blocking 900 services or directory assistance). However, once the items created
by the Wizard are applied to devices or modified, you can no longer delete the
dial plan without first undoing other changes.
Installable Components
• Cisco CallManager
• Cisco TFTP server
• Cisco CallManager database server
(primary or secondary)
• Cisco CallManager web administration
• Cisco IP Streaming Media Application
(Conference Bridge and MTP)
• Cisco Messaging Service
Operating
OperatingSystem:
System:Windows
Windows2000
2000Server
Server
Database
Database Services: SQL Server 7.0 +Service
Services: SQL Server 7.0 + ServicePack
Pack2.0
2.0
DC
DC Directory Service and Supports Cisco Works2000
Directory Service and Supports Cisco Works 2000
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -25
You
Youcannot
cannot install
installpartial
partialsoftware
software pieces.
pieces.For
For
example;
example;Win2k,
Win2k,or or SQL
SQLServer
Server only.
only.
You
Youcannot
cannotinstall
installCisco
CiscoCallManager
CallManager 3.0
3.0 on
on
rogue Win2K install.
rogue Win2K install.
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -26
All files of the installable components CD’s are encrypted and each application
has its own unique license key. Each application’s license key controls the flow
of installation.
You are unable to install partial software. For example, you are unable to install
only a Windows 2000 server or SQL server on a machine. The keys and
encrypted files prevent partial installs of the software.
Because of the unique keys per application and the CD encryption, you are
unable to install Cisco CallManager on a rogue Windows 2000 server
installation.
Note In order to maintain the integrity of the system performance, no other third party
applications can be installed or run on the system.
Application Considerations
• Browsers:
– Must support both JavaScript and Active
Server Pages (ASP)
– Microsoft Internet Explorer 4.01 or later
– Netscape 4.5 or later
• Dynamic Host Configuration Protocol (DHCP)
• Domain Name System (DNS) used for name
resolution when DHCP options provide names
Several utilities are necessary for using Cisco CallManager. The Browser used
must support both JavaScript and Active Server Pages (ASP). The browser must
also be Microsoft Internet Explorer 4.01 or later or Netscape 4.5 or later.
The Dynamic Host Configuration Protocol (DHCP) is used to provide an IP
address lease and the location of the TFTP server. If DHCP is not available, a
BOOTP server may be used.
The Domain Name System (DNS) is required for name resolutions. When a
centralized DNS is used with a distributed clustered environment, a single point
of failure to resolve Domain names could be an issue. If a link to DNS is down,
phones may not be able to resolve CallManager Domain names and without
registration to a CallManager, phones are out of service.
Service Requirements
• DHCP:
– IP address range
– Subnet
– Option 003 efault gateway (router)
– Option 006 NS server (optional)
– Option 015 omain name (optional)
– Option 066 OOTP, or option 150 FTP
server (NOT both)
• DNS only if name resolution services are
required
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -28
Cisco Network Registrar can be used to provide these services from any
supported host. If used, option 150 must be created within the DHCP table since
it is a custom option.
The IP address of the TFTP server may also be placed in the siaddr field of the
DHCP manager. You may choose this if option 066 is already in use and you do
not want a custom option. Some DHCP servers will populate this field with their
own IP address. If this happens, the TFTP server address should be entered in
the siaddr field.
Data Source
• Microsoft SQL Server Publisher/ Glass House
• Database users
should read from the
same source to Backup Backup
which they write
• The Glass House is Client SQL Client SQL
the primary database
with one way
replication Client
Database
Database Directional
Directional Client
Client Computer
Computer
Access
Access Replication
Replication
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -31
The database used is Microsoft SQL Server 7.0 plus Service Pack 2.0. The
database users should read from the same source that is written to. The “Glass
House” is the primary database with one-way replication or directional
replication.
The database writes to the database only occur at the Glass House and Call
Detail Records are not replicated.
Layer boot is the process used by the database to keep in sync. The layer boot
sequence uses the following steps:
1. A backup (subscriber) will read its local registry to find the location of all
databases. It will try to contact the Glass House (publisher) first.
2. Then the subscriber will read the database to see if more servers have been
added.
3. Then the subscriber will write the list of servers back to the registry for the
next boot.
During
During aa failover,
failover, the
the database
database layer
layer prevents
prevents writes
writes
to
to the
the database
database except
except for
for Call
Call Detail
Detail Records.
Records.
© 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0—5-33
The data source on the local machine is hidden so that it will try to use the Glass
House (Glass House = publisher) (read and write) database. If the Glass House is
not available the local machine will try a replicated database on its own machine.
If it does not have a database on the local machine, the local machine will try
other subscribers for a database.
Software
Software Applications
Applications Installed
Installed Automatically
Automatically
Note During installation, the server reboots several times. Do not power off the
server any time during this process, unless instructed. Any unexpected power
interruption during the installation process could prevent proper completion of the
configuration and might prevent the operating system from restarting.
During the installation of the Cisco CallManager and supporting services CDs,
the following components are installed:
■ Cisco CDR Database Monitor service
■ SQL Server 7.0
■ MTS package for DBLR.DLL—used for transactions and security
■ MS DTC (part of Microsoft Windows NT 2000)—used for transactions and
security
■ DBL.DLL and DBLX.DLL
■ Registry settings for boot
These services are installed with the auto install CD.
2.4 Migration
• Requires path to MDB file
• Same machine upgrade requires more
memory
3.0 Migration
• Changes database name
• Three previous versions kept on server
Migration from Cisco CallManager 2.4 to 3.0 it requires a path to the MDB file.
The Migration from 2.4 to 3.0 does require a memory upgrade if using a MCS-
7820 to 512 MB RAM or MCS-7830 requires 512 MB to 1 GB RAM.
If migrating from a Cisco CallManager 3.0 to Cisco CallManager 3.0 the
database name changes.
Three Methods
•• Control
Control Center
Center in
in Cisco
Cisco CallManager
CallManager
Administration
Administration
•• Windows
Windows Control
Control Panel
Panel for
for Services
Services
•• Reset
Reset button
button in
in Cisco
Cisco CallManager
CallManager
Administration
Administration
Stopping
StoppingCisco
CiscoCallManager
CallManagerstops
stopscall
callprocessing
processingfor
forall
alldevices
devices
controlled
controlled by that Cisco CallManager. If you have not configuredaa
by that Cisco CallManager. If you have not configured
backup
backupCisco
CiscoCallManager
CallManagerfor
forthose
thosedevices,
devices,any
anycalls
callsin
inprogress
progress
on those devices are dropped.
on those devices are dropped.
Stopping Cisco CallManager stops call processing for all devices controlled by
that Cisco CallManager. If a backup Cisco CallManager is not configured for
those devices, any call in progress on those devices is dropped. There are the
following three methods for stopping a Cisco CallManager:
■ Control Center in the Cisco CallManager Administration
■ Windows control panel for services
■ Reset button in Cisco CallManager Administration
Note If a screen on the CallManager Administration page has a reset button, you only
need to reset the device. If the screen does not have a reset button, you must restart the
Cisco CallManager.
Troubleshooting
(Version Information)
Details
Details button
button onon About
About
page shows database
page shows database
connection
connection andand DBL
DBL
version
version information
information
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -41
When supporting a customer, the first thing to check is the information listed in
the Details. This includes system and Cisco CallManager administration
versions, database connection information, and DBL versions. Errors in
displaying this information can be a sign of errors in the general system setup or
configuration.
If the database connection information is missing, refresh the page and check
again. If the information is still missing, there’s a good chance that a problem
exists in the connection to or configuration of the Cisco CallManager(s) and
SQL server(s).
If the DBL information is missing, there is a problem with the DBL. Try re-
registering the DBL DLLs and refreshing MTS components.
Remote
Remote Scripting
Scripting errors
errors
may trigger additional This
This information
informationis
isneeded
needed
may trigger additional for debugging errors
error
error messages
messages for debugging errors
? 2000, Cisco Systems, Inc. www.cisco.com CIPTv2.0? -42
In the unlikely event that there are bugs in the code for the Cisco CallManager
3.0 Administration web pages, an error during a remote scripting call can cause
one or more dialogs to be displayed. The information that is useful for
debugging these errors is the message that indicates the page on which the error
occurred. Other messages that appear at simultaneously can be ignored.
Examples of these extra error messages are:
■ Page invoked does not support remote scripting
■ A Runtime Error has occurred, for example; Do you wish to Debug?
Line 482
Error: ‘xyz’ is not an object (or “Error: ‘xyz’ is undefined”)
Debugging information may appear in a window as shown in this figure, or it
may be shown in a slightly different form in a JavaScript alert (dialog box). In
some cases the error message will appear on the page itself. If there is an error
on the page itself, the other messages that pop up in dialogs are probably side
effects of the original error. Always look for error messages in the browser
window first before working on other error messages.
Summary
The MCS-7830 and the MCS-7835 are the hardware platforms for the Cisco
CallManager. Each server is a high availability server that comes with the
following software:
■ Cisco CallManager and all of its components and plug-ins
■ Windows 2000
■ SQL 7.0
■ SQL 7.0 Service Pack 2
■ Compaq Remote Insight Manager
■ Windows 2000 Resource Kit (components)
■ Executive Software Diskeeper Server (defrag software)
Cisco CallManager Administration is used for setting parameters, adding and
configuring devices, and updating user information.
Inter-cluster communication is provided via H.323 that permits a subset of the
features to be extended between clusters.
Review Questions
Q1) There are six installable components that come with an order of Cisco
CallManager. List four of the six.
Q3) In a Cisco CallManager cluster there are publishers and subscribers for the
database entries. Does the Glass House (publisher) do a two-way database
replication?
Overview
Cisco CallManager Services are the services that are optionally enabled on every
Cisco CallManager in a cluster. These services provide configuration files,
connecting to a third party voice mail system, and conferencing and media
terminating functions.
In this chapter, the following topics will be discussed:
■ Objectives
■ Cisco TFTP
■ Cisco Messaging Interface
■ Cisco IP Voice Media Streaming Application
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a Cisco IP telephony solution, identify and describe where and how
the Cisco TFTP fits in to the network topology.
■ Given a list of service functions, identify and describe the functions of the
Cisco IP Media Streaming application.
■ Given a case study, identify when and when not to use the Cisco IP Media
Streaming application.
■ Given a Cisco CallManager Server and a third party voice mail system, list
the steps used to install and configure the Cisco Messaging Interface.
Device
DevicePool
Pool Cisco
Cisco
CallManager
CallManager
Group
Group
CCM1
CCM1
TCP
TCPconnection
connectionport
port Cisco
CiscoCallManager
CallManagerList
List
SEP
SEP--2000
2000 AA??CCM1
CCM1
SAA
SAA--2001
2001 BB??CCM2
CCM2
SDA
SDA--2002
2002 CC??CCM3
CCM3
IfIfthe
thedevice
deviceis
isaa7960,
7960,button
buttonURLs
URLscan
canbe
bespecified
specifiedin
inDevice
Device
Configuration.
Configuration. If a 7960’s URLs are blank, the enterprisevalues
If a 7960’s URLs are blank, the enterprise valuesare
areused.
used.
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -6
Telephone Boot
22 Phone 44
Phonegets
gets Phone
Phonegets
gets
TFTP
TFTP Address
Address Load
LoadID
ID
DHCP Cisco
CiscoCallManager
CallManager
Cisco
CiscoIP
IPPhone
Phone
Phone 33 55
Phonegets
gets.cnf
.cnf IfIfload
loadchanges,
changes,Phone
Phonegetsgets
from TFTP
from TFTP new
newexecutable,
executable,or
orelse
elsethe
the
phone
phonegets
getsaaring
ringlist
list
TFTP
TFTPServer
Server
11
TFTP
TFTPBuilds
Buildsfiles
filesfrom
from
information
information indatabase
in database
Database
DatabaseServer
Server
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -7
Skinny devices typically get their IP configuration and the network address of
the TFTP server from the DHCP server (see NT help on DHCP options). Some
devices allow the TFTP server to be set locally.
The device requests a MAC-based configuration file from the TFTP server.
The device will use the configuration file to make a TCP connection to the
highest priority Cisco CallManager in the list.
Once the device has connected and registered with a Cisco CallManager, the
Cisco CallManager will tell the device which executable version to run. If the
specified version does not match the executing version, it will request the new
executable from the TFTP server and reset itself.
Once a telephone is ready to make a call, it will request an available ringer list
from the TFTP server. If the telephone user changes the ring type, the new ring
type will be sent from the TFTP server.
Database
DatabaseLayer
Layer–– TFTP
TFTPChange
Change Performance
Performance
Monitor (Aupair)
Monitor (Aupair) Notification
Notification Monitor
MonitorInterface
Interface
Database
DatabaseLayer
Layer TFTP
TFTPService
Service(Build
(Build SDI
SDI
--DLL
DLL and
andServe
ServeFiles)
Files)
Cisco
CiscoTFTP
TFTP Service
ServiceControl
Control
Package Winsock
PackageView
View Winsock Manager
Manager
Database
DatabaseLayer
Layer–– TFTP
TFTPChange
Change Performance
Performance
Monitor
Monitor(Aupair)
(Aupair) Notification
Notification Monitor
MonitorInterface
Interface
Database
DatabaseLayer
Layer TFTP
TFTPService
Service(Build
(Build SDI
SDI
--DLL
DLL and
and ServeFiles)
Serve Files)
Cisco
CiscoTFTP
TFTP Service
ServiceControl
Control
Package Winsock
PackageView
View Winsock Manager
Manager
Inter-Cluster Communication
Database
Database TFTP
TFTP
Layer
LayerDLL
DLL Service
Service
TFTP
TFTPChange
Change
Database
DatabaseLayer
Layer Notification
NotificationDLL
DLL Database
Database
Monitor
Monitor(Aupair)
(Aupair) Layer
LayerDLL
DLL
TFTP
TFTPChange
Change Cloud TFTP
TFTPChange
Change TFTP
TFTP
Notification
NotificationDLL
DLL Notification
NotificationDLL
DLL Service
Service
Database
Database TFTP
TFTPChange
Change
Layer
LayerDLL
DLL Notification
NotificationDLL
DLL
TFTP
TFTP Database
Database
Service
Service Layer
LayerDLL
DLL
The Cisco TFTP Change Notification DLL must exist on both the database
server and where the Cisco TFTP server exists. The Change Notification DLL
provides call-backs to the Database Monitor. Notifications are sent from the
database server node to the TFTP server node using UDP. The TFTP server
node receives the notification on a port specified in the database.
Device and Cisco CallManager changes are sent to all the TFTP servers
immediately. Non-enterprise wide process configuration changes are debounced
then sent to that particular server. Debouncing means if several changes of the
same type occur in a specified amount of time the notification is delayed until
changes stop occurring for that period.
Enterprise wide process configuration change, device pool changes, and call
manager group changes are debounced in a similar way but notifications are sent
to all TFTP servers.
Multi-Cluster Configuration
Cluster
Cluster11
Cisco Cisco Cisco IP Router/
CallManager CallManager Phones Gateway
TFTP Server/ Data
Data
Cisco
CallManager
Alternate
Alternate Database Server
Paths
Paths IP Network
Option
Option
150
150
Data
Data
TFTP Server/ Cisco
DHCP CallManager
Database Server
Cluster
Cluster22
Cisco Cisco Cisco IP Router/
CallManager CallManager Phones Gateway
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -11
Every Cisco CallManager could have its own Cisco CallManager group and that
Cisco CallManager will be the primary Cisco CallManager. Then assign devices
to the appropriate Cisco CallManager group using device pools based on
network topology.
Specify alternate paths if multiple clusters are trying to share configuration files.
Disable file deletion if multiple cluster’s TFTP servers are sharing a single
network drive. A single Cisco TFTP server in a cluster builds all the device
configuration files, and a DHCP server can only point to one TFTP server for a
scope. Within seven minutes, 10,000 telephones should transfer. Server
installation and device pool configuration will be covered in detail later in this
course.
Monitoring and
Troubleshooting
It is a common misconception that if Cisco TFTP is down, the phones will not
boot. Devices will persistently store their configuration and executable so they
will operate even it TFTP is down. The version of the Cisco TFTP can be
helpful when monitoring and troubleshooting Cisco TFTP. The version of the
Cisco TFTP server can be found by right clicking on the ctftp.exe file in the bin
directory.
• PerfMon
• EventLog
• CiscoWorks 2000
• Local log files
• Trace File
The tools for monitoring and troubleshooting Cisco TFTP are listed below in
order of the priority line of defense:
■ Performance Monitoring (PerfMon)
— First line of defense and to open go to Start>Programs>Administrative
Tools>Performance.
— If all counters are zero, the service is stopped.
■ EventLog
— Second line of defense and to open go to
Start>Programs>Administrative Tools>Event Viewer>Application Log.
— Even if a service (including TFTP) cannot read the database (where it
gets trace configuration), it will add errors to the event log. This is the
only place this kind of error will appear.
■ CiscoWorks
— Great for getting an enterprise wide view.
— Receives events similar to event log with some differences.
■ Local log files
— Provide the greatest level of detail.
— Often times the files will only be understood by development engineers.
■ Trace File is enabled through Cisco CallManager Administration and user
masks are turned on and the trace is written to a file at the path of; My
Computer>Program Files>Cisco>Trace>CCM.
PerfMon is the first line of defense for monitoring and troubleshooting the
PerfMon Keys are defined below:
1. HeartBeat should increase once a second.
2. TotalTftpRequests increment twice per 7960 boot (.cnf and ring list) and if
the phone is requesting a custom ring the increment will be three per 7960
boot.
3. TotalTftpRequestsLocal increment twice per 7960 boot (.cnf and ring list).
4. Non-zero TotalTftpRequestsNotFound represents a problem (if not auto
registering).
5. Non-zero TotalTftpRequestsAborted represents a problem.
6. TotalTftpRequestsOverflow implies the maximum simultaneous requests
was exceeded. That is not necessarily a problem.
7. If only TotalTftpRequestsOverflow is going up and
TotalTftpRequestsLocal is not going up for more than a minute, there is a
problem.
8. Lots of TotalSegmentsSent without TotalSegmentsAcknowledgeds may
imply the device has not got back to us.
The EventLog is the second line of defense for monitoring and troubleshooting
Cisco TFTP. The source of the EventLog is Cisco TFTP. Because of clutter in
the output from EventLog, it can be more difficult to use. If this is making
testing difficult, configure the event level for “Notice” or higher. Cisco TFTP
may put entries in the EventLog on boot until the database is up and running.
The local log files provide the greatest level of detail and often times the files
will only be understood by the development engineer.
The IP address or the device name can be used to find the occurrence of the
request or the disposition of that request. That device name can be tracked back
to the building of the file, which shows the device pool and model. The device
pool and model can be tracked back to the building of the configuration file
prototype, which will list the network address of the CallManagers and the TCP
connection port.
C++ class and routine name are included with most trace lines. Most routines
associated with the serving of a particular request, include the thread id in a
standard format.
Third party voice mail machines traditionally link to PBXs via ordinary POTS
lines. Cisco CallManager supports this mode of operation. Normally this
involves two types of calls to the VM system:
1. Direct calls from users wanting to check their messages.
2. Calls that were forwarded from stations that were busy or did not answer.
With just a POTS connection, the voice mail system won’t know anything about
the source or destination of an incoming call. In this unintelligent mode, callers
have to use their DTMF keypads to tell the VM system who they are attempting
to reach or what mailbox they would like to access. This is bad.
Fortunately, the Nobel Prize winning team of researchers at Bellcore were able
to come up with a solution to this problem. Bellcore Technical Reference TR-
NWT-000283 released in 1991 details a specification called the Simplified
Message Desk Interface (SMDI).
SMDI defines a way for a PBX or other phone system to give VM systems all
the information they need to intelligently process incoming calls. Every time the
PBX routes a call over the POTS interface, it sends an EIA/TIA-232 message to
the VM system that tells it: the POTS line it is using, the type of call it is
forwarding, and information about the source and destination of the call.
In addition, the VM system can supply the PBX with messages used to turn
message waiting indicators on and off. Each of these EIA/TIA-232 messages are
Message
MessageWaiting
WaitingIndicator
Indicator (MWI)
(MWI)
Or
Or
Messages
MessagesButton
Button(Cisco
(CiscoIP
IP7960)
7960)
Pressing the MWI button on a Cisco IP phone (12 SP+ or 30 VIP), or the
Messages button on a Cisco IP phone 7960 results in a call being routed to the
voice mail system. While this operation is part of the big picture surrounding
CMI, it actually has nothing to do with CMI. It is simply a feature of
CallManager that is assigned in the keypad and with directory numbers of the
voice mail system.
Installing CMI
CMI
CMI is
is installed
installed from
from the
the main
main
Cisco CallManager install
Cisco CallManager install
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -22
The actual installation process for CMI is simply a matter of selecting the check
box in the master installation program. This takes care of copying the CMI
executable to the server in question, installing it as a Windows 2000 NT service
and registering its performance monitor counters.
After Installation of CMI, you can verify that it is up and running after the server
has restarted. To do this:
■ Invoke the Windows 2000 Services Manager, and look for the service. It
should be Started.
■ To open Services go to Start>Programs>Administrative Tools>Services.
■ If the Cisco Messaging Interface is not showing “Started”, right click on
Cisco Messaging Interface (as shown above).
■ Select start.
■ To change Startup Type, right click on the Cisco Messaging Interface
■ Select properties and select the Startup Type of Automatic, Manual or
Disable.
Route
Route aa group
group of
of POTS
POTS ports
ports to
to
the
the VM system. This can be
VM system. This can be
done
done with
with an
an AS-X
AS-X oror VG-200.
VG-200.
At this time H.323 interfaces
At this time H.323 interfaces
are
are NOT
NOT supported.
supported.
Cisco
Voice Mail System
CallManager
Connecting to the voice mail system can be done with any sort of POTS port(s).
In order to work properly with CMI, control of the POTS ports needs to be
accomplished with either the skinny protocol or MGCP. (H.323 devices don’t
identify the specific line being used from a group of ports, which means CMI
can’t tell the VM system which port is being used for an incoming call.)
Configure
Configure the
the group
group of
of ports
ports as
as aa Route
Route
Group, NOT as individual DNs.
Group, NOT as individual DNs.
Once the ports are defined, create a route group that uses all the ports, then a
route list that contains the group. The final step is to create a route pattern that
creates a DN that is routed to that list.
By selecting the device from the left column and entering the route group name
and updating, the device has been assigned to the route group.
That route pattern number is then the DN for your voice mail system.
Check
Check VM
VM Specs
Specs for
for choice
choice of
of
normal
normal or
or null
null modem
modem cable.
cable.
When connecting serial ports between two different PCs, normally a null modem
cable is needed. If the VM machine runs on a PC platform, that is what should
be used. If the VM system is running on proprietary hardware, consult the
manufacturer’s documentation for details on what sort of cable to use.
When using a good breakout box, verify cabling setup by ensuring that valid
EIA/TIA-232 levels are present on pins 2 and 3 of either a 9-pin or 25-pin
connector.
Configuring the
Software MI
Use
Usethe
theCisco
CiscoCallManagerAdmin
CallManagerAdminweb
webpage
pagetotocreate
create
the
theservice
serviceparameters
parameterson
onthe
theappropriate
appropriateserver
server
On the Admin web page, pull down the Services menu item and select Cisco
Messaging Interface. (Create a new service if necessary at this point.) This
brings up the service parameters page. These service parameters contain all the
information used to actually configure the CMI service. Understanding the
values used for these parameters is all that is needed to get CMI working
properly.
• CallManagerName
• BackupCallManagerName
• VoiceMailDN
• VoiceMailPartition
• RouteFilter
• DialingPlan
In order to work properly, CMI has to intercept all calls that are routed to the
VM system. Doing this requires the assistance of a Cisco CallManager, as well
as a description of the VM directory number.
CMI actually has the names of two Cisco CallManagers: a primary and a backup.
If the primary goes down for any reason, CMI will use the backup to intercept
calls to the VM box.
Intercepting calls to the VM requires the DN of the route pattern for the voice
mail ports, as well as the partition, router filter, and dialing plan for the route
filter.
All of these parameters found in the drop down menu Param need to be entered
manually—none of them are done automatically. When the Service Parameter is
configured it will show up in the Configured Service Parameters drop down
menu.
• SerialPort (COM1)
• BaudRate (9600)
• Parity (Even)
• DataBits (7)
• StopBits (1)
These parameters are used to configure the serial port that CMI uses to
communicate with the voice mailbox. Each of them has a default value, which is
shown above. The COM port being used will be determined by the server
hardware. The communication parameters will probably be determined by the
VM system hardware. The default values match those given in the SMDI
specification, but many systems will elect to user higher baud rates.
Note These settings are the most commonly used, but be sure the check all settings.
• OutputDnFormat (%010s)
• OutputExternalFormat (%010s)
• prefix%ns xample: 972%4s
These parameters are used to format the directory numbers sent to the voice mail
machine. These formats are used to convert our Directory Numbers (DNs) to
mailbox numbers.
The formatting string is passed to a C function called sprintf(). This function has
a huge variety of things it can do with a directory number in order to convert it
to a mailbox number, but we generally will only use it to do two things:
determine the width of the output string; and pre-pend a prefix to the mailbox
number.
Based on the North American Numbering Plan (NANP), the formatting string by
default is “%10s,” which tells CMI to format the DN into a field 10 characters
wide, padded with spaces. Change the “10” to any other numeric value will
change the width of the field to the designated value. The width applied here
doesn’t include the characters in the prefix.
If you want your VM machine to pad DNs with ‘0s’ instead of spaces, you
modify the numeric value to have a leading 0, like this: “%010s.”
Finally, any characters you place ahead of the percent character will just be
prepended to the string. In the example shown above, a DN of 1234 would be
formatted as 9721234.
Most numbers passed to the VM are formatted using OutputDnFormat. However,
calling party DNs that are seven digits or longer are formatted using
OutputExternalFormat. Why? This allows you to protect a VM against
foolishness caused by outside lines. Many voice mail machines keep track of
who the calling party is on a given call. This allows the owner of a mailbox to
return calls or send response messages. But we have found that some VMs get
confused when Caller ID gives them an outside number that looks as if it might
have come from the inside. In those cases, changing OutputExternFormat to
something like “0” can often be enough to fix the problem.
InputDnSignificantDigits (10)
Example:
Example:
IfIf InputDnSignificantDigits
InputDnSignificantDigits is
is set
set to
to 44
A
A mailbox
mailbox number
number of of 9721234
9721234 is
is
converted
converted to
to aa DN
DN of
of 1234
1234
Note There is no provision for stripping digits other than leading ones.
MwiSearchSpace
• Tells CMI what partitions the VM users
are in
• Example:
PartitionA:Managers:PartitionB
VM machines can use the SMDI interface to turn MWI lamps on and off.
However, the interface definition only provides the ability to pass a single
numeric mailbox number as a parameter.
Under CM, stations are defined not only by their DN, but also by their partition.
So turning on a lamp might require a partition as well as a station. This argument
tells CMI where VM users can be found.
VoiceMail
VoiceMail
This
This parameter
parameter tells
tells CM
CM what
what DN
DN to
to call
call
when
when the
the MWI
MWI button
button isis pressed
pressed
Although this CM parameter isn’t actually part of CMI, it has a direct effect on
VM users. Normally, when the VM turns on the MWI lamp on a phone, the user
will simply press the button to call the VM and begin listening to messages.
When the user presses the MWI button, CM looks at its service parameter called
VoiceMail to determine where to route the call. This parameter needs to be set
up in each CM that is supporting VM users.
Normal Operations
• Verify that CMI is running using the Windows
2000 NT Service Manager
• Monitor with Performance Monitor
Most serious errors in the operation of CMI will be reflected with an error
message in the application event log. If the CMI is not working at all, this should
be the first place to go.
The two most common problems that keep CMI from working are the failure to
open the serial port, and problems intercepting the voice mail DN.
The figure above is an example of a detailed trace log. The detailed trace log
tends to be a bit cluttered, but with a careful read it will usually highlight the
source of any difficulties.
Trace is started from the Cisco CallManager Administration and from the menu
go to System>Trace. It is recommended to turn on user mask 3-13.
Media Termination
Point Device Mixer
Register/Unregister
RTP Streaming
Installation
The installation program will automatically add this device, add only if installing
the Media application manually.
The following are the required inputs:
■ Device Name—used for documentation and identity
■ Device Pool—logical grouping
■ Server Name—name of the Cisco CallManger or server MTP is running on
■ Endpoint count—divided by two by the CallManager because there are
always at least two end points per MTP call
■ Orphan Stream Timeout—the number of seconds that the active calls
continue streaming after a connection is lost with a CallManager
■ Run Flag—allows the MTP functionality to be disabled without removing
the device
After adding the device it will then show up in the left box.
The installation program will automatically add this device. Only add it by
installing the Media application manually.
The Cisco CallManager divides the endpoint count by three because there are
always at least three end points per conference bridge call.
Orphan Stream Timeout is the number of seconds that the active calls continue
streaming after a connection is lost with a Cisco CallManager.
Run Flag allows the conference bridge functionality to be disabled without
removing the device. Be aware of the conference bridge parameters selection.
To get to this screen select the Conference Bridge Parameters option from the
Conference Bridge Configuration screen.
On this screen, select the device pool, then for each Cisco CallManager that is
defined in the device pool, set the Ad Hoc and Meet Me parameters.
Voice summing occurs in software on the server and only three voices can be
heard simultaneously.
Monitoring and
Troubleshooting Tools
• Performance Monitor
• Event log
• Windows 2000 Service Manager
• Cisco CallManager trace
IfIfaahardware
hardwaretranscoding
transcodingapplication
applicationor
orconference
conferencebridge
bridgeisis
registered
registeredwith
withthe
thesame
sameCisco
CiscoCallManager
CallManageras asthetheMedia
Mediaapplication
application
then
thenthe
theMedia
Mediaapplication
applicationdevice
deviceis
isdisabled.
disabled.IfIfthe
thehardware
hardware
resource un-registers or is shut down the Media application
resource un-registers or is shut down the Media application
resources
resourceswill
willbe
beunavailable
unavailableuntil
untilthe
thedevices
devicesarearereset.
reset.
The monitoring and trouble shooting tools for the Cisco IP Voice Media
Streaming application are from the Windows 2000 server and Cisco
CallManager. The following are the tools used to monitor and troubleshoot:
■ Performance monitor—used to see if the Cisco CallManager has the Cisco
IP Voice Media Application resources available for use.
■ Event log—used to see any Cisco IP Voice Media Streaming application
entries.
■ Windows 2000 Service Manager—used to verify that the Cisco IP Voice
Media Streaming application service and device driver are running.
■ Cisco CallManager Trace—is used to see what the Cisco CallManager
thinks is happening.
If hardware transcoding application or conference bridge is registered with the
same Cisco CallManager as the Cisco IP Voice Media Streaming application,
then the Media application is disabled. If the hardware resource un-registers or is
shut down the Media application resources will be unavailable until the devices
are reset.
Event log is a monitoring and troubleshooting tool of the Windows 2000 server
and can provide details about events related to the Cisco IP Voice Media
Streaming application.
To open it go to Start>Programs>Administrative Tools>Event
Viewer>Application Log. Right click on an event and select properties to get an
expanded view of the event.
The Windows 2000 Service Manager is used to verify that the Cisco IP Media
Streaming application service and driver are running.
To open it go to Start>Programs>Administrative Tools>Computer
Management>Services.
The detailed trace log tends to be a bit cluttered, but by reading it carefully it
will usually highlight the source of any difficulties. In Cisco CallManager
Administration go to the Service in the tool bar and select Trace from the drop
down menu. Set the level to detailed with all mask bits turned on and make sure
the EventLog check box is selected for entries to be placed into the event log.
Select the file option and that a valid filename/path is entered. After making any
changes the Update button must be selected for the changes to take affect.
The following page includes samples of trace log files.
Sample
Sampleof
ofdatabase
databaseconfiguration
configurationparameters
parameters
Cisco
CiscoMedia
MediaApp|-->CIpVMSMgr::ReadConfiguration
App|-->CIpVMSMgr::ReadConfiguration
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationMTP
MTPDeviceName
DeviceName==MTP_dls2-cm118-
MTP_dls2-cm118-
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationMTP
MTPServerName[0]
ServerName[0]==dls2-cm118-app1,
dls2-cm118-app1,Port
Port==2000
2000
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationMTP
MTPNumber
NumberofofCalls
Calls==4848
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationMTP
MTPOrphaned
OrphanedStream
StreamTimeout
Timeout(sec)
(sec)==300
300
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationMTP
MTPRun
RunFlag
Flag==11
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationCFB
CFBDeviceName
DeviceName==CFB_dls2-cm118-
CFB_dls2-cm118-
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationCFB
CFBServerName[0]
ServerName[0]==dls2-cm118-app1,
dls2-cm118-app1,Port
Port==2000
2000
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationCFB
CFBNumber
NumberofofParties
Parties==4848
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationCFB
CFBOrphaned
OrphanedStream
StreamTimeout
Timeout(sec)
(sec)==300
300
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::ReadConfiguration
CIpVMSMgr::ReadConfigurationCFB
CFBRun
RunFlag
Flag==11
Cisco
CiscoMedia
MediaApp|<--CIpVMSMgr::ReadConfiguration
App|<--CIpVMSMgr::ReadConfiguration
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -51
The above samples of the trace of Media App Startup and database configuration
parameters are small snapshots of the entire trace and highlight the parts of the
trace we are most concerned with when troubleshooting or gathering information
for troubleshooting.
Sample
Sampleof
ofRegistered
RegisteredDevices
Devices
Cisco
CiscoMedia
MediaApp|-->CIpVMSMgr::TimerCheck
App|-->CIpVMSMgr::TimerCheck
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::TimerCheck
CIpVMSMgr::TimerCheckOne
OneSecond
SecondCheck
Check
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::TimerCheck
CIpVMSMgr::TimerCheckMtp
MtpCMgr[0]
CMgr[0]==ST_REGISTERED
ST_REGISTERED
Cisco
CiscoMedia
MediaApp|
App| CIpVMSMgr::TimerCheck
CIpVMSMgr::TimerCheckCfb
CfbCMgr[0]
CMgr[0]==ST_REGISTERED
ST_REGISTERED
Cisco
CiscoMedia
MediaApp|<--CIpVMSMgr::TimerCheck
App|<--CIpVMSMgr::TimerCheck
The above samples of the trace of Unregistered Devices and Registered Devices
are small snapshots of the entire trace and highlight the parts of the trace we are
most concerned with when troubleshooting or gathering information for
troubleshooting.
Summary
The Cisco Trivial File Transfer Protocol (Cisco TFTP) is a Windows NT 2000
service. The Cisco TFTP service builds configuration files from information
found in the database. Cisco TFTP serves configuration, executable, and ringer
files consistent with ITU RFC 1350. Cisco TFTP allows executables to be
updated automatically.
The Cisco Messaging Interface allows Cisco CallManager to connect to third-
party voice mail systems using the POTS interface with SMDI.
The Cisco IP Voice Media Streaming application supplies software MTP and
conference bridge resources for a Cisco IP telephony solution. This can be used
if there are no hardware MTP (transcoding)/conference resources in a CIPT
solution.
Review Questions
Q1) If the DHCP can only point to one Cisco TFTP Server, why would there be a
need for more than one Cisco TFTP?
Q2) When using Cisco Messaging Interface to connect to a third party voice mail and
hardware is involved, should the group of ports used for voice messaging be
configured as individual directory numbers or a route group?
Q3) If a Cisco CallManager has the Cisco Voice Media Streaming application
running for software MTP/conferencing and hardware transcoding/conferencing
resources configured, which does the Cisco CallManager use, hardware or
software?
Overview
A dial plan is essentially the “front end” that allows users to dial one another.
The goal of a successful dial plan is to provide diverse call routing and provide
for ease of dialing for users. Often customers require abbreviated dialing as well
as supporting redundant paths that are transparent to the calling party. The dial
plan in Call Manager 3.0 is enhanced to allow for greater scalability, flexibility
and ease of use. Tighter integration of Call Manger and IOS Gateways will allow
for larger AVVID deployments.
This chapter includes the following topics:
■ Objectives
■ Dial Plan Architecture
■ Special Dial String Considerations
■ Configuring Dial Plan Groups and Calling Restrictions
■ Campus and Dial Plan Guidelines and Considerations
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Given a list of components of the dial plan architecture, identify and
describe the functional components of the dial plan architecture.
■ Given a list of design guidelines for dial plan architecture, identify and
construct a dial plan.
■ Given a list of dial string considerations identify the special dial string
considerations described in this chapter.
■ Given a case study and calling characteristics, configure dial plan groups
and calling restrictions.
V
PSTN
Philadelphia
(215) 555-XXXX
(408) 526-XXXX 5 Digit Internal Dialing
5 Digit Internal Dialing
Primary Voice Path
IP WAN Strip ? 2? and deliver
61111 to remote Call Manager
The figure above depicts the goal of a well-designed dial plan where voice calls
transparently use the IP WAN as the first choice and use the PSTN transparently
to the user if the IP WAN is down or unavailable.
CallManager
IP
WAN
1002 215-555-XXXX
V
Router/GW
PSTN
1001
1000
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -5
The CallManager’s dial plan architecture is setup to handle generally two types
of calls:
■ Internal calls to IP phones registered to the CallManager cluster itself
■ External calls via a PSTN gateway or to another CallManager cluster via the
IP WAN
The dial plan for internal calls to IP phones registered with a CallManager
cluster is fairly simple in the fact that when an IP phone is initially configured it
is assigned a phone number and the IP phone maintains that number wherever it
resides. Whenever the IP phone registers with the CallManager cluster it
effectively updates the CallManager cluster dynamically with its new IP address
while maintaining its same phone number. The internal dial length (number of
digits dialed) for internal calls may be configured as desired. Note that not only
IP phones may be reached in this manner. Other devices that register with
CallManager and maintain a DN (Directory Number) can include soft phones,
and analog phones attached to MGCP/skinny based gateways.
When configuring the CallManager to handle external calls then the use of the
route pattern is required. The route pattern is in most cases used for directing
calls out to a PSTN gateway or in the case of an IP WAN call to a remote
CallManager. The CallManager 3.0 dial plan architecture is a three tiered
decision tree that allows for multiple routes to be taken for a given dialed
number as well as digit manipulation based on the customer network
V V
IP WAN PSTN
Devices assigned in Route Groups
A
1. Gateways
2. Remote Call Managers CallManager Remote
Cluster Site
In the Cisco CallManager interface, you will go to the Route Plan heading and
select Route Group, Route List, or route pattern to configure the route pattern.
1. Devices
2. Route group
3. Route list
4. Route pattern
The order you would configure your route pattern is shown in the following list:
1. Devices
2. Route group
3. Route list
4. Route pattern
Defining H.323 GW
as an nter-Cluster Trunk
(Remote Call Manager)
Enabling device as
Gatekeeper Controlled
Gatekeeper IP
Address
The figure above identifies the device configuration characteristics for a remote
CallManager. The remote CallManager needs to be defined as an H.323 gateway
in an Inter-Cluster Trunk. The device name is the remote H.323 device that is the
CallManager. The device pool is used to define the codec used for calls to this
device, remote CallManager. The Gatekeeper Registration has the device and
remote CallManager is enabled as Gatekeeper Controlled. In the Gatekeeper
Name area, you will enter the IP address of the gatekeeper and primary
CallManager. Also in this example the Calling Search Space is defined as
unrestricted. The Calling Search Space is used to define where this device may
call.
Route Group
rioritized Trunk Group
Device(s)
Device(s)that
thatthe
the
Route
RouteGroup
Grouppoints
pointsto
to
Route groups control specific devices, which are gateways. Gateways may be
skinny, MGCP or H.323 based. Endpoints such as NetMeeting clients or remote
Call Managers across the IP WAN are configured as H.323 gateways. The route
group points to one or more devices and can select the devices for call routing
based on preference. The route group can direct all calls to the primary device
and then utilize the secondary devices when the primary is unavailable. This
serves effectively as a trunk group. One or more route lists can point to the same
route group. All devices in a given route group have the same characteristics
such as path and digit manipulation. As mentioned above route groups have the
ability of performing digit manipulation that will over ride what was performed
in the route pattern.
Discard
DiscardAccess
AccessCode
Code
The figure above shows settings that will override the settings of the Route
Pattern Page for the “SJ IPWAN” Route Group. For the example above, the
Called Party Transformations will discard digits of the access code.
Pre-pend
Pre-pend??408
408
The figure above shows the digits of 1408 will be pre-pended to the number if
the called party is has the prefix digits of 1601. The “PHL PSTN” Route Group
is devices.
Route
Group
V V
Skinny Based MGCP Based H.323 Based H.323 Based
DT-24+ VG200 All IOS GW Remote
Cat 6K GW CallManager
AT + AS GW
Route
RouteGroups
Groupsused
usedtotoreach
reachRoute
RoutePattern
Pattern
(Each
(EachRoute
RouteGroup
Grouphas
hasunique
uniqueDigit
DigitManipulation)
Manipulation)
1st
1stChoice
Choicefor
forSan
SanJose
Jose- -SJ
SJIPWAN
IPWAN
2nd
2ndChoice
Choicefor
forSan
SanJose
Jose- -PSTN
PSTN
The CallManager 2.4 term route point has been replaced by the route list in
CallManager 3.0 while performing much of the same role. A route list defines
the way a call is routed. Route lists are configured to point to one or more route
groups, which effectively serve the purpose of trunk groups. The route list sends
a given call to a route group in a configured order of preference. This could be
where the primary route group may offer a lower cost for calls where as the
secondary route groups will only be used if the primary is unavailable due to an
all trunks busy condition or insufficient IP WAN resources.
Route Pattern
Digits left of *.* are the ccess Code
Partition
(WHO can reach ? 2.XXXX
Route List
(Defines HOW to reach ? 2.XXXX?
Digit manipulation
The Route Pattern identifies a dialed number (E.164 address in North America)
and uses the underlying Route List and Route Group configurations to determine
how to route the call.
When a Route Pattern matches a dialed number, it will hand the call to the Route
List associated with the Route Pattern. The Route List will then make the
decision as to which downstream route groups (trunk groups) to send the call to
based on the ordered priority. Prior to handing the call to the Route List, digit
manipulation will occur depending if digits need to be added or removed from
the matched Route Pattern.
The digit manipulation occurs in the Route Pattern for outbound calls only
before it gets sent to the Route List + Route Groups. Note that individual
downstream route groups may have unique digit manipulations for the same
Route Pattern. This is extremely useful where different routes to a given dialed
number may require different manipulations. An example of this would be where
users were required to dial seven digits to reach a remote location that has a four
digit internal dial plan length. Across the IP WAN the first three digits may have
to be removed in order to deliver the last four digits to the remote Call Manager
in its native internal dial string length. If the IP WAN was down or could not
accept additional voice calls then the dialed seven digits would have to be pre-
pended with the area code in order to reach the called party via the PSTN. A
route pattern is associated with only one route list.
The Cisco CallManager matches the most specific pattern from the route pattern.
Wildcards are used for range matching of digits. The following are some of the
wildcards that are used in the route pattern:
Wildcard Definitions
The table above shows examples of route patterns and the possible matches to
the pattern examples. The next few pages discuss the following examples that
can occur when using a route pattern:
■ Digit collection
■ Closest match routing
■ Inter-digit timeout
The figure above is the final figure in a series of six slides that show the process
in Cisco CallManager of digit collection and match of a route pattern. As the
user enters each digit, all the patterns above are a possible match. Then last digit
entered by the user and only one route pattern is matched.
1[23]XX Match!
Matches 1 digit
131 Doesn’t match
string
Select as closest match Doesn’t match
13[0-4]X
The figure above is the final figure in a series of eight slides that show a closest
match to a route pattern while the Cisco CallManager collects digits. During
digit collection, a number of route patterns matched, until the final digit is
entered. Two possible route pattern matches are found, one route pattern with
one digit string match and the other with 200 digit stings matched. The Cisco
CallManager will select the route pattern with one digit string match as the
closest route pattern match.
1[23]XX Match!
Matches 200 digit strings
131 Doesn’t match
Select as closest match
13[0-4]X Match!
Matches 500 digit strings
13! Match!
Matches ∞ digit strings
The figure above is the final figure in a series of nine slides that show a inter-
digit timeout while a user places a call while the Cisco CallManager collects
digits to match a route pattern. While the Cisco CallManager collects digits, it
will try to match route patterns that are in the database. Inter-digit timeout occurs
when the closest matched route pattern has a number of possible digit string
matches. The figure above shows that the closest match route pattern has 200
digit string matches to wait for and Cisco CallManager invokes inter-digit
timeout.
Route filters are most commonly used to manipulate dialed strings that use the
following wildcards:
■ . wildcard. The . wildcard denotes a portion of a route pattern that can be
stripped when the pattern matches.
■ @ wilcard. The @ wildcard matches any number in the North American
Numbering Plan (NANP). Essentially, any number you can dial from your
home phone.
The following are important points to remember about the @ wildcard and route
filters:
■ Closest match routing works on the individual patterns of an @ pattern, not
on the pattern as a whole.
■ Route filters don’t block calls in and of themselves; they restrict which
patterns are added.
or PreDot unless
User dials: 98123
the pattern
contains an @
wildcard
PBX
Digit discarding instructions are used to strip the initial digits dialed by the user.
It is recommended to use only “No Digits” or “Pre Dot” unless the pattern
contains an @ wildcard. In the figure above, the “Pre Dot” digit discarding
instruction is used to strip digit before the “dot” in the route pattern. The user
dials “98123” the Cisco CallManager matches it to the route pattern “9.8XXX”
and uses the digit discarding instruction (Pre Dot) and strips the “9” and passes
only “8123” to the PBX.
available
PSTN
The @ wildcard is a macro that causes the CallManager to add about 300
patterns. Use digit discarding instructions to control which digits are sent as the
called number and use route filters to add fewer patterns and restrict outside
dialing.
The example above shows digit discarding instructions related to the @ wildcard.
The user dials “9101028812145551212” and the Cisco CallManager matches the
dialed digits to the 9.@ route pattern. The digit discard instructions are to
discard a whole section of dialed numbers and in this example the discard
instructions are “pre dot” and digits “10-10-Dialing”. The dialed digits from the
user are “12145551212” get passed on to the router then to the PSTN.
→10D
11D→ 98 1010321 1 214 555 1212 Toll bypass
If the route pattern is 9.8@ the table above describes the digit discarding
instructions that can be applied to the pattern.
Because the @ wildcard creates close to 300 route patterns, route filters are used
to limit the @ wildcard. The route filters created to limit the @ wildcard rely on
tags and named sub-strings of the NANP. Route filters use the following three
operators and are connected with “and” and “or”:
■ Exists
■ Does not exist
■ ==<value>
The following four pages show examples using the three operators in a route
filter to limit the @ wildcard.
If a route pattern of 9.@ is added with no filters, over three hundred dial strings
are possible matches. The following pages show how to limit this route pattern
using the following operators:
■ Exist
■ Does not exist
■ == <value>
When the route pattern 9.@ is used with a route filter of “service exist” then
only the “9[2-9]11” pattern is added.
Added: no COUNTRY-CODE
9 1 [2-9]XX [2-9]XX XXXX
The 9.@ pattern with the route filter of “country-code does-not-exist” results in
the route pattern that contains a country code to be eliminated from the route
pattern. This example would be used to filter calls that use a country code.
9 1 [2-9]XX
900 Added: AREA-CODE constrained to 900
[2-9]XX XXXX
The 9.@ route pattern with the route filter of “area code == 900” is used to limit
the route pattern to calls that go to the area code “900”.
AREA-CODE 1 214 555 1212 The area code in an 11-digit long distance call
INTERNATIONAL-DIRECT-DIAL 01 1 33 123456 # The digit that denotes the direct-dial component of an international call
INTERNATIONAL OPERATOR 01 0 The digit that denotes the operator component of an international call
LOCAL-AREA-CODE 214 555 1212 The area code in a 10-digit local call
LOCAL-OPERATOR 0 555 1212 The initial 0 required for operator-assisted local calls
LONG-DISTANCE-DIRECT-DIAL 1 214 555 1212 The initial 1 required for long distance direct-dial calls
LONG-DISTANCE-OPERATOR 0 214 555 1212 The initial 0 required for operator-assisted long-distance calls
OFFICE-CODE 1 214 555 1212 The office or exchange code of a North American call
SATELLITE-SERVICE 01 1 881 4 1234 # A specific value associated with calls to the satellite country code
TRANSIT-NETWORK 101 0321 1 214 555 1212 Long distance carrier code
TRANSIT-NETWORK-ESCAPE 101 0321 1 214 555 1212 The escape sequence used for entering a long distance carrier code
The @ wildcard can be used to easily establish matches in route patterns to over
300 dial strings. The table above represents the tags use in the NANP Dial Plan
that will help in creating route filters for a route pattern with an @ wildcard.
No
NoMatch
Matchof
ofDN
DN Attendant
? 111
Match
MatchDN
DN
DID
DIDRange
Range
1000-1999
1000-1999
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -17
Translation patterns are almost exactly like route patterns in its use of wildcards
and transformations. The digit collection in a translation pattern results in
another trip through digit analysis. The primary use of translation patterns is for
extension mapping.
Route pattern
The above routing flow chart shows at what point the digits go back through
digit analysis when using a translation pattern. In the routing flowchart, the digit
analysis determines what pattern type is being used. When a translation pattern
is used, the digits go back through digit analysis. When a route pattern is used,
the call is extended to the destination.
V
PSTN
Philadelphia
(215) 555-XXXX
(408) 526-XXXX 5 Digit Internal Dialing
5 Digit Internal Dialing
Primary Voice Path
IP WAN Strip ? 2? and deliver
61111 to remote Call Manager
If in this environment the IP WAN resources are insufficient and the call has to
be sent out the PSTN then the route group for the PSTN gateway must insert the
area code and 3-digit exchange. In CallManager 2.4 for any given route pattern
only one digit manipulation table could have been used and therefore IOS
gateways only could be used because they could insert the area code and 3-digit
exchange. This administrative burden and has been removed with the ability of
performing unique digit on a per route group basis in CallManager 3.0. This
allows for a single point of dial plan administration per site and both IOS and
skinny based gateways may be used. The figure above depicts OnNet calls
across the IP WAN with the PSTN as a backup where the digit manipulation
required is different for each path.
As far as local PSTN the gateway dial plan configuration it is fairly simple. The
skinny based and MGCP gateways have all their dial plan information done in
CallManager while an H.323 based IOS gateway typically only requires a
minimal amount of dial peers. These dial peers would be used by the gateway to
direct all calls from CallManager to the PSTN. In the dial plan configuration
section there will be an example of the IOS H.323 gateway dial peer
configuration.
Understanding Partitions +
Calling Search Spaces
Partition/Calling Search Space
Analogous to:
Where You Are
Subnet/Access-List
Subnet (Partition)
A
Inbound Access-List
(Calling Search Space)
Subnet (Partition)
B
Partitions and calling search spaces draw an analogy to routers with access lists.
Think of a partition as an IP subnet where you will place users. A calling search
space is likened to an inbound access list that dictates “which” subnet you can
reach.
Dave
Rita
972 813 5000
The analogy above shows the relationship between calling search space and
partitions. A partition is a directory where a user list their number and a calling
search space are the directories a users is able to look in to make calls.
In the analogy, Dave list his number is the “SWB Dallas Yellow Pages”
directory. This is the partition that Dave belongs to.
Rita has a list of directories (SWB Dallas White Pages, SWB Dallas Yellow
Pages and her Little Black Book) that represent her calling search space.
If Rita does not have a directory that Dave is in (SWB Dallas Yellow Pages),
then she is unable to call Dave. In other words, if Rita is assigned to a Calling
Search Space that does not include the partition that Dave is in, then Rita cannot
call Dave.
If Rita does have a directory that Dave is in (SWB Dallas Yellow Pages), then
she is able to call Dave. In other words, if Rita is assigned to a Calling search
space that includes the partition that Dave is in, then Rita is able to call Dave.
Partitions
Partitions are considered to be a group of devices with similar reachability
characteristics. Devices that get placed in partitions are IP phones, DNs and
route patterns. These are entities associated with DNs (directory numbers) that
users will dial to reach. Partition names should be chosen to have some
meaningful correlation to the group of users it represents. For example, for users
located in Building D in San Jose you may want to create a partition called SJD.
Partitions and calling search spaces follow rules when doing digit analysis. Digit
analysis will look through every partition inn a calling search space and looks
for the best match. The order of the partitions listed in the calling search space is
used only to break ties when there are equally good matches in two different
partitions. If no partition is specified for a pattern, the pattern is listed in the null
partition (as well as any partitions specified in their calling search space) to
resolve dialed digits. The null partition is always the last partition looked
through.
The figure above illustrates a basic example of how partitions and calling search
spaces may be used to provide dialing restrictions.
In this example staff employees have unrestricted dialing where as the lobby
phones only have the ability of dialing people within the local site. As noted in
the diagram all IP phones are placed in the SJ-Users partition and the route
pattern 9 associated with the PSTN is placed in the SJ-PSTN partition. Two
calling search spaces are created that denote two different dialing characteristics.
A calling search space called unrestricted is created that has both SJ-Users and
SJ-PSTN Partitions in it. A second calling search space called SJ-Only is created
with only the SJ-Users in it. San Jose staff IP phones are assigned the
unrestricted calling search space denoting that they may dial anywhere. The
lobby phones are assigned the SJ-Only calling search space meaning they can
only dial local phones in the building.
The figure above illustrates the prior configuration of creating two partitions that
define reach-ability characteristics for a given site. One for internal local site
users and one for external calls. Devices and route patterns will be placed in
these partitions.
The configuration of partitions starts with the assignment of devices in the Cisco
CallManager Administration Partition Configuration page shown above.
The Calling Search Space establishes where a user can call. Devices assigned
unrestricted Calling Search Space may call devices in any partition.
You will need to assign partitions and calling search spaces at the global Phone
Configuration level. At the main Phone Configuration page, only the Calling
Search Space is configured as shown in the example above.
The default setting for Calling Search Space allows a user to call anyone, but if
other devices do not have a Calling Search Space of default, no one can call
devices in the default group.
alling
allingSearch
SearchSpace
Space
Can
Canbebeassigned
assignedto
to
Individual
IndividualDN
DN(Overrides
(Overrides
Main
MainPhone
PhoneConfiguration)
Configuration)
Assigning partitions and calling search space at the individual line or directory
number (DN) level you are able to override main configuration. A DN can be
assigned to a single partition and the calling search space that is selected can
override the main phone configuration.
The above configuration example represents perhaps the simplest example of the
required configuration for multi-site WAN local call processing. A more
ambitious dial plan while outside of the scope of this document would perhaps
include the following considerations:
1. Intra-site calls only
2. Intra-site and local emergency calls only
3. Intra and Inter-site calls only
4. Intra and Inter-site and local emergency calls only
5. Intra and Inter-site, local emergency, and local PSTN calls only
6. Intra and Inter-site, local emergency, and national long distance
PSTN calls only
7. Fully unrestricted dialing including international numbers
Send 215-555-1212 in
H.323 setup IOS Gatekeeper V
IP WAN PSTN
V
Remote
CM
CM strips leading digits and uses Local GW receives DID (1212) and
internal dial length (1212) sends internal dial length to CM
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -28
In the example, all users will have to dial five digits for internal dialing and will
be required to dial the PSTN access code of 9 plus the 1—(area code)—(7 digit
number) for all external long distance calls and 9 plus the (7 digit number) for
local calls. Also provided will be gateway redundancy in the event a gateway or
trunk failure to the PSTN. The PSTN gateways to be used will be IOS gateways
using H.323.
Notice that the dial plan configuration in this model only requires a single route
pattern. The 9.@ signifies that 9 is the local PSTN access code and the @
signifies the North American dialing plan in this case.
The route pattern 9.@ for North American dialing 911 services are included.
Note that specified in the route group Discard Access Code is selected for digit
manipulation. This will strip off the 9 so that 1—(area code)—(7 digit number)
or the (7 digit number) is sent to the local PSTN gateway, which is an IOS
Above is the configuration required in each IOS PSTN gateway. The goal is to
be able to configure the IOS H.323 gateway with a minimum amount of entries
as possible. The ideal situation is that all the dial plan configuration would occur
in CallManager. This is the case with skinny + MGCP based gateways. However
the more prominent gateways available are H.323 based so they are used in the
following example:
The above configuration would assume that 1 + 10 digit dialing would be
required for long distance calls to the PSTN and where 7 digit dialing would be
required for local PSTN calling.
Note that within the scope of 9.@ that emergency 911 services are included.
That means a user dialing 911 will get sent out the PSTN trunks automatically
however the IOS H.323 gateway still requires a dial peer for 911 as depicted.
Various dial peers can be added for 411 + 611 services, which are included in
the scope of the 9.@ route pattern as well.
Summary
The CallManager’s dial plan architecture is setup to handle generally two types
of calls:
■ Internal calls to IP phones registered to the CallManager cluster itself
■ External calls via a PSTN gateway or to another CallManager cluster via the
IP WAN
Partitions and calling search spaces draw an analogy to routers with access lists.
Think of a partition as an IP subnet where you will place users. A calling search
space is likened to an inbound access list that dictates which subnet you can
reach.
The capability exists within CallManager to provide for digit translation. This is
the ability of translating a dialed number into another number or even changing
the number of digits. This can be achieved for internal as well as external calls
whether inbound or outbound. Translation table may be configured such that
when a user dials a 0 then call gets delivered to an attendant who may have an
extension that is 1111.
Review Questions
Q1) The Cisco IP telephony solution takes full advantage of an IP network. What is
an example of alternate path call routing in a CIPT solution?
Q2) Route groups, devices, route pattern and route list are parts that need to be
configured for a route pattern. What is the recommended order for configuring a
route pattern?
Q3) Partitions and calling search spaces provide calling restrictions on a per phone
basis as well as the creation of closed dial plan groups on the same CallManager.
What is the relationship between partitions and calling search spaces?
Overview
The Cisco AVVID telephony solution offers multiple methods of connecting an
IP telephony network to the PSTN, legacy PBX, and key systems. Choosing a
gateway form a list of twenty products can be daunting when first attempted.
Cisco’s product line ranges from specialized, entry-level stand-alone voice
gateways to the high-end, feature rich Integrated Router and Catalyst gateways.
However, once a list of required features is combined with the long-term needs
of the product, a gateway solution can be found.
This chapter discusses the Cisco access gateways that are in the CIPT
environment and includes the following topics:
■ Objectives
■ Gateway Requirements
■ Single-Site Enterprise Deployments
■ Install and Configure Commands
■ Laboratory Exercise
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Given a case study of existing networking and telephony components,
identify the criteria needed to select a gateway.
■ Given a Cisco access gateway, identify and describe the hardware
components of the Cisco access gateways.
■ Given a Cisco access gateway and network topology, add and configure the
selected Cisco access gateway to the CIPT network.
DT-24+/DE-30+ No No Yes
Yes, for
Catalyst 4000
Conferencing and
WS-X4604- Yes, for PSTN
Future MTP/
GWY Gateway Interfaces
Transconding
Module
Services
Catalyst 6000
WS-X6608-x1
Future No Yes
Gateway
Module
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -4
7200 No Yes No
7500 No Future No
5300 No Yes No
The skinny gateways are a series of digital gateways that include the DT-24+,
the DT-30+, and Catalyst 6000 Voice Gateway module. The H.323 protocol is in
the Cisco IOS integrated router gateways that use H.323 to communicate with
CallManager. The new Media Gateway Control Protocol (MGCP) is used by the
Cisco CallManager to control the new stand-alone gateway and the VG200
analog gateway. Each of these protocols follows a slightly different methodology
to provide support for the three core gateway features. How each protocol solves
these requirements is detailed below.
Note The VG200 only supports FXS and FXO interfaces in MGCP mode. A wider
interface selection will be offered in the next product releases, when the VG200 supports
H.323v2. While the 5300 supports MGCP, it’s currently incompatible with the
CallManager. Although the 3810, 2600, and 3600 products get MGCP for analog
interfaces in 12.1(3)T, they will not be officially supported by the CallManager until 3.0(2),
when the MGCP administrative interface is expanded to incorporate larger numbers of
analog interfaces.
DTMF Relay
• Signaling method that uses specific pairs of
frequencies within the voiceband for signals
• Signals carried without difficulty over a 64kbps
PCM voice channel
• DTMF signal loss or distortion when using a
low bite-rate codec for voice compression
• Provide an out-of-band signaling method for
carrying DTMF tones across a Voice over IP
infrastructure
Skinny Gateways
The DT-24+/DE-30+ products and the Catalyst 6000 gateway utilize the skinny
gateway protocol to carry DTMF signals out-of-band using the TCP port 2002.
out-of-band DTMF is the default gateway configuration mode.
Router(config)#
dial-peer voice 100 voip
destination-patttern 555?
session target ipv4:10.1.1.1
codec g729ar8
dtmf-relay h245-alphanumeric
preference 0
H.323 Gateways
The c1750, c2600, c3600, c7200, and as5300 series products communicate with
the CallManager using H.323. Both CallManager 3.0 and Cisco IOS release
12.0(7)T, include the enhanced H.245 capability for exchanging DTMF signals
out-of-band. The figure above shows an example out-of-band DTMF
configuration on an IOS gateway.
Only the 3810 V3 with the new High Compression Module (HCM) voice
compression modules will support H.245 DTMF relay due to memory
limitations on the TI542 DSP used on previous 3810 versions.
PSTN
V
VG200
MGCP Gateway
The VG200 uses MGCP for CallManager communication. Within the MGCP
protocol is the concept of packages. The VG200 loads the DTMF package upon
start-up. Once the out-of-band DTMF capabilities are configured in the
CallManager MGCP gateway GUI, the VG200 will send symbols over the UDP
control channel to represent any DTMF tones it receives. CallManager will
interpret these signals and pass on the DTMF signals, out-of-band, to the
signaling endpoint. The figure above shows the global configuration command
for DTMF relay VG200.
Additional configuration parameters must be entered in the Cisco CallManager
Administration MGCP gateway configuration interface.
Supplementary Services
CallManager 3.0
Conferencing
Conferencing
IOS GW
PSTN
V
Transfer
Transfer
Hold
Hold
Supplementary
Supplementaryservice
serviceisisdefined
definedas
asthe
theability
abilityto
toprovide
provideuser
user
functions such as hold, transfer, and conferencing
functions such as hold, transfer, and conferencing
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -11
Skinny Gateways
The DT-24+/DE-30+ and Catalyst 6000 series gateways provide full
supplementary service support. The skinny gateways utilize the gateway-to-
CallManager signaling channel and skinny gateway protocol to exchange call
control parameters.
H.323 Gateways
Only H.323v1 was supported prior to the release of CallManager 3.0. The
inability to modify the destination of an RTP stream after H.323v1 call setup
eliminated supplementary services like hold, forward and transfer. Because
H.323v1 provides no capability to move an RTP stream from one destination to
another after original call setup, the software Media Termination Point (MTP)
tool was used to provide supplementary service support on the IOS gateways.
MTP, which runs as a software process on either the CallManager or a separate
NT 4.0 server, terminated the RTP stream from the IOS gateway and the RTP
stream from an IP phone. This workaround enabled an IP phone to use
supplementary services when using an IOS VoIP gateway because the RTP
stream from the MTP to the IOS gateway is never modified until call completion.
All RTP streams changes are made on the skinny station side of the MTP
connection.
With the use of H.323v2 in IOS release 12.0(7)T, specifically the Open/Close
LogicalChannel and the emptyCapabiliySet, by IOS Gateways and CallManager
3.0, the requirement for software MTP to provide supplementary services is
eliminated. MTP is no longer needed to terminate the G.711.
RTP streams from both the IP phones and the IOS gateway and compressed
voice calls, specifically G.723.1 and G.729a, are now supported between IOS
gateways and CallManager endpoints. Once an H.323v2 call is set up between
an IOS GW and an IP phone, using the CCM as an H.323 proxy, the IP phone
can request to modify the bearer connection. Because the RTP stream is directly
connected to the IP phone from the IOS GW, a supported voice codec can be
negotiated. If IP phone 1 wishes to transfer the call from the IOS gateway to IP
phone 2, it will issue a “transfer request” to the CallManager via the skinny
station protocol. The CCM will translate this request into an H.323v2
CloseLogicalChannel request to the IOS gateway for the appropriate SessionID.
The IOS Gateway will close the RTP channel to IP phone 1. The CCM will then
issue a request to IP phone 2, using skinny station, to set up an RTP connection
to the IOS gateway. At the same time, the CallManager will issue an
OpenLogicalChannel request to the IOS gateway with the new destination
parameters, but using the same SessionID. After the IOS gateway acknowledges
the request, an RTP voice bearer channel is set between IP phone 2 and the IOS
gateway.
CallManager 3.0
CallManager 3.0
V PSTN V PSTN
VG200 VG200
Design Characteristics
MGCP Gateway
The VG200 provides full support for the hold, transfer, and conference features
through the MGCP protocol. Because MGCP is fundamentally a master/slave
protocol with the CallManager controlling all session intelligence, it can easily
manipulate VG200 voice connections. If a CIPT end-point needed to modify the
session (that is, transfer the call to another CIPT end-point), the end-point would
notify the CallManager via the skinny station protocol. The CallManager will
then inform the VG200, using the MGCP UDP control connection, to terminate
the current RTP stream associated with the SessionID and start a new media
session with the new end-point information.
CallManager Redundancy
Primary Secondary
CallManager
X CallManager
PSTN
Skinny Gateways
The DT-24+/DE-30+ and Catalyst 6000 digital skinny gateways are provisioned
with CallManager location information upon boot-up. When these gateways
initialize, a list of CallManagers is downloaded to the gateways. This list is
prioritized into a primary Cisco CallManager and secondary Cisco CallManager.
In the event that the primary CallManager becomes unreachable, the gateway
will register with the secondary CallManager.
X
Primary Secondary
X
CallManager CallManager Primary Secondary
CallManager CallManager
Establish
Attempt to H.323v2
establish H.323 connection
connection to to the
V V secondary
primary CCM.
Connection CCM
attempt fails.
PSTN PSTN
IOS 12.1(2)T
H.323 Gateways
Using several enhancements to the dial-peer and voice class command sets in
IOS release 12.1(2)T, IOS gateways can now support redundant CallManagers,
as well. A new command H.225 tcp timeout <seconds> has been added. This
tracks the time it takes for the IOS gateway to establish an H.225 control
connection for H.323 call setup. If the IOS gateway can’t establish an H.225
connection to the primary CallManager, it will try a second CallManager defined
in another dial-peer statement. The IOS gateway will shift to the
dial-peer statement with next highest preference setting. The following page
shows the CLI commands needed to configure H.323 gateway failover.
Primary Secondary
X
CallManager CallManager Primary Secondary
CallManager CallManager
TCP
eep alive? Empty
Empty MGCP connection MGCP
NTFY msg TCP=2428 NTFY
periodically msg
V V
sent to primary
CallManager;
ACK expected
UDP=2427
PSTN PSTN
MGCP Gateway
Adding MGCP to the VG200 and the Cisco CallManager provides this stand-
alone gateway with the ability to failover to a secondary CallManager in the
event communication loss with the primary CallManager. Within the VG200
configuration file, the primary Cisco CallManager will be identified using the
call-agent <hostname> command and a list of secondary CallManager will be
added using the ccm-manager redundant-host command. Keep alives with the
actively associated Cisco CallManager will be through the MGCP application-
level keep alive mechanism, whereby the GW will send an empty MGCP NTFY
message to the Cisco CallManager and wait for an acknowledgement. Keep alive
with the backup Cisco CallManager(s) will be through the TCP (RTP/UDP will
be utilized in a later version) keep-alive mechanism.
MGCP UDP
Active MGCP Connection
UDP Session Attempt TCP
eep alive?
connection
Empty MGCP
V NTFY msg
V
PSTN PSTN
Router(config)#
ccm-manager redundant-host <hostname1 | ipaddress1 >
<hostname2 | ipaddress2>
[no] call-manager redundancy switchback
[immediate|graceful|delay <delay_time>]
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -18
If the primary CallManager becomes available at a later time, the VG200 can
re-home back to the original CCM. This fallback can either occur immediately,
after a configurable amount of time or only when all connected sessions have
been released. This is enabled through the following VG200 global
configuration command:
MGCP CCM failover commands are the following:
ccm-manager redundant-host <hostname1 | ipaddress1 >
<hostname2 | ipaddress2>
[no] ccm-manager switchback
[immediate|graceful|delay <delay_time>|schedule-time]
The settings for the Cisco CallManager redundancy switchback are defined as
follows:
■ Immediate—The moment the primary Cisco CallManager is running all
devices (on a call or not) will immediately switchback from the secondary.
■ Graceful—When the primary Cisco CallManager is back running, devices
will wait until they are not on a call to switchback from the secondary.
■ Delay—A time (seconds) can be set when devices will switchback from the
secondary after the primary is running.
■ Schedule-Time—Allows you to schedule a time for switchback.
Requirements Gathering
• Is an analog or digital gateway required?
• What is the required capacity of the gateway?
• What type of connection is the gateway going to use?
FXO-Ground-Start? Network-side or user-side PRI?
• What types of supplementary services are wanted?
• Is voice compression a part of the design? If so, which types?
• Is Direct-Inward-Dial (DID) required?
• Is Calling Line ID (CLID) needed?
• Is FAX-relay needed?
• What type of network management interface is preferred?
• To which country will the hardware be shipped?
• Is rack space available for all needed gateways, routers, and
switches?
The above questions should be asked prior to installation for the purpose of
defining gateway functions. The purpose is to find out if the proposed design
will encompass growth and future needs. Along with growth and future needs,
there also needs to be questions answered about migration from one version to
another.
Direct-Inward-Dial (DID) is a private branch exchange (PBX) or Centrex
feature that permits outside calls to be placed directly to a station line without
the use of an operator.
Calling Line Identification (CLI/CLID/ANI) is a service available on digital
phone networks that tells the person being called which number is calling them.
The central office equipment identifies the phone number of the caller, enabling
information about the caller to be sent along the call itself. CLID is synonymous
with ANI (Automatic Number Identification).
Of course, the feature list might be much longer than this example. However,
this list is a good start to help narrow down the possible choices. Once the
features have been defined, a gateway selection can be made for each of the
pertinent configurations; single-site enterprise deployments of various sizes and
complexities and multi-site enterprise deployments. Both of these categories are
defined in more depth in the following sections.
Stand-Alone Gateways
Stand alone gateways and which protocols they use include the following:
■ AS-2, 4 and 8—skinny protocol
■ AT-2, 4, and 8—skinny protocol
■ DT-24/DE-30—skinny protocol
■ AS5300—H.323v2
■ DT-24+/DE-30+—skinny protocol
■ VG200—MGCP/H.323v2
The AS, AT, and DT-24/DE-30 are still supported and will end of sale
very shortly.
The DT-24 and DE-30 are replaced by the DT-24+/DE30+ and the analog
station and analog trunks are being replaced by the VG200.
PSTN
CallManager 3.0
V
Catalyst 6000 T1/E1
CAS/PRI
V V
V
5300 PBX
IP WAN
The Cisco IOS Gateway AS5300 is capable of providing T1/E1 CAS and PRI
connectivity, as shown in the figure above, to the PSTN or PBX.
DT-24+/DT-30+ Stand-Alone
Gateways
• T1/E1 PRI
• User/network side ISDN
• Skinny gateway
– Supplementary services
– Out-of-band DTMF
– CCM failover
• G.711/G.723.1
The Voice Gateway 200 (VG200) replaces the analog stations and analog trunks.
In the MGCP mode, the VG200 is capable of providing the following:
■ 2xFXS/2xFXO
■ Analog only
■ G.711 FAX support only—no FAX-relay
When the VG200 is using H.323v2 mode, it is capable of T1/E1 CAS, FXS,
FXO, and E&M.
MGCP Basics
The following are the basic concepts and terms used with MGCP:
■ Endpoints—specific trunk/port or service, such as an announcement server
■ Connections—modes: send, receive, send/receive, inactive, loopback,
continuity test
■ Calls—groupings or connections
■ Call Agents—centralized intelligence
MGCP Primitives
The MGCP primitives are the components that allow CIPT to discontinue its
dependence on software MTP. The emerging standard has been proposed by
Cisco as a means to counter some limitations of the H.323 protocol suite.
The following are MGCP primitive terms and definitions:
■ NotificationRequest (RQNT)—Instructs the gateway to watch for
specific events
■ Notify (NTFY)—Inform MGC when requested events occur
■ CreateConnection (MDCX)—Change the parameters associated with an
established connection
■ DeleteConnection—Delete an existing connection—Ack returns
call statistics
■ AuditEndpoint (AUEP)—Audit an existing endpoint
■ AuditConnection (AUCX)—Audit an existing connection
■ RestartInProgress (RSIP)—Gateway notifiction to the MGC that a MG or
endpoint is restarting or stopping
RSIP
V
200 OK
CallManager VG200
RQNT
200 OK
AUEP (parms)
200 OK (results)
The figure above shows the communication between the Cisco CallManager and
VG200 using MGCP on startup. The process is as follows:
1. RestartInProgress (RSIP) is sent from the VG200 to the Cisco CallManager
telling the Cisco CallManager an endpoint is restarting or starting up.
2. The Cisco CallManager acknowledges with a 200 OK.
3. The Cisco CallManager sends a NotificationRequest (RQNT) to the VG 200
instructing the gateway to watch for specific events.
4. The VG200 acknowledges with a 200 OK.
5. Cisco CallManager sends an AuditEndpoint (AUEP) in order to audit the
existing endpoint (VG200).
6. The VG200 acknowledges with a 200 OK with the results of the audit.
NTFY O: 5
CRCX
MDCX
The figure above shows the procedure when a MGCP makes an FXS Call.
The procedure is as follows:
1. The FXS phone goes offhook, GW sends notify (NTFY) for offhook event.
2. Cisco CallManager sends request notify (RQNT) with digit map and signal to
turn on dial tone. CallManager requests each digit is sent individually (not
accumulated).
3. User presses first digit.
4. NTFY sent to Cisco CallManager, Cisco CallManager sends RQNT to turn
off dial tone.
5. User sends digit.
6. Cisco CallManager sends create connection (CRCX) to create a call leg. GW
sends response with RTP SDP parameters (IP address and port for audio
stream). Cisco CallManager sets up connection with remote RTP endpoint
and starts ringing tone to caller.
7. Cisco CallManager sends modify connection (MDCX) to caller, setting IP
address and port of other RTP endpoint. (MDCX can also set local
send/receive state.)
Adding MGCP
To use the Cisco VG200 with MGCP, you must use the FXO or FXS analog
ports.
Before using Cisco CallManager, you must configure the Cisco VG200 gateway
using the Cisco IOS command line interface (CLI). The procedures and
commands required to perform this configuration are described in the Software
Configuration Guide for the VG200 Gateway. More of the installation and
configuration of the VG200 will be done during the lab time.
The procedure is as follows:
1. Open Cisco CallManager.
2. Select Device > Add a New Device. The Add Device screen appears.
3. Select Device Type > MGCP Gateway.
4. Click Next.
5. Enter the appropriate settings, as described in the MGCP Configuration
Settings table (slot 0 is not used on the VG200.)
MGCP Domain Name Uniquely identifies the VG 200 Use the Domain Name Service (DNS)
gateway. host name if it is configured to resolve
correctly. Otherwise use the IP
address. You must use the same
value here that is used to configure
the VG200 at the IOS command line.
VIC in Slot 1/Sub-Unit 0 The type of Voice Interface Card If there is an FXS or an FXO VIC
installed in the right side of the installed in Slot 1/Sub0Unit 0, then
VG200 voice network module, select the installed VIC Type. Slot 0 is
which resides in Slot 1. not used on the VG200.
VIC in Slot 1 / Sub-Unit 1 The type of Voice Interface Card If there is an FXS or an FXO VIC
installed in the left side of the installed in Slot 1/Sub0Unit 1, then
VG200 voice network module, select the installed VIC Type. Slot 0 is
which resides in Slot 1. not used on the VG200.
6. Click Insert.
CallManager
3.0 Out-of-band DTMF via
MGCP ode out-off-band
Compressed Voice Stream
Skinny Station Protocol
MGCP
FXS/FXO
V PSTN
Digital VG200
mgcp
mgcp dtmf-relay
dtmf-relay codec
codec all
all mode
mode out-of-band
out-of-band
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -32
The figure above shows the VG200 and DTMF signaling interaction. Between
the Cisco CallManager and the VG200 there is an out-of-band DTMF signal via
the MGCP “mode out-off-band.” The Cisco CallManager and Cisco uOne
GateServer use skinny station protocol to us out-of-band DTMF. The MGCP
eliminates the software MTP by compressing the voice stream between the
VG200 and the Cisco uOne Gateserver.
This screen is the MGCP Member Configuration page from the Cisco
CallManager administration pages. The MGCP member information defines the
MGCP with a description, Device Pool, and Calling Search Space. Port
Information is defined through the Prefix Directory Number (DN), the Number
of Digits, and Expected number of digits to be received. The DTMF capabilities
for this member is where you would determine the out-of-band send/receive
capabilities for the VG200.
CallManager CallManager
X X
V PSTN X V PSTN
VG200 VG200
The VG200 uses MGCP to allow supplementary services. MGCP allows for
VG200 and CallManager integration without the use of software MTP that
allows for greater scalability.
The MGCP support is for analog FXS and FXO interfaces only.
The figure above left shows a MGCP initial call going direct from the gateway
to the IP phone with no MTP required.
The figure above right shows the call being transferred, which is allowed using
MGCP.
X
CallManager CallManager Primary Secondary
CallManager CallManager
TCP
eep alive? Empty
Empty MGCP connection MGCP
NTFY msg TCP=2428 NTFY
periodically msg
V V
sent to primary
CallManager;
ACK expected
UDP=2427
PSTN PSTN
This figure shows the homing process the VG200 uses with MGCP in a dual
Cisco CallManager environment.
The VG200 sends an empty MGCP NTFY message periodically to the primary
CallManager. An ACK of UDP=2427 is expected (not required). Between the
VG200 and the secondary CallManager is a TCP “keep alive” connection
(TCP=2428).
When the primary CallManager goes down, the VG200 sends an empty MGCP
NTFY message to the secondary CallManager to re-home.
MGCP UDP
Active MGCP Connection
UDP Session Attempt TCP
eep alive?
connection
Empty MGCP
V NTFY msg
V
PSTN PSTN
The figure above shows the process of a MGCP Cisco CallManager failover:
transfer request. The following are the steps used in this process:
1. Normal call progression with an active primary Cisco CallManager and a
secondary failover Cisco CallManager.
2. Upon primary Cisco CallManager failure, GW switches to secondary Cisco
CallManager. Call stay is alive.
3. IP phone attempts to transfer; feature request fails due to unknown call
progression after failover.
When the primary CallManager fails over to the secondary, an MGCP UDP
session is between the VG200 and the secondary Cisco CallManager is active.
When the primary CallManager comes back the primary CallManager sends a
MGCP UDP connection attempt. The VG200 sends an empty MGCP NTFY
message to the primary CallManager and the VG200 sends a TCP keep alive
connection.The MGCP parameters with the VG200 allow the GW to switchback
to the primary CCM upon MGCP UDP detection. The CLI defines the level of
gracefulness for the switchback.
The following is the command for the VG200 for the CallManager redundancy
switchback:
[no] ccm-manager switchback
[immediate|gracefully|delay<delay_time>|schedule-time]
SMDI
Voice Mail
The VG200-MGCP integration with legacy voice mail allows the Cisco
CallManager to associate a port with a voice messaging mailbox and connection
and is widely homologated.
The figure above shows the command line interface (CLI) of the VG200 after a
show run command.
The MGCP has been a DTMF-relay for all modes out-of-band. You can also
identify what type of switchback occurs when going from the secondary
CallManager to the primary CallManager (immediate). On dial-peer voice 4 pots,
the application used is MGCPAPP on port 1/1/1 (The command MGCPAPP is
case sensitive).
MGCP port configuration is done through the MGCP configuration within the
Cisco CallManager administration. Prior to configuring MGCP ports on the
VG200, you have to add a MGCP gateway in the Cisco CallManager
administration. Select which MGCP gateway to configure from the left side bar
as shown in the figure above. Next, select the endpoint identifier you would like
to configure.
After you have selected your endpoint identifier, select Add DN from the left
column. A new window will appear that you will be able to assign a directory
number for the port you selected.
In MGCP Member Configuration select the enpoint identifier of the FXS port
and then select the port type [Ground Start|Loop Start].
CallManager
3.0 IOS 12.0(7)T out-of-band
DTMF relay via H.245
The IOS router gateways use the IOS 12.0(7)T out-of-band DTMF relay via
H.245 to communicate with the CallManager. The IOS router gateways use
H.323v2, which eliminates the need for software MTP.
CallManager 3.0
CallManager 3.0
V PSTN V PSTN
IOS GW IOS GW
Design Characteristics
IOS router gateways use the H.323v2 that allows for gateway to CallManager
integration without MTP and provides for greater scalability. In order to use
H.323v2 and H.245 DTMF relay you must have a minimum of Cisco IOS
12.0(7)T and Cisco CallManager 3.0.
The figure above shows the H.323v2 Cisco CallManager redundancy CLI
commands.
The Cisco 3810 router is one of the IOS gateways that can be used in the Cisco
IP Telephony Network. Use the 3810 version 3 and only the High Compression
Module (HCM) card can support DTMF-relay. The Cisco 3810 supports G.711,
G.723.1, and G.729 codec. The Cisco 3810 can accommodate FXS, FXO, E &
M, T1/E1 CAS, and T1/E1 QSIG.
The Cisco Routers 2600/3600 can support the following features that work in the
Cisco IP Telephony Network:
■ H.323v2
■ Analog MGCP 12.1(3)T—Cisco CallManager support in 3.0(1)
■ FXO battery reversal detection on disconnect
■ T1/E1 QSIG 12.0(7)XK
■ T1E1 PRI 12.1(2)T
The following tables are quick reference guides to the Cisco H.323 gateways for
the following topics:
■ PSTN interfaces
■ QoS and PPP
■ QoS and frame relay
Note Catalyst gateways and DSP resources will be discussed later in this course.
Single-Site Enterprise
Characteristics
• G.711 voice on all gateways to eliminate
configuration complexity and maximize voice quality
in a high bandwidth environment
• Because G.711 is used, there is no requirement for
FAX-relay
• DTMF-relay is a design requirement for application
interaction
• Support for supplementary services such as hold,
transfer and conference
• Support for CallManager failover in a clustered
environment
• As the size of the enterprise installation grows,
hardware based conferencing
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? -51
Analog Connection
Considerations
• Use analog connection to PSTN when there is no
other choice
• Use VIC-2FXO-M1 (-M2 for CE countries) if using
FXO interfaces to connect to the CO
• 4 port BRI VIC, the 2BRI-S/T-TE is another option to
provide DID support
2xVIC-2FXO-M1
PSTN
Stackable
Catalyst 3500s
V
IP WAN
2600
V
VG200 2xVIC-2FXS
Consider the following when you have a digital connection to the PSTN:
■ Use PRI when possible using the DT-24+/DE-30+ or Catalyst 6000 with the
Cisco CallManager 3.0 or higher.
■ The Cisco 2600 and 3600 will have PRI in 12.1(2)xx.
■ The Catalyst 4000 will have both PRI and CAS.
PSTN
V
IP WAN
The figure above shows a 500 user single-site enterprise design using the
Catalyst 4000 for T1 PSTN connectivity.
Whenever possible, connect to the PSTN using PRI interfaces. PRI can provides
DID and CLID natively. The DT-24+/DE-30+ and Catalyst 6000 Voice Gateway
module offer PRI PSTN connectivity at FCS. Also coinciding with the release of
CCM 3.0 and the voice modules for the Catalyst 4000, the Catalyst 6000 will
add support for Legacy telephony interfaces, IP-to-IP packet transcoding
services, conferencing services, and in-line power to Cisco IP telephones
through new voice modules. Conferencing, MTP/transcoding, and powered
Ethernet services will be addressed in later sections. The voice gateway module
for the Catalyst 6000 is very pertinent to deploying AVVID networks. The
Catalyst 6000 Voice Gateway module provides eight ports of T1/E1 PRI
connectivity to the PSTN and Legacy PBX systems. The PRI ports can be
configured as either user-side or network-side ISDN, increasing the flexibility of
the design.
For large numbers of analog interfaces, a new card, the WS-X6624-FXS, can be
added to the Catalyst 6000 installed in the network core. The WS-X6624-FXS
module, a 24 port analog module for the Catalyst 6000 and 6500 line of switches,
is ideal for connecting Polycom conferencing phones, GIII fax machines and
modems throughout the building. The figure above is an example of a central
6509 supporting all analog devices, a 3640 connecting to the PSTN with a T1
interface, and Catalyst 3500s in the wiring closets providing Ethernet
connectivity for IP phones and desktop computers.
V V
Catalyst 4006 IP WAN
2600
FXS Interfaces
The figure above shows a 100-500 user, single-site enterprise AVVID design.
When DID capable DS0s are required, and PRI is not available, a common
design is to connect to the central office switch using a CAS T1. Typically, a
customer will designate some of the timeslots for local PSTN access and other
timeslots for connecting to their long distance carrier. The figure above shows a
diagram of the single-site, small enterprise deployment using an IOS gateway
configured with ds0-groups for DID local PSTN access and long distance access
with the Catalyst 4000 providing FXS connections for GIII FAX.
controller
controller T1
T1 1/0
1/0
framing esf
framing esf
linecoding
linecoding b8zs
b8zs
ds0-group
ds0-group 11 timeslots
timeslots 1-10
1-10 type
type ground-start
ground-start
ds0-group
ds0-group 2 timeslots 11-16 type
2 timeslots 11-16 type ground-start
ground-start
dial-peer
dial-peer voice
voice 11 pots
pots
destination-pattern
destination-pattern 9? 9? ??
Port 1/0:1
Port 1/0:1
dial-peer
dial-peer voice
voice 22 pots
pots
destination-pattern
destination-pattern 8? 8? ?? . .
port 1/0:2
port 1/0:2
A 100-500 user, small enterprise gateway matrix is detailed in the table above.
The new VG200 stand-alone gateway, Catalyst 4000 WS-X4606-GWY, and
Catalyst 6000 WS-X6608 are listed as well as the traditional IOS gateway. Note
that the Voice Compression column only lists the codecs that are pertinent in
AVVID architectures. The IOS gateways support many more compression
algorithms, however, Cisco CallManager devices only support G.711, G.729,
G.723.1, or G.729/729a.
* Voice compressions listed as pertinent to AVVID networks only.
** With the WS-6182-2PA
*** Using the MTP transcoding feature, G.729a and G.723.1 can also be
supported.
A 2,500-user enterprise gateway matrix is detailed in the figure above. Note that
the Voice Compression column only lists the codecs that are pertinent in
AVVID architectures. The IOS gateways support many more compression
algorithms, however, Cisco CallManager devices only support G.711, G.729a, or
G.723.1.
* Voice compressions listed as pertinent to AVVID networks only.
** With the WS-6182-2PA
*** Using the MTP transcoding feature, G.729a and G.723.1 can also be
supported.
Buildings
Catalyst 6500s
Campus / MAN
WS-X6608-x1 T1/E1 PRI Backbone FXS Lines
Catalyst
6500s
Voice Mail
PSTN
Note Cisco IOS 12.0(7)T is required to enable network-side ISDN. The VoIP enabled
Cisco AS5300 is homologated for use most countries.
A 10,000 user, campus gateway matrix is detailed in the figure above. Note that
the Voice Compression column only lists the codecs that are pertinent in
AVVID architectures. The IOS gateways support many more compression
algorithms, however, Cisco CallManager devices only support G.711, G.723.1,
or G.729a.
* Voice compressions listed as pertinent to AVVID networks only.
** With the WS-6182-2PA module
*** Using the MTP transcoding feature, G.729, G.729a and G.723.1 can also be
supported.
Select
Selectone
oneof
ofthe
thefollowing
followinggateways
gateways
The figure above is a layered slide that demonstrates the cisco CallManager
Administration pages you will use to add a Cisco analog gateway in the
CallManager database. Use the following procedure:
1. Open Cisco CallManager.
2. Select Device > Add a New Device. The Add Device screen appears.
3. Select Device Type > Gateway.
4. Select the Gateway Type. Analog gateways include the following:
■ Cisco AS-2, AS-4, and AS-8 Gateways
■ Cisco AT-2, AT-4, and AT-8 Gateways
■ Cisco Catalyst 6000 24 Port FXS Gateway
5. Select Device Protocol > Access Analog.
6. Click Next. The Gateway Configuration screen appears.
See the following page that describes the analog gateway configuration settings.
7. Enter the appropriate settings, as described above and in the table on the
following page, and then click Insert.
Load Specifies the custom software for gateway. Values entered here override
Information the default values for this
gateway.
Country Code The country in which the gateway is located. Select the country in which
the gateway is located from
the drop-down selection box.
Port Selection Specifies the order in which ports are selected. Valid entries are
Order TOP_DOWN selects ports in descending order, TOP_DOWN or
from port 1 to port 8. BOTTOM_UP selects ports BOTTOM_UP. If you're not
in ascending order, from port 8 to port 1. sure which port order to use,
choose TOP_DOWN.
The following are Cisco digital gateways you can add to CallManager:
■ Cisco DT-24 + Gateway
■ Cisco DE-30+ Gateway
■ Cisco Catalyst 6000 T1/E1 VoIP Gateway
Select
Selectone
oneof
ofthe
thefollowing
followinggateways
gateways
Enter the appropriate settings as described in the following table and following
pages, Access Digital PR1 Gateway Configuration Setting, on the next page.
8. Click Insert. The Gateway Configuration screen appears.
MAC Address Identifies hardware-based telephones and Value must be 12 hexadecimal characters.
device name.
Load Specifies the custom software for gateway. Values entered here override the default values for
Information this gateway.
TX-Level CSU Specifies the transmit level based on the Select one of the alternative settings to attenuate
distance between the gateway and the the line.
nearest repeater. The default is full power
(0dB). -7.5dB
-15dB
-22.5dB
Channel Specifies the order in which ports are Valid entries are TOP_DOWN (last to first) or
Selection enabled from first (lowest number port) to BOTTOM_UP (first to last). If you're not sure which
Order last (highest number port), or from last to port order to use, choose TOP_DOWN.
first.
PCM Type Specifies the digital encoding format. Choose from the following:
A-law Use for Europe and the rest of the world
µ-law Use for North America
Clock Specifies from where the clock is derived. Select Internal or Network.
Reference
Cisco Catalyst 6000 blades have eight ports Internal—When clocking is derived from the card
on the same hardware card, each of which and is then distributed at the span.
can be used as a clock reference by other
ports on the same blade. Network—When the Cisco Access Digital Trunk
Gateway receives its clocking from the network.
Span 1 to Span 8—When the Cisco Access Digital
Trunk Gateway receives clocking from another port
on the same Cisco Catalyst 6000 blade.
Protocol Side Setting used for Cisco Digital Access Read only. To change the Protocol Side setting, you
gateways depending on if gateway is must delete this device and add a new device with
connected to a Central Office/Network the correct information.
device or to a User device.
User—used for any Cisco IP Phone, Conference
The two ends of the PRI connection should Bridge, Media Termination Point, Cisco TAPI Port,
use opposite settings. For example, if you Cisco TAPI Route Point, and H.225 client
are connected to a PBX and the PBX uses applications such as NetMeeting.
User as its protocol side, Network should be
chosen for this device. Typically, this option Network—used for a Cisco Access Analog device,
is User for Central Office connections. an H.323 gateway, another Cisco CallManager, or
Robbed Bit signaling T1 gateway. Used for Cisco
Access Digital if gateway is connected to a User.
device.
Caller ID DN The pattern you want to use for Caller ID, For example, in North America:
from 0 to 24 digits.
555XXXX = variable Caller ID, where X is equal to
an extension number. The CO appends the number
with the area code if you do not specify it.
5555000 = Fixed Caller ID. Use when you want the
corporate number to be sent instead of the exact
extension from which the call is placed. The CO
appends the number with the area code if you do
not specify it.
Calling Party Determines which directory number is sent. The following options specify which directory
Selection Any outbound call on a gateway can send number is sent:
directory number information.
Originator—send the directory number of the calling
device.
First Redirect Number—send the directory number
of the redirecting device.
Last Redirect Number—send the directory number
of the last device to redirect the call.
Delay for first Controls the rate at which the spans are Use this option when many PRI spans are enabled
restart (1/8 sec brought in service when and Inhibit Restarts on a system and Inhibit Restarts at PRI Initialization
ticks) at PRI Initialization is disabled. is disabled. For example, set the first five cards to 0,
and set the next five cards to 16. (Wait two seconds
before bringing them in service.)
Num Digits Specifies the number of significant digits to This field is used if you enable Sig Digits. It is used
collect, from 0 to 32. for the processing of incoming calls and indicates
the number of digits starting from the last digit of the
Significant digits are counted from the right called number used to route calls coming into the
(last digit) of the number called. PRI span. See Prefix DN and Sig Digits.
Sig Digits Represent the number of final digits a PRI Enable or disable this box depending on whether
span should retain on inbound calls. A trunk you want to collect significant digits.
with significant digits enabled truncates all
but the final few digits of the address If disabled, the Cisco CallManager does not truncate
provided an inbound call. the inbound number.
If enabled, you also need to choose the number of
significant digits to collect
Prefix DN Specifies the prefix digits that are For an example of how these capabilities work
pre-pended to the digits this trunk receives together, assume you have a trunk to the central
on incoming calls. The Cisco CallManager office that is configured as DID (Direct Inward Dial).
adds prefix digits after first truncating the To people in the public network, the trunk is
number in accordance with the Significant accessed by dialing 555-3000 through 555-3999.
Digits Enabled and Number of Digits to Because the trunk is configured as DID, however,
Collect settings. the central office provides only the last four digits on
inbound calls—the incoming trunk sees calls
Prefix Digits apply only to the processing of arriving for addresses within the range of 3000-
INCOMING calls. 3999. Assume that your internal directory numbers
are configured within the range 8000-8999. That
your local exchange carrier gave you a block of
numbers in the 3000-3999 ranges is an annoyance,
and you don not want to have to configure all your
users with one directory number for inside calls and
one for outside calls. By specifying a prefix digit of 8
and a significant digit count of 3 on the DID trunk,
you tell the Cisco CallManager to discard all but the
last three digits of any inbound number and then
append the digit 8 in front of what remains. This
configuration allows you to map the inbound
numbers to your internal numbering plan.
Presentation Determines whether the central office Allowed Select if you want the Central Office to send
Bit transmits or blocks caller ID. caller ID.
Restricted Select if you do not want the Central
Office to send caller ID.
Called party IE The format for the 'Type of Number' in Use the following definition for each of the variables:
number type called party directory numbers. Cisco
unknown CallManager sets called DN 'Type of CallManager—The Cisco CallManager sets the
Number'. We recommend you do not directory number type.
change the default value unless you have International—Use when you are dialing outside the
advanced experience with dialing plans, dialing plan of your country.
such as NANP or the European dialing plan.
You may need to change the default in National—Use when you are dialing within the
Europe because Cisco CallManager does dialing plan of your country.
not recognize European national dialing
patterns. You can also change this setting Unknown—The dialing plan is unknown.
when connecting to PBXs using routing as a
non-national type number.
Calling party The format for the 'Numbering Plan' in Use the following definition for each of the variables:
IE number called party directory numbers.
type unknown CallManager—The Cisco CallManager sets the
Cisco CallManager sets called DN directory number type.
'Numbering Plan'. We recommend you do
not change the default value unless you International—Use when you are dialing outside the
have advanced experience with dialing dialing plan of your country.
plans, such as NANP or the European National—Use when you are dialing within the
dialing plan. You may need to change the dialing plan of your country.
default in Europe because Cisco
CallManager does not recognize European Unknown—The dialing plan is unknown.
national dialing patterns. You can also
change this setting when connecting to
PBXs using routing as a non-national type
number.
Called The format for the 'Numbering Plan' in Use the following definition for each of the variables:
Numbering called party directory numbers.
Plan CallManager—The Cisco CallManager sets the
Cisco CallManager sets called DN Numbering Plan in the directory number.
'Numbering Plan'. We recommend you do
not change the default value unless you ISDN—Use when you are dialing outside the dialing
have advanced experience with dialing plan of your country.
plans, such as NANP or the European National Standard—Use when you are dialing within
dialing plan. You may need to change the the dialing plan of your country.
default in Europe because Cisco
CallManager does not recognize European Private—Use when you are dialing within a 'private'
national dialing patterns. You can also network. Unknown—The dialing plan is unknown.
change this setting when connecting to
PBXs using routing as a non-national type
number.
Calling The format for the 'Numbering Plan' in Use the following definition for each of the variables:
Numbering calling party directory numbers.
Plan CallManager—The Cisco CallManager sets the
Cisco CallManager sets calling DN Numbering Plan in the directory number.
'Numbering Plan'. We recommend you do
not change the default value unless you ISDN—Use when you are dialing outside the dialing
have advanced experience with dialing plan of your country.
plans, such as NANP or the European National Standard—Use when you are dialing within
dialing plan. You may need to change the the dialing plan of your country.
default in Europe because Cisco
CallManager does not recognize European Private—Use when you are dialing within a 'private'
national dialing patterns. You can also network. Unknown—The dialing plan is unknown.
change this setting when connecting to
PBXs using routing as a non-national type
number.
PRI Protocol The communications protocol for the span: Determine the switch to which you are connecting
Type and the preferred protocol, as follows:
4E—AT&T InterExchange carrier
Nortel Meridian—5E8 Custom
5E8 Custom—Cisco IP Phone (does not
conform to national ISDN standards) Lucent Definity—4ESS or 5E8
5E9 and NI2—AT&T family local exchange Madge (Teleos) box—5E8 Teleos
switch or carrier
Intecom PBX—5E8 Intecom
Australian—European ISDN
Alternatively, select the protocol based on the
DMS—MCI family local exchange switch or carrier:
carrier
MCI—DMS-250
ETSI SC—European local exchange carrier
Sprint—DMS-250 or DMS-100
Euro—European ISDN
AT&T—4ESS
Inhibit restarts A restart is a message that confirms the Enable or disable When the D-Channel
Number of The number of digits to strip on outbound For example, 8889725551234 are dialed, and the
digits to strip calls, from 0 to 32. number of digits to strip is 3. In this example, 888
are stripped from the outbound number.
Zero Determines how the T1 or E1 span For a T1, this could be AMI (Alternate Mark
Suppression electrically codes binary 1's and 0's on the Inversion) or B8ZS (Bipolar 8-Zeros Substitution).
wire (line coding selection). For an E1, this could be AMI or HDB3.
Framing Determines the multiframe format of the The choices are (for T1).
span.
SF—superframe consisting of 12 frames.
ESF—extended superframe consisting of 24 frames.
E1 is always ESF (Extended Superframe, consisting
of 16 frames).
FDL Channel Determines what kind, if any, facility data Only relevant on T1 spans. Choices are:
link is supported by the span. The FDL is a
maintenance channel that allows remote ANSI T.401
troubleshooting of link-layer problems, and AT&T PUB 54016
remote monitoring of performance statistics
of the link.
Yellow Alarm Determines how a remote alarm indication Choices include F-bit (out of band signaling; allows
is coded on a T1 span. A yellow alarm 64kbps clear channel bearer capability per B-
indicates that the other end of the link has channel), or bit-2 (in band signaling; robs bit 2 of
lost frame synchronization on the signal every channel).
being transmitted by this end.
Adjustment to Specifies the gain or loss applied to the Select the gain or loss you want applied to the
Received received audio signal relative to the port received audio signal relative to the following port
application type. application types:
AnalogCOTrunk—Minus3db
Audio Signal
DigitalToAnalogCO—NoDbPadding
AnalogTieTrunk—NoDbPadding
DigitalToDigitalCO—NoDbPadding
ISDNStation—NoDbPadding
ISDN_DigitalTieTrunk—NoDbPadding
ISDNTrunk—NoDbPadding
OnPremisePOTSLine—Plus3db
OffPremisePOTSLine—NoDbPadding
SatelliteAnalogTieTrunk—NoDbPadding
SatelliteDigitalTieTrunk—NoDbPadding
AnalogTollTrunk—Plus3db
Adjustment to Specifies the gain or loss applied to the Select the gain or loss you want applied to the
Transmitted transmitted audio signal relative to the port transmitted audio signal relative to the following port
Audio Signal application type. application types:
AnalogCOTrunk—Minus6db
Card When you set this option, the Device Only appears on a DT-24 Gateway.
Locations Wizard--Slot Position screen appears.
Follow the diagram in the Device Wizard. A slot position refers to the peripheral component
interconnect (PCI) card slot into which the digital
signal processor (DSP) card is plugged. When
adding a new card to the digital access, always add
cards from right to left when viewing the gateway
from the back. The first (oldest) card should be in
the right-most slot (labeled 1 in the Device Wizard),
and each subsequent card should be installed in the
next available slot position, moving from right to left.
If you have existing cards that were not installed in
the right-most positions, move the original cards to
the right-most slots before adding the new card.
Caller ID DN The pattern you want to use for Caller ID, from 0 For example, in North America:
to 24 digits.
555XXXX = variable Caller ID, where X is equal to
an extension number. The CO appends the number
with the area code if you do not specify it.
5555000 = Fixed Caller ID. Use when you want the
Corporate number to be sent instead of the exact
extension from which the call is placed. The CO
appends the number with the area code if you do
not specify it.
Calling Party Any outbound call on a gateway can send The following options specify which directory
Selection directory number information. This field number is sent:
determines which directory number is sent.
Originator—send the directory number of the calling
device.
First Redirect Number—send the directory number
of the redirecting device.
Last Redirect Number—send the directory number
of the last device to redirect the call.
Presentation Bit Determines whether the central office transmits Allowed Select if you want the Central Office to
or blocks caller ID. send caller ID.
Restricted Select if you do not want the Central
Office to send caller ID.
Gatekeeper A Gatekeeper is an H.323 entity on the LAN that If your device is not gatekeeper controlled, select
registration provides address translation and controls None.
access to the LAN for connections between
H.323-compliant devices such as terminals and If your device is registered with the Cisco
gateways. Use only for H.323-compliant CallManager gatekeeper, select Local.
gateways. All other devices do not use this box. If your device is registered with a specific remote
gatekeeper, select Remote.
Gatekeeper The Domain Name Service (DNS) name or IP Use only for H.323-compliant gateways. All other
Name address of the H.323 gatekeeper. devices do not use this box. This is an optional box.
If Remote is selected as the Gatekeeper
Registration, type a Gatekeeper Name (optional).
Media Determines whether or not a Media Termination Used for H.323 clients only.
Termination Point Point is used to implement features that H.323
Required does not support (such as hold and transfer).
7. Click Insert.
Summary
• Cisco CallManager 3.0 supports three types of
gateway protocols: skinny, H.323, and MGCP.
• Out-of-band signaling for carrying DTMF tones
across VoIP provides a solution for codec
induced symptoms.
• IOS gateways support H.323v2, which can
support supplementary services and eliminates
the use of software MTP.
Review Questions
Q2) Of the CIPT gateways, which gateway models support skinny gateway protocol?
Q3) The Media gateway protocol is supported by Cisco CallManager 3.0. What is the
hardware that supports MGCP?
Overview
This chapter describes Catalyst digital signal processor (DSP) resources, with
emphasis on two new Catalyst 4000 and Catalyst 6000 voice modules, and
discusses how to provision these resources. These new modules are the WS-
X4604-GWY for the Catalyst 4000 and the WS-X6608-T1 (WS-X6608-E1 for
countries outside the USA) for the Catalyst 6000. They can perform
conferencing and media termination point (MTP) transcoding services in
addition to serving as a PSTN gateway.
This chapter includes the following major sections:
■ Objectives
■ Understanding the Catalyst DSP Resources
■ Catalyst 4000 Voice Services
■ Catalyst 6000 Voice Services
■ Catalyst Conferencing Services
■ Catalyst MTP Transcoding Services
■ Installation in Cisco CallManager Administration
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a list of Cisco IP telephony design details, identify and describe the
design details related to hardware conferencing.
■ Given a list of Cisco IP telephony design details, identify and describe the
design details related to hardware MTP/transcoding.
■ Given a Catalyst 6000 with the WS-X6608-T1 or WS-X6608-E1 installed,
install and configure conferencing and MTP/transcoding resources in the
Cisco CallManager administration.
■ Given a Cisco IP telephony network and DSP resources installed and
configured, invoke the DSP resources (conferencing or MTP/transcoding)
on a phone call.
H.323v1
Client
IP WAN
Router/GW Router/GW
V V
A transcoder is a device that takes the output stream of one CODEC and
transcodes (converts) it from one compression type to another compression type.
Specifically, G.723.1 or G.729a can be converted to G.711 and vice versa. As of
now this hardware resource is available on the Catalyst 6000 T1/E1 module.
Router/GW
V
Conferencing is the ability to speak with three or more persons on a phone call.
There are two types of conferencing, Ad Hoc and Meet-Me. An Ad Hoc
conference is when a user is on a call with another person and then wants to add
someone else on to the call. A Meet-Me conference is a phone conference that
individuals or groups of people use a phone device to call into one conference
number for a phone conference.
Catalyst 4000
• WS-X4604-GWY
Catalyst 6000
• WS-X6608-T1/WS-X6608-E1
The DSP resources on the new Catalyst 4000 and 6000 gateway modules
essentially provide hardware support for IP telephony features offered by the
Cisco CallManager. These features are hardware-enabled voice conferencing,
hardware-based MTP support for supplementary services, and MTP transcoding
services.
Catalyst enabled conferencing supports voice conferences in hardware. DSPs
convert G.711 voice sessions into TDM streams, which can then be mixed into a
conference call by another DSP. The Catalyst MTP service can either act like the
original software MTP resource or as a transcoding MTP resource.
An MTP service provides supplementary services such as hold, transfer, and
conferencing when using gateways that do not support the H.323v2 feature of
OpenLogicalChannel and CloseLogicalChannel with the EmptyCapabilitiesSet.
This is available as a software feature that can run on the CallManager or on a
separate NT server. When running in software on a CallManager, 24 MTP
sessions are supported. When running on a separate NT server, up to 48 MTP
sessions are supported. The new Catalyst gateway modules can support this
same functionality, but provide the service in hardware.
MTP transcoding is in effect an IP-to-IP voice gateway service. A transcoding
node can convert a G.711 voice stream into a low bit-rate (LBR) compressed
voice stream, such as G.729a. This is critical for enabling applications such as
integrated voice response (IVR), uOne messaging, and conference calls over
slow speed IP WANs. MTP transcoding is only supported on the Catalyst voice
gateways.
24 G.711 conferencing
Catalyst 4000 sessions?maximum of 16 MTP transcoding
104 G.711 sessions
WS-X4604-GWY 4 conferencing of 6 sessions
participants
16 G.711 conferencing
sessions per physical
Catalyst 6000 32 G.711 sessions port, maximum 16 MTP transcoding
WS-6608-T1 or per physical DS1 conference size of 6 sessions per physical
WS-6608-E1 port; 256 per module participants; 128 port; 128 per module
conference sessions per
module
The table shows the DSP resources that can be configured on the Catalyst voice
services modules. Some of these numbers may change in the future. The number
of users will determine the amount of resources needed. Every Cisco
CallManager must have its own DSP resources.
Future
TDM Bus Modules
VIC VIC VIC
= G.711 PSTN Gateway (104 Channels)
The PSTN gateway and voice services module for the Catalyst 4003 and 4006
switches, supports three analog voice interface cards (VICs) with two ports each,
or one T1/E1card with two ports and two analog VICs; the VIC interfaces can be
provisioned in any combination of FXO, FXS, or E&M. Additionally, when
configured as an AVVID gateway from the CLI, this module can support
conferencing and transcoding services.
The Catalyst 4000 voice gateway module can be configured in either toll bypass
mode or AVVID gateway mode. However, the module’s conferencing and
transcoding resources can only be configured in gateway mode. Once the
gateway mode is enabled, the module’s 24 DSPs (4 SIMMs with 6 DSPs each)
are automatically provisioned as follows:
■ PSTN gateway: 104channels of G.711 voice
■ Conferencing: 24 channels of G.711 conferencing
■ MTP transcoding: 14 channels of LBR-G.711 transcoding
voicecard
voicecard mtp
mtp
mtp-address
mtp-address <IP>
<IP>
manager-address
manager-address [<IP1>|<DNS1>]
[<IP1>|<DNS1>]
manager-address [<IP2>|<DNS2>]
manager-address [<IP2>|<DNS2>]
manager-address
manager-address [<IP3>|<DNS3>]
[<IP3>|<DNS3>]
voicecard conference
voicecard conference
conference-address
conference-address <IP>
<IP>
manager-address
manager-address [<IP1>|<DNS1>]
[<IP1>|<DNS1>]
manager-address
manager-address [<IP2>|<DNS2>]
[<IP2>|<DNS2>]
manager-address
manager-address [<IP3>|<DNS3>]
[<IP3>|<DNS3>]
Conferencing
Conferencing
Conferencing
Conferencing
Conferencingand
andMTP
MTPtranscoding
transcodingservices
servicescan
cannot
notcross
crossport
portboundaries
boundaries
The WS-6608-T1 (or WS-6608-E1 for European countries) is the same module
that provides T1 or E1 PSTN gateway support for the Catalyst 6000. This
module has eight CAS or PRI interfaces, each of which has its own CPU and
DSPs. Once the card has been added from the CallManager as a voice gateway,
it can be configured as a conferencing or MTP transcoding node. Each port acts
independently of the other ports on the module. Specifically, each port can only
be configured as a PSTN gateway interface, a conferencing node, or an MTP
transcoding node.
Whether acting as a PSTN gateway, a conferencing resource, or an MTP
transcoding resource, each port on the module requires its own IP address. The
port can be configured to have either static IP address or a DHCP provided IP
address. If a static IP is entered, a TFTP server address must also be added,
because the ports actually get all configuration information from the downloaded
TFTP configuration file. Once configured through the CallManager interface,
each port is capable of supporting one of the following configurations:
■ PSTN gateway mode: 32 sessions of G.711 voice
■ Conferencing mode: 16 conferencing sessions
■ MTP mode: 16 MTP transcoding sessions
IP WAN
Router/GW
Router/GW
DSP
The following points summarize the design capabilities and requirements of the
new Catalyst voice modules:
■ Maximum of 16 participants per conference call.
■ WS-X4604-GWY supports 24 conferencing sessions per module.
■ WS-X6608-T1 or WS-X6608-E1 supports 16 conferencing sessions per
physical port, 128 per module.
■ All conference calls are G.711 only.
■ MTP transcoding can be used to convert G.729a or G.723.1 to G.711 for
conference calls.
■ Each CallManager must have its own conference and MTP transcoding
resources, because the DSP resources can only register with one
CallManager at a time. CallManagers cannot share DSP resources.
The following additional points should be noted:
■ When provisioning an enterprise with conference ports, it is vital to know
how many callers will be attempting to join the conference calls from a
compressed CallManager region. Once the number of compressed callers is
identified, then the MTP transcoding resources can be accurately
provisioned.
■ Each configured CallManager should have its own conferencing module
associated with it, because conference bridges cannot register with more
Conferencing Caveats
Note One user requires one session or stream to connect into a conference, so if a
device registers 16 sessions or streams it is saying that it can support 16 parties
connected to conferences on that device.
IP WAN
Router/GW Router/GW
MTP
Uncompressed
UncompressedVoiceVoice Voice
VoiceCompression
Compression Hardware
Hardwarebased
based
(G.711)
(G.711) (G.723.1
(G.723.1or
orG.729)
G.729) MTP
MTPtranscoding
transcoding
in
inthe
thecampus
campus between
betweensites
sites services
services
Introducing the WAN into a CIPT implementation forces the issue of voice
compression. In the previous designs, all campus-oriented voice was
uncompressed (G.711) to provide the highest quality while incurring the fewest
complications. Once a WAN enabled CIPT network is deployed, voice
compression between sites is the recommended design choice. This calls into
question how WAN users use the conferencing services or IP enabled
applications, such as the uOne Messaging Server, which only support G.711
voice connections. The solution is to use hardware-based MTP transcoding
services to convert the compressed voice streams into G.711.
Each Cisco CallManager should have its own transcoding resource. Transcoding
resources can transcode from low bit-rate to high bit-rate and vice versa. For
example a G.729 call can be transcoded to a G.711, but may not be transcoded to
G.723. This is very helpful when deploying the CIPT solution across the IP
WAN. A case where a caller is across the IP WAN and needs to access their
voice mail (uOne Gateserver) that only allows G.711 codec. The transcoding
resource can take a G.729 codec call coming in across the WAN and convert it
to G.711 codec so the call can access their voice mail. In the transcoding
resource it produces its own jitter buffer of 20 to 40 ms.
IP WAN
Router/GW
Router/GW
DSP
IP WAN
Router/GW Router/GW
DSP DSP
Installation
The figure above is the last figure in a series of slides that show the Cisco
CallManager Administration pages used to install and configure the WS-6608-x1
in the Cisco CallManager.
After installing the WS-6608-x1 in to the Catalyst 6000 and configuring through
the CLI of the Catalyst 6000, install the device in the Cisco CallManager
administration. The module has eight ports, each with its own MAC and IP
address, and the resources can be allocated in the Cisco CallManager
administration.
Select Service and select either Conference Bridge or Transcoder to configure in
the Cisco CallManager Administration.
The following pages describe the steps used to configure conference bridge and
transcoding in the Cisco CallManager administration.
Conference Bridge
Configuration
Initial
InitialConference
ConferenceBridge
Bridge
Configuration Must
ConfigurationPage
Page Must
Reset
ResetDevice
Device
Port
PortMAC
MAC
Address
Address
Option:
ab? Modify
ab?auto
Option: inserts
autoModify
inserts
FB<MAC Address>
Description
FB<MAC Address>
Description
Select
Select
Device
DevicePool
Pool
The figure above is the last slide in a series of slides to demonstrate the Cisco
CallManager Administration pages used to install and configure Conference
Bridge resources in the Cisco CallManager.
Defaults
DefaultsNumber
Number
of
ofUsers
Users
Note You must reset each conference bridge device after making updates for the
changes to take affect. To do this, click Conference Bridge Configuration and select the
Conference Bridge device you want to reset. Next, click Reset Device and follow the
instructions in the Reset Device dialog box. Changes will only take place when there are
no active calls. When you click Restart, the changes are made immediately.
Select
SelectMeet
MeetMe
MeNumber
Number
to
toUpdate
Updateand
andDelete
Delete
The figure above is the final slide in a series of slides used to demonstrate the
Cisco CallManager Administration pages used to install and configure Meet-Me
Number and Pattern Configuration.
The following prerequisites must be met before proceeding with the steps:
■ Servers must be configured
■ Device pools must be configured
The procedure is as follows:
1. Open Cisco CallManager Administration.
2. Click Service > Conference Bridge.
3. Click Meet-Me Number/Pattern Configuration, from either the top right-
hand corner or the bottom right-hand corner of the page. The page refreshes
and the Meet-Me Number/Pattern Configuration page appears.
4. Enter a Meet-Me Numbers/pattern in the Pattern field.
5. Select a partition from the scroll menu in the Route Partition field.
6. Click Insert. The page refreshes and the new Meet-Me Numbers pattern
appears in the list on the left side of the page.
Update or Delete
1. From the Meet Me Number/Pattern Configuration page, select the Meet Me
Number/Pattern to Update or Delete. The page refreshes and the Meet Me
Number/Pattern Configuration page reflects the information related to the
Meet Me Number/Pattern selected.
2. Select either Update or Delete and confirm dialog box defaults.
Transcoder Configuration
Port
PortMAC
MAC
Address
Address
Modify
Modify
ab?
ab?auto
autoinserts
inserts
Description
TP<MAC
Description
TP<MAC
Address>
Address>
Select
Select
Device
DevicePool
Pool
The figure above is the final slide in a series of slides used to demonstrate the
Cisco CallManager Administration pages used to install and configure a
Transcoding resource in Cisco CallManager.
Summary
Review Questions
Q2) The transcoding resource supports G.711, G.729 and G.723. What codecs can
the transcoding resource transcode to and from?
Q3) When a caller across the IP WAN uses G.729 across the IP WAN to join a
conference, can that caller join the conference without a transcoding resource?
Cisco IP Phones
Overview
Cisco IP phones are full-featured telephones that can be plugged directly into
your IP network. In this section, the following topics are discussed:
■ Objectives
■ Understanding Cisco IP Phones
■ Configuring Cisco IP Phones and Features
■ Trace Basic Call Processing
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Given a Cisco IP phone, identify and describe the hardware components of
the Cisco IP phones.
■ Given a Cisco IP phone on a IP telephony network, identify and trace the
call processing between the phone and the CallManager.
■ Given a Cisco IP phone, add and configure a phone and change to a new
user with and with out auto-registration.
■ Given a Cisco IP phone on a IP telephony network, describe and identify
error codes and status messages.
Cisco IP Phones
12 SP+ Cisco IP
Phone 7960
Cisco IP
30 VIP
Phone 7910
This section describes and identifies the hardware components of the following
Cisco IP phones:
■ 12 SP+
■ 30 VIP
■ 7960
■ 7910—Available at Cisco CallManager 3.0(2) release
The Cisco IP Phone model 12 SP+ is an IP phone targeting the office user. This
phone supports 12 programmable line and feature buttons, and internal high-
quality two-way speakerphone, and microphone mute. The 12 SP+ also features
a 2-line LCD display of 20 characters per line for call status and identification.
An LED associated with each of the 12 features and line buttons indicates
feature and line status.
• Speakerphone with
automatic acoustic
echo cancellation
• Adjustable ringer
volume
• Hearing-aid
compatible
• Speaker on/off and
mute button
1 Line 1 Line 1
2 Line 2 Line 2
3 Redial 1 Redial
7 Hold 1 Hold
8 Transfer 1 Transfer
12 Conference 1 Conf
• 30 feature buttons
• Redial, transfer, hold,
and display
• Voice activity
detection
• Headset compatible
1 Line 1 Line 1
2 Line 2 Line 2
3 Line 3 Line 3
4 Line 4 Line 4
6 Redial 1 Redial
7 None 1 None
16 Conference 1 Conf
17 None 1 None
18 None 1 None
19 None 1 None
20 None 1 None
• Common Areas—hallway,
break room, reception or
office cubicle
• Medium telephone traffic
• Single line
• Display area: 2 x 24
character based
• 10BaseT
• Message waiting
• Basic features
The Cisco IP Phone 7910 has a single line appearance. The display area on the
Cisco IP Phone 7910 is 2 x 24 and is character based. The Cisco IP Phone 7910
has a message waiting indicator light on the handset and comes with other basic
features.
The basic feature member of the second-generation Cisco IP phone portfolio is
the 7910, primarily designed for common-use areas such as lobbies, break
rooms, and hallways that require basic features. This single-line phone also
provides four dedicated feature buttons, located prominently under the display
for Line, Hold, and Transfer. A system administrator can program an additional
group of feature access keys. The standard configuration for these keys includes,
speed dial, redial, messages, and conference.
The 7910 also provides a large character-based 2x24 character LCD display. The
display provides features such as date and time, calling party name, calling party
number, and digits dialed.
Additional buttons for call monitor speaker (used for on-hook dialing) and
handset volume control, and a ringer and mute button for the handset
microphone are arranged at the bottom of the set.
The Cisco IP Phone 7910 plugs into a standard RJ-45 Ethernet with one 10
BaseT interface. The 7910+SW model also supports 10/100 BaseT and has 2 RJ-
45 connections.
The foot stand of the 7910 is adjustable from flat to 60 degrees to provide
optimum viewing of the display and comfortable use of all buttons and keys.
Professional, Manager—
High or busy telephone traffic
Six lines—mix directory
numbers or features
Display area: calling
information, feature access
via soft keys, additional
display area for value-added
services and applications
Full duplex handsfree
Comfort noise
Built-in headset connection
10/100 BaseT, 3 Port switch
1 Line 1 Line 1
Because of the complexity of these new features, Cisco CallManager does not
control all phone features. Many features, such as the information button, soft
The Cisco IP Phone 7960 supports industry standard and Cisco networking
protocols required for voice communication. The following are the supported
networking protocols on the Cisco IP Phone 7960:
■ Internet Protocol (IP) is a messaging protocol that addresses and sends
packets across the network.
■ Voice over IP Protocol (VoIP) enables transfer of voice communications
over a data network using the internet protocol.
■ Bootstrap Protocol (BootP) enables a network device, such as the Cisco IP
Phone 7960 to discover certain startup information, such as its IP address.
■ Trivial File Transfer Protocol (TFTP) allows transfer of files over the
network and enables configuration files specific to the phone type to be
obtained.
■ Dynamic Host Control Protocol (DHCP) dynamically allocates and assigns
an IP address to network devices. DHCP also enables connection of the IP
phone into the network and become operational without manually assigning
an IP address and configuring additional required network parameters.
■ Cisco Discovery Protocol (CDP) is a device-discovery protocol that runs on
all Cisco-manufactured equipment. Using CDP, a device can advertise its
existence to neighboring devices and receive information about neighboring
devices in the network. The Cisco IP Phone 7960 uses CDP to communicate
information such as auxiliary VLAN ID, per port power management detail,
and QoS configuration information with the Cisco Catalyst switch.
■ Real-Time Transport protocol (RTP) enables an audio media stream to be
established between two Voice over IP devices.
■ User Datagram Protocol (UDP) is used by the RTP audio media stream and
uses UDP ports 16,384 through 32,767.
The skinny station protocol is an active stimulus/response protocol that has been
published. It is lighter than the corresponding H.323 terminal requirements in
both function and required message volume. A fully compliant H.323 device
would require implementation of H.225 and H.245.
The phone, in conjunction with the proxy services provided by the CallManager
service, is H.323 compliant. Voice with G.711 coding and combined with H.225
call setup and H.245 media control are done together.
The ITU-T has created recommendation H.323, which provides mechanisms for
establishing, controlling, and clearing information flows, including audio
information, between two H.323-compliant terminals. To implement a full
H.323-compliant terminal requires a high expenditure for computer power and
memory size. An H.323 proxy can be implemented in a relatively high-powered
server and can communicate to a simplified, skinny station efficiently using the
skinny station messaging system. Within the context of H.323, by implementing
the station telephone set as a skinny station over IP and using a proxy for H.225
and H.245 signaling, a relatively inexpensive IP phone (such as an 10Base-T
phone) is constructed.
Cisco’s IP phone solution has created a generalized messaging set that uses
skinny stations (Cisco IP phones) to coexist in an H.323 environment. Because
of the savings in memory size, processor power, and complexity, the IP phone
provides a user station that is user friendly and cost effective. When coupled
with an H.323 proxy, the skinny station can interoperate with H.323-compliant
terminals to establish, control, and clear audio calls.
H.323 devices are communications devices that comply with the H.323
communications standard. In the CIPT system, NetMeeting and H.323-compliant
third-party gateways are considered H.323 devices.
Cisco CallManager differentiates between NetMeeting and third-party gateways
by the protocol side assigned (can be configured in devices in Cisco
CallManager administration).
You can use the optional media termination point to enable features such as hold
and transfer on calls using H.323 gateways or clients and to provide A-law to µ-
law conversion.
Skinny
Skinny station
station (IP
(IP phone)
phone)
1 3 TAPI
TAPI (soft
(soft phone)
phone)
TCP Signaling 5 TCP Signaling
(Port 2000) 2 4 (Port 2000)
6
RTP Audio Stream (UDP Port 16384+)
IP Phone A IP Phone B
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—10-18
3 PSTN
Gateway
Gateway
4 Signaling
Signaling
2600 x3001 Protocols
Protocols
5
1/1/0 H.323v2
1 H.323v2
MGCP
MGCP
GW
2 Skinny
Skinny Gateway
Gateway
6
PBX
x1003
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—10-19
In this example, the CallManager is the H.232 proxy for the phone.
Making a call from an IP telephone to a H.323 device, such as a Cisco IOS
gateway that is connected to a PBX, directly to an extension, or to the PSTN,
uses a slightly different setup method. The IP telephone talks the skinny client
protocol, and the Cisco IOS gateway talks H.323.
The procedure is:
1. The telephone goes off-hook.
2. It plays the tones and you dial the digits you need to dial.
3. CallManager acts as a proxy.
4. CallManager sets up the call to the Cisco IOS gateway.
5. Once the Cisco IOS gateway is reached it answers the telephone.
6. An RTP stream is directly between the two devices and Cisco CallManager is
no longer involved in the process until call tear down occurs.
Load ID identifies the executable code image version for the phones. If left
blank, it specifies the default version. This is the case unless instructed by Cisco
consultants. The load images are downloaded to the phone the first time the
phone registers with CallManager. Any subsequent initialization (resetting) will
cause the phone to check the load ID with the CallManager; if it is the same, no
downloading is done. Load files (*.bin) are stored in the \TFTPPath directory on
the CallManager server at installation time.
A customized keypad template may be defined and assigned to a group of
phones.
There are default templates included with the CallManager:
■ Default 12 SP+
■ Default 30 VIP
■ Default 7960
■ Default 7910—Available with Cisco CallManager 3.0(2)
A different template can be configured for a phone before or after initial
registration. If done before, reset the phone so the template can take effect.
Device types are defined for both current and legacy equipment. Defaults are
used at the first registration of the phone with the CallManager to set the device.
There are two types of loads: phone loads and gateway loads. Loads are files that
contain updated application software. During installation or upgrade, the latest
loads are automatically provided. However, the phone can also receive a load
between releases that may contain patches or other information important to the
devices that use loads, such as phones or gateways. Users can enter the current
phone load ID for the Cisco CallManager version they are running, or leave this
field blank to use the system default.
The load ID is verified at every registration (reset) of the phone with the
CallManager. Any change will cause the phone to load new code.
There are load IDs for both current and legacy (no longer sold) instruments.
The Cisco IP Phones 7960 and 7910 are capable of using the following three
options for power. (Cisco IP Phones 12 SP+ and 30 VIP can only use option 3,
wall power):
■ Inline power
— Needs powered linecards for the Catalyst switches.
— The Catalyst will use Pins 1, 2, 3, and 6 (same as Ethernet) for
delivering negative 48 volts (-48V)
■ External power
— Needs external power patch panel
— The Patch Panel delivers negative 48 volts (-48 V) over Pins 4, 5, 7,
and 8
■ Wall power—needs DC converter for connecting IP phones to a wall outlet.
Note A combination of ways to power the Cisco IP phones can be used for
redundancy.
1. Phone Discovery
2. Provide Power
3. CDP
The following is the process used by the Cisco IP Phones (7960 and 7910) to get
inline power from the Catalyst switch.
■ Unpowered phone plugs into powered linecard port, with admin mode on the
switch set to auto or on.
■ Port senses the device using phone discovery mechanism and reports it to
the supervisor.
■ Supervisor checks power budget, allocates default amount and informs port
to apply –48V.
■ Port turns on power to the phone and reports link up to supervisor, once the
PHY on the phone is enabled.
■ If phone was powered by external patch panel or wall power, switch port
will report link up to supervisor.
■ Phone begins CDP exchange with the switch and gets its VLAN ID (VVID)
as well as reports actual power needed for operation.
■ Phone will now send a DHCP request on that VLAN for an IP address.
Adding and configuring a Cisco IP phone is done using the Cisco CallManager
administration. The following concepts are covered in this section:
■ IP address plan
■ Adding
■ Finding
■ Deleting
■ Resetting and updating
■ Assigning a user
■ Assigning a phone button template
■ Configure hook flash duration
■ Display current configuration
10.1.1.1
171.68.249.101
171.68.249.100
IP phone uses
Real IP addresses “10.0.0.0” Network Real IP addresses
IP phone + PC on IP phone + PC on
separate switch ports separate switch ports
IP phone uses
Real IP addresses “10.0.0.0” network
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—10-29
Cisco IP phones need IP addresses and the following recommendations are made
for IP addressing deployment. Is there enough address space to support “X”
number of phones? If not, use the following recommendations:
■ Continue to use existing addressing for data devices (PCs, workstations, and
so forth)
■ Add IP phones with DHCP as the mechanism for getting addressees.
■ If subnets are available in existing address space then use them for IP
phones.
■ If not, then use private addressing (network 10 or network 172.16 – 172.20).
■ LAN and private IP WAN will carry these routes and route between both the
address space.
■ WAN gateway to Internet should block private addresses, just like today
with data devices.
Select
SelectPhone
PhoneType
Type
Before a Cisco IP phone can be used, the phone must be added to Cisco
CallManager.
Before you begin, the phone must reset after making changes to apply the new
settings. These settings are not available for all phone types. Only the settings
appropriate to the model selected appear on screen.
Follow these steps to add a Cisco IP phone to Cisco CallManager.
1. Open Cisco CallManager Administration.
2. Select Devices > Add a Device. The Add Device page is displayed.
3. Select Device Type > Phone.
4. Select the appropriate model from the Model drop-down list.
5. Enter the appropriate settings as described in table on the following page.
6. Add a directory number to this phone.
Note These settings are not available for all phone types. Only the settings
appropriate to the model selected appear on screen.
Model Identifies the type of Cisco IP phone. Once you select the model, you
cannot modify it.
Device Name Identifies software-based telephones. Value can include 1-128 characters,
including alphanumeric, dot, dash,
or underscores.
Only available for software-based
phones.
Description Clarifies the purpose of the device. Can be user’s name or phones
location.
Load Specifies custom software for a Cisco Values entered here override the
Information IP phone. default values for the current model.
Button Template Determines the configuration of buttons Not available for software-only
on a phone and identifies which feature phones.
(line, speed dial, and so on) is used for
each button.
Directory Specifies the primary and secondary Used for Cisco IP Phone 7960 only.
Services URL servers from which the phone obtains
directory information.
Voice Mail URL Specifies the primary and secondary Used for Cisco IP Phone 7960 only.
servers from which the phone obtains
directory information.
Outgoing Caller Specifies the number to send as caller Used for H.323 clients only.
ID Pattern ID for outgoing calls.
Calling Party Determines what to display if a call to Used for H.323 clients only.
Selection this device is forwarded or transferred.
Media Determines whether or not a media Used for H.323 clients only.
Termination termination point is used to implement
Point Required features that H.323 does not support
(such as hold and transfer).
Directory Number
Directory Indicates a dialable phone number. Values must be 1-32 numeric characters, *, or
Number #.
Unique in combination with partition.
Partition Indicates the route partition to which Can appear in more than one partition.
the directory number belongs.
Unique in combination with the directory
number.
Appears only if configured in the system.
Calling Collection of partitions that are Changes cause update of the numbers listed
Search searched for numbers called from in the Call Pickup Group field.
Space this directory number.
Applies to all devices using this directory
number.
Call Waiting Specifies whether this directory Applies to all devices using this directory
number uses call waiting when a line number.
is busy (On), responds with a busy
signal (Off), or uses the system-wide
default setting (default).
Forward All Indicates the directory number to Any dialable phone number, including an
which all calls are forwarded. outside destination.
Applies to all devices using this directory
number.
Calling Indicates the calling search space to Applies to all devices using this directory
Search use when forwarding to the specified number.
Space destination.
Forward Indicates the directory number that a Any dialable phone number, including an
Busy call is forwarded to when the line is in outside destination.
use.
Applies to all devices using this directory
number.
Calling Indicates the calling search space to Applies to all devices using this directory
Search use when forwarding to the specified number.
Space destination.
Calling Indicates the calling search space to Applies to all devices using this directory
Search use when forwarding to the specified number.
Space destination.
Appears only if configured in the system.
Label Indicates the text for the line button Applies only to the current device.
on this phone.
Cisco IP Phone 7960—displayed on
the LCD.
Other Cisco IP phones—not
displayed but could be used when
printing button templates.
Disable ring Stops the phone from ringing to Applies only to the current device.
on this line indicate incoming calls.
External Indicates phone number (or mask) Maximum of 30 number and "X" characters.
Phone used to send caller ID information The X characters must appear at the end of
Number when placing a call from this line. the pattern.
Mask
Finding a Phone
Search Text
Follow these steps to search for a specific phone in the Cisco CallManager
database:
1. Open Cisco CallManager Administration.
2. Select Devices > Phone. The Find and List Phones page displays.
3. Select one of the following options from the Device Name menu:
— Device Name
— Description
— Directory Number
— Calling Search Space
— Device Pool
4. Select one of the following options from the begins with menu:
— begins with
— contains
— ends with
Finding a Phone
Use searching by Calling Search Space or Device Pool. If calling search space
or device pool is selected, the options available in the database display. Select
one of these options from the drop-down list box below the Find button:
■ Device Name
■ Description
■ Directory Number
■ Calling Search Space
■ Device Pool
■ Begins with
■ Contains
■ Ends with
■ Is exactly
■ Is not empty
■ Is empty
Deleting a Phone
Resetting a Phone
Updating a Phone
Feature Description
Answer/release Used in conjunction with a headset apparatus so the user can press a button on the
headset apparatus to answer and release (disconnect) calls.
Auto answer If this feature is programmed on the template, activating this button causes the phone
to go off-hook (speakerphone) automatically when an incoming call is received.
Call park Used in conjunction with a call park number or range so that when the user presses
this button, the call is parked at a directory number for later retrieval. You must have a
call park number or range configured in the system for this button to work, and you
should provide that number or range to your users so they can dial into the number(s)
to retrieve calls.
Conference When users press this button, they are initiating an Ad Hoc conference and they
expect to call other participants to conference them in one at a time. Only the person
initiating an Ad Hoc conference needs a Conference button. You must have
configured an Ad Hoc conference device in Cisco CallManager Administration for this
button to work.
Forward all Users press this button to forward all calls to the designated directory number. Users
can designate the forward all in the User Web pages, or you can designate a forward
all number for each user in Cisco CallManager Administration.
Hold Users press this button to place an active call on hold. To retrieve a call on hold, user
presses the flashing line button or lifts the handset and presses the flashing line
button for the call on hold. The caller on hold hears a tone every 10 seconds to
indicate the hold status. No configuration is necessary for this feature to work.
Line Users press this button to dial a number or to answer an incoming call. You must have
added line numbers on the user phone for this button to work. Line 1 is required on all
phones
Meet-Me When users press this button, they are initiating a meet-me conference and they
conference expect other invited users to dial into the conference. Only the person initiating a
meet-me conference needs a meet-me button. You must have configured a meet-me
conference device in Cisco CallManager Administration for this button to work.
Message waiting Users press this button to connect to the voice messaging system. For instructions on
connecting the message waiting directory number with a third-party voice mail system.
Redial Users press this button to redial the last number dialed on the Cisco IP phone. No
configuration is necessary for this feature to work.
Speed-dial Users press this button to speed dial a specified number. User can designate speed-
dial numbers in the User Web pages, or you can designate a speed-dial number for
each user in Cisco CallManager Administration.
Transfer Users press this button to transfer an active call to another directory number. No
configuration is necessary for this feature to work.
Modify
Modifyand
and
then
theninsert
insert
Label Text that appears when the template is Name or number for speed
displayed in the administration interface dials.
or printed on some Cisco IP phones.
Delete
DeletePhone
Phone
Button
ButtonTemplate
Template
Change
ChangeName
Name
or
or
Button
ButtonFeatures
Features
Then
Then
You can make changes to the default template templates included with Cisco
CallManager or customer templates you created.
Phone Features
• To display a phone’s
status code, press * *
• Code examples:
– 0x00400—Check sum error
– 0x00010—TFTP access
error
– 0x00001—DHCP disabled
The Cisco IP Phones 12 SP+ and 30 VIP have a digital display and can display
status codes. The normal status following a successful registration is 0x04800
boot patch installed, TFTP file received.
The status is a 20-bit code, presented as 5 hex digits in the documentation. Each
digit is interpreted independently. These values report status, not just errors.
A detailed list of the status codes can be found in the product documentation.
The following key sequences are examples of keystrokes that can be used to
access a range of information on the status of the phone, or to initiate tasks:
■ * Display load
■ ** Display status
■ ** 9 Display call bandwidth used
■ **# Displays DHCP information
■ ** # ** Reset with current saved values
1 DHCP is disabled
2 DHCP timeout
3 TFTP error
4 DNS error
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—10-42
If the phone is reset, a reset cause code will be displayed. The following can
result in any of the Cisco IP phones resetting:
■ Power loss
■ Loss of gateway—a gateway is disconnected or powers down.
■ Ethernet connectivity failure—Layer 1 problem
■ Keypad
— Entering ** # ** will cause the phone to reset using the current values
for the phone.
— Entering 0.0.0.0 for an IP address will cause the phone to reset.
■ CallManager administration directed reset from the device phone section
■ CallManager restart using control center or server reboot.
During a power outage, if a PC is connected through the hub in the phone, the
Ethernet connection to the PC is lost.
Codes that identify the cause of a reset are displayed at the Cisco 12 SP+ and 30
VIP Phones, as the reset initiates are the following:
■ Resetting E3 means that no TCP connection could be made to a
CallManager.
■ Resetting E4 means the DHCP has timed out and there is no configuration
information stored n the phone’s flash memory.
■ Resetting E5 means the phone is resetting in response to a
StationRegisterRejectMessage request from the CallManager was sent.
■ Resetting E6 means the configuration file contained invalid information.
■ Resetting E7 means the DNS failed on the TFTP server name.
■ Resetting E8 means the phone is resetting in response to a StationResetID
request from the CallManager.
■ Resetting E9 means that the phone is resetting in response to DHCP/BOOTP
server response of 255.255.255.255 for any of the following: Host, TFTP,
DNS, or Default gateway (router) IP address.
Detailed information on these codes can be found in the user documentation.
For example, the Cisco 12 SP+ and 30 VIP Phones automatically retry to register
after a previous registration attempt is denied because of insufficient user
licenses.
When the phone reaches a point where it can make and receive calls, all of the
boot status LEDs are cleared. Some occurrences during the boot process are
saved as network connection status. You can view the network connection status
at any time while the phone is running.
Detailed information on the status codes can be found in the user documentation.
Note The path to the trace page is in the Cisco CallManager Administration page,
services>trace.
The figure above is an example of a sample trace file. On the far right are
descriptions of the events picked up by the trace file.
Originators Information
The figure above lists the normal call detail record (CDR) fields and a
description of the fields.
■ GlobalCalIdentifier is the global call ID for this call.
■ CI is the originator leg call identifier.
■ CdrDateTime is the date/time of call origination.
■ SdlNodeId is the node within the CallManager cluster where the call
originated.
■ Dsl indicates the originator’s span or port.
■ IpAddr is the IP address of the originator of the call.
■ IpPort is the originator’s IP port number.
■ Partition is the originator’s partition that they are assigned to.
■ CdPNumDigits is the calling party number.
■ CdrCauseElement is the cause for termination.
■ TransportAddr is the media transport address.
■ MediaCapabilityStructure is the capability for the originating caller.
Summary
• Cisco IP phones use 10BaseT RJ-45 interfaces
to connect to the IP network.
• Skinny Station Protocol is used between the
Cisco CallManager and the Cisco IP phone.
• Auto registration assigns directory numbers to
phones connected to the network.
Review Questions
1. Is the Cisco CallManager involved with the
phone call after an RTP stream is established?
2. What are the networking protocols supported
by the Cisco IP 7960 Phone?
3. What are some events that cause the phone to
reset?
Q1) The Cisco CallManager handles the call control when making a call from an IP
phone to an IP phone. When an RTP audio stream, using UDP port 16384+, is
established between the two IP phones, does the Cisco CallManager stay
involved?
Q2) The Cisco IP Phone 7960 supports industry standard and Cisco networking
protocols required for voice communication. What are the networking protocols
supported by the Cisco IP Phone 7960?
Q3) The Cisco IP phones display a code when a phone resets. What are some of the
events that cause a Cisco IP phone to reset?
Cisco CallManager
Architecture
Overview
Cisco CallManager Version 3.0 architecture significantly enhances the
scalability, reliability, and interoperability of the enterprise IP telephony
solution. Multiple Cisco CallManager servers are clustered and managed as a
single entity. The capability of clustering multiple call-processing servers on an
IP network is unique in the industry and highlights the industry-leading
architecture of Cisco AVVID. Scalability for up to 10,000 users per cluster is
provided. Triple server redundancy improves overall system reliability.
The following topics are discussed in this chapter:
■ Objectives
■ Scalability, Reliability, and Interoperability
■ Cluster Operation and Scalability Guidelines
■ Redundancy
■ Campus Networking Cluster Guidelines
■ Intra and Inter-Cluster Communication
■ SQL Publisher/Subscriber Relationship Within a Cluster
■ Station Registration
■ Written Exercise
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a list of recommendations for building Cisco CallManager clusters,
identify the recommendations for a cluster of 5,000 users.
■ Given Cisco IP telephony devices connected to a primary Cisco
CallManager and the CallManager fails, list the steps in this process the
devices used to ensure reliability through redundancy.
■ Given a cluster of Cisco CallManagers, describe the process used that keeps
all the databases in the cluster up to date.
10,000
10,000users
usersper
per cluster
cluster
2500*
2500*users
usersmax
maxper
perCM
CM
SanJoseA
SanJoseF
San Jose
Cluster SanJoseB
SanJoseE
SanJoseD SanJoseC
**Even
Even after
afterfailover
failover
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-5
CM-D CM-C
X
CM-D CM-C
Devices
Deviceshomed
homedto
toCallManager
CallManagerDD Devices
Devicesre-home
re-hometo
toother
otherCallManagers
CallManagers
PSTN Apps-(3.0.2)
Apps-(3.0.2)
•TAPI
Gateways
Gateways •JTAPI
Skinny
Voice
VoiceMail
Mail
H.323
MGCP
Skinny (stimulus)
Cisco
CiscoCallManager
CallManager SMDI
Stations
Stations
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-7
Cluster Recommendations
Up to 2,500 Users
AAcluster
clusterof
oftwo
twoCallManagers
CallManagers
•• Single active CallManager
Single active CallManager
•• Dedicated
DedicatedPublisher
Publisheralso
alsoacts
actsas
asaastandby
standby
CM-A Publisher
Primary CallManager
CM-B
User’s 1 - 2500
A cluster of two Cisco CallManagers can support up to 2,500 users. Use one of
the Cisco CallManagers as the active CallManager and the other as the dedicated
backup.
In this example the publisher would be the backup and the subscriber would be
the active “primary” CallManager.
Cluster
Cluster
CM-A Publisher
Primary CallManager
CM-B User’s 1 - 2500
Primary CallManager
CM-C User’s 2501 - 5000
Redundancy
Redundancy
CM-D Backup for CM_B & CM-C Group
Group
Publisher
Cluster
Cluster
Primary CallManager
User’s 1 - 2500
Backup
Primary CallManager
User’s 2501 - 5000
IP Phone 1 1 1
E1 Gateway 3 30 90 Per E1
JTAPI Port 60 1 60
Many types of devices can register with a Cisco CallManager. These include IP
phones, voice mail ports, TAPI devices, JTAPI devices, gateways and DSP
resources such as transcoding and conferencing. Each of these resources will
carry a different weight. The table above details the weight for each of the
resource types. This is based upon the consumption of memory and CPU
resources.
The total number of devices that can be registered or controlled by CallManager
is platform dependent, and includes a maximum of 2500 IP phones. This is
demonstrated in the table below. As additional platforms are added this table
will be updated.
Even if only IP phones are registered to a CallManager the limit for IP phones is
a maximum of 2500. For each additional device added the total is decremented
by the weight multiplied by the number of sessions or DS0 added. When this
falls below 2500 for every integer below 2500, the number of IP Phones should
be reduced accordingly this is shown below:
■ Maximum devices per CM = 3000 (MCS 7830)
■ Maximum IP phones per CM = 2500
■ Actual IP phones = XXXX—installed resources with exception of IP
phones: Not to exceed 2500
CallManager Groups
Primary
• Each device
–IP phone
Secondary
–Skinny gateway
• Has a prioritized list
of up to three
Last Resort
CallManagers, which
it can connect. (max
of 3 recommended)
Redundancy Group
Configuration
The figure above shows how N+1 redundancy works with Cisco CallManagers
and attached devices. The following is the process of how N+1 redundancy
works:
■ Devices are homed into a Cisco CallManager (San JoseD). All nodes in the
network are connected and are relaying route and registration information to
each other.
■ San JoseD is powered off. The devices lose their connection to Cisco
CallManager San JoseD.
■ The devices re-home to other Cisco CallManagers, which then replicate new
route and registration information to each other.
■ Since device operation is identical, users may not notice that anything
happened.
Some of the issues with Cisco CallManager groups are that all groups are
configured manually and the devices are assigned to a group manually. There is
no easy way to identify which devices (IP phones, gateways, and so forth) are
members of which Cisco CallManager group and ensure the IP phones are
evenly distributed.
There is no reshuffle command to have IP phones evenly registered to active
Cisco CallManagers and members of Cisco CallManager groups.
The impact of these issues is that there is a limited number of allocated
resources to handle these activities and job functions.
3 required fields
• Region
• Time Zone
• CallManager redundancy group
Device pools are used to scale and simplify the distribution of CallManager
redundancy groups. A device pool allows the following three primary attributes
to be assigned globally to a device:
■ Region—Regions are required only if multiple voice codecs are used within
an enterprise. Regions define the voice codecs used within and between
regions.
■ Date/Time Group—Specifies date and time zone for a device.
■ CallManager redundancy group—Specifies a list of up to three
CallManagers, which can be used for call processing in a prioritized list.
In the above example, the same CallManager will be used. However, it is now
possible to specify inter region communication codec requirements as follows:
■ Intra-branch communication uses G.711.
■ Inter-branch communication uses G.729 across the wide area network
(WAN).
■ All calls to the G.711 region use G.711. This is required when accessing a
uOne voice mail system, for example.
Typically, the following will be true with respect to the configuration of device
pools. The exact model of clustering and device pools used will be driven by the
deployment model:
■ Single site cluster no WAN voice interconnectivity—Device pools will be
configured only based on CallManager redundancy groups. Typically a
maximum of four device pools assuming five CallManagers A, B, C, D and
E with the following redundancy groups AE, BE, CE, DE. The use of
regions in this scenario is not required as all calls are G.711.
■ Multi-site WAN distributed call processing
— Device pools will be configured as above but also with the additional
complexity of regions for codec selection. Each cluster could
potentially have a G.711 and G.729 region per CallManager redundancy
group.
— Total device pools = regions x CallManager redundancy groups.
■ Multi-Site WAN centralized call processing
— In this case only a single CallManager redundancy group exists.
However, a G.711 and G.729 region will be required per location to
permit intra-branch calls to be placed as G.711 and inter-branch calls to
be placed as G.729, for example.
— Total device pools = number of sites X regions.
IP Connectivity
• Minimum stated
bandwidth 10 Mbits
Publisher
Highly redundant
1 per cluster—data
center and UPS
Subscribers
One per building or all in
a data center—spatial
redundancy
Transcoding
application and
DSP MTP DSP MTP DSP
conference are not MTP
shared resources.
Hence each
CallManager will
require dedicated
MTP and transcoding
resources
MTP DSP MTP DSP
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-26
In the figure above, five buildings/sites exist and at each building/site a Cisco
CallManager is placed to provide call processing. This ensures that in the event
of a failure, local call processing is possible in each building/site. In cases where
diverse routing of fiber facilitates negates the requirement for a local call
manager all call processing could be located in a data center or centers.
Resources such as the transcoding application used for transcoding and the
conferencing DSP are not shared resources and must be provisioned per Cisco
CallManager. Once again, where fault tolerance is required, these resources
require duplication and spatial redundancy is recommended. This can be
achieved by positioning these resources in strategically placed multi-layer
switches.
Feature Transparency
Inter
Inter and
and intra-cluster
intra-cluster Intra-cluster
Intra-cluster only
only
•• Basic
Basic call
call setup
setup •• Calling
Calling party
party name
name
•• G.711
G.711 and
and G.729
G.729 calls
calls •• Call
Call park
park
•• Multiparty
Multiparty conference
conference
•• Call
Call transfer
transfer
•• Hold
Hold
•• Calling
Calling line
line identity
identity
Inter-Cluster Communication
Campus
H.323v2 between cluster
MTP not required
In a campus, gatekeeper not required
Cluster 1
Cluster 2
Where the requirement exists for a campus network that exceeds 10,000 users,
additional clusters are required. The required number of CallManagers is greater
than five additional CallManagers.
Communication between clusters is achieved using standards based H.323
signaling. With a large campus or metropolitan area network where once again
bandwidth is over provisioned and under-subscribed, a method of inter-cluster
call admission control is not required. The figure above demonstrates this
connectivity between clusters within a local area environment.
In the above diagram the dotted lines represent the configured H.323 inter-
cluster links. These are configured in pairs to provide redundancy in the event of
loss of IP connectivity to any member of the cluster. The recommendation,
however, is to limit inter-cluster configuration to two peers as this in the
majority of deployments will provide adequate resiliency.
Unlike CallManager 2.4, the use of a media termination point to allow
supplementary services for H.323 devices is not required.
CallManager 3.0 uses the empty capabilities set of H.323v2 that facilitates the
opening and closing of logical channels between H.323 devices. CallManager
clusters and IOS gateways running version 12.0(7)T or greater use logical
channels to provide functionality for supplementary services.
Cluster 1
Cluster 2
1.
1. Low
Lowlatency
latencyqueuing/class
queuing/classbased
basedweighted
weightedfair
fairqueuing
queuing
2.
2. Compressed
CompressedReal-time
Real-timeTransport
TransportProtocol
Protocol
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-33
Recommended Bandwidth
Configuration
Inter-Cluster
Inter-Cluster Calls
Calls
Using
Using G.711
G.711
Does
Doesthis
thiswork
workin
inCM
CM3.0?
3.0?Well,
Well,not
notexactly.
exactly.
CallManager(s)
HUB Branch - 1
Branch - 2
IP WAN
Branch - 3
Branch - (n)
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-35
For
Forlocations
locationsto
towork,
work,all
alldevices
devicesmust
mustregister
registerto
toaasingle
singleCM.
CM.
Locations
Locationsonly
onlyworks
workswith
withaacluster
clusterof
oftwo
two(primary
(primaryandandbackup).
backup).
Branch - 1
H.323
Branch - 2
Branch - 3
WAN
Campus Cluster
Cluster Branch - (n)
Cluster Internal
Communication
SQL
SQL Intra
IntraCluster
Cluster
Database
Database Messaging
Messaging
7830
Publisher
7820 7820
Subscriber Subscriber
7820 7820
Subscriber Subscriber
There are two primary intra-cluster communications. The first of these is the
database component packets that contain all of the device configuration
information. The Database used is SQL 7.0; configuration is stored and modified
on the Glasshouse database and replicated to all other members of the cluster.
The Glasshouse database is the publisher upon which all changes are made, and
those changes are replicated to the subscriber databases. This ensures that the
configuration is consistent across the members of the cluster as well as
facilitating spatial redundancy of the database.
The second intra-cluster communication is the propagation and replication of
run-time data such as IP phone registration and the registration of gateways and
DSP resources. This information is shared across all members of a cluster and
assures the optimum routing of calls between members of the cluster and
associated gateways.
This distributed communication between processes is unique to a distributed
system with a converged IP infrastructure.
The Structured Query Language (SQL) 7.0 Standard Edition plus Service Pack 2
is used to communicate internally in the Cisco CallManager cluster. There can
only be one publisher per cluster, which makes the remaining Cisco
CallManagers subscribers. All the configuration changes are made on the
publisher. The following is a formula to calculate the amount of TCP
connections within a cluster: (N -1) TCP connections (25CMs = 24
connections).
The Cisco CallManager cluster is fully meshed and communicates using real
time data. In a fully meshed environment the real time data is used to
communicate during phone/gateway registrations. The following is a formula to
calculate the amount of TCP connections within a fully meshed cluster:
(N * (N - 1)) TCP connections (6 CMs = (6 x 5) = 30 connections; 25 CMs = (25
x 24) = 600 connections).
Subscriber Subscriber
local database local database
database
Station Registration
To
Toother
otherCMs
CMs
Process
Processuses
uses“skinny”
“skinny”
CC
DA
2
7 1.1.Line
Line 3 Lineregister
registerrequest
request
2.2.Pattern
Patternlookup
lookuprequest
request
Manager LC 3.3.Pattern
4 Patternlookup
lookupresponse
response
1000 4.4.Create
Create
1 5 5.5.Line
Lineregister
registerconfirm
confirm
6
6.6.Station
Stationregisters
registersDN
DN
Station
1 7.7.DA
DAregister
registerDN
DN
LC
LC==Line
Linecontrol
control....CC
CC==Call
Callcontrol
control....DA
DA==Digit
Digitanalysis
analysis
The figure above illustrates the internal process used by a Cisco CallManager
when a station (IP phone or gateway) registers. The station is plugged into the
network and a line register request is sent to the line manager:
■ The line manager does a pattern lookup request in digit analysis (DA) to see
which directory numbers are available and then receives a pattern lookup
response from the digit analysis.
■ The line manager then creates a directory number (DN) in the line control
(LC) and then sends a line register confirmation to the station.
■ The station then registers the directory number with line control and then
line control registers the directory number with digit analysis.
If stations share line appearances, those shared line appearances will operate
through forwarded registration.
If a station registers with the a Cisco CallManager (A) and the Cisco
CallManager (A) determines that other Cisco CallManagers (X) are managing
one of its directory numbers, the Cisco CallManager (A) will maintain the
station registration and forward call processing messages to the other Cisco
CallManager (X) managing the directory number.
The next figure illustrates how the above description of multi-line operation
occurs internally on the Cisco CallManagers.
CC CC
DA
DA
Line Line
Manager LC Manager
LC
1000 1001
LC
LC==Line
Linecontrol
control....CC
CC==Call
Callcontrol
control....DA
DA==Digit
Digitanalysis
analysis
7
DA DA
Signaling
SignalingSequence
Sequence
10 9
2 3 1.1.Line
Lineregister
registerrequest
request
7 2.2.Pattern
Line Patternlookup
lookuprequest
request
Line 3.3.Pattern
Manager Patternlookup
lookupresponse
response
Manager 4.4.Create
4 Create
5.5.Line
Lineregister
registerconfirm
confirm
6.6.DA
DAregister
registerDNDN
11 7.7.DA
LC 8 DAregister
registerDNDN
1000 8.8.Line
Lineregister
registerrequest
request
1 5 9.9.Pattern
Patternlookup
lookuprequest
request
6 12 10.Pattern
10.Patternlookup
lookupresponse
response
11.Line
11.Lineregister
registerconfirm
confirm
Station Station 12.DA
12.DAregister
registerDNDN
CC DM CC DM
Route Route
List List
Station
1
Gateway Station
1
Gateway
GW
GW GW
GW
2nd
2ndgateway
gateway(same
(sameroute
routelist)
list)
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-46
CC DM CC DM
3
2 Route Route
List 4b List
4a
Station
1
Gateway Station
1
Gateway
1 5a 5b
GW
GW GW
GW
2nd
2ndgateway
gateway(same
(sameroute
routelist)
list)
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-47
Through intra-cluster communication, a call that uses a gateway can use either
gateway with the same route list. Call control is done in the Cisco CallManager
that the station is registered to. The gateway selection is controlled by the Cisco
CallManager providing the call control.
The following is the process used in the figure above:
1. Digits from the are dialed and go the station.
2. The station sends those digits to Call Control.
3. Call control matches those digits to the route list.
4. The route list uses either gateway assigned to the same route list.
5. Digits are passed to the gateway and completes the call.
to
to SanJoseD.All
SanJoseD. All nodes
nodes
in
inthe
the network
networkare are SanJoseE SanJoseB
connected
connectedand and are
are
relaying
relayingroute
routeandand
registration
registrationinformation
information SanJoseD SanJoseC
to
toeach
each other.
other.
Each Cisco IP telephony device has a primary Cisco CallManager. In the figure
above, three devices are homed (registered) to SanJoseD. All the nodes in the
network are connected and are relaying route and registration information to
each other using TCP or skinny.
SanJoseA
The
Thedevices
deviceslose
losetheir
their SanJoseE SanJoseB
connection
connection to CMSanJoseD.
to CM SanJoseD.
XSanJoseD SanJoseC
If the primary Cisco CallManager (SanJoseD) shuts down the devices homed
(registered) to that Cisco CallManager lose their connection. The devices realize
their primary Cisco CallManager is no longer there when they send their TCP
keep alive message and get no TCP acknowledgement.
The
Thedevices
devicesexperience
experienceonly
onlyaa
brief outage during rehoming
brief outage during rehoming
SanJoseE SanJoseB
•• Calls
Callsin
in progress
progressare are
maintained
maintainedififbetween
between
two
two phones
CM.
phoneson on failed
failed XSanJoseD SanJoseC
CM.
•• Gateway
Gatewaycalls
callsare
are
dropped (currently)
dropped (currently)
Since
Sincedevice
deviceoperation
operationis
is
identical,
identical,users
usersmay
maynot
notnotice
notice
that
thatanything
anythinghappened.
happened.
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-51
While the devices were still registered to the primary Cisco CallManager, TCP
messages were still being sent to the secondary. The devices now home to the
secondary Cisco CallManagers. Each device can have separate secondary Cisco
CallManagers.
The devices experience a brief outage during re-homing. If a call between two
phones on the same Cisco CallManager is in progress when this happens, the call
will be maintained. When the calls are terminated and the phones are on-hook,
the phones will then TCP to the primary, get no acknowledgement, and then re-
home to the secondary Cisco CallManager.
However, if the call is across multiple Cisco CallManagers or gateways, the calls
will be dropped.
Objective
In this exercise, you will complete the following tasks; identify the
characteristics of a cluster and define the servers and groups in a cluster.
Cluster Recommendations
Up to 10,000 users
1. TFTP
2. Publisher
3. Cluster
4. CallManager Redundancy Group
5. Backup
6. Primary Cisco CallManager 1—2,500 users
7. Primary Cisco CallManager 2,501—5,000 Users
Completion Criteria
You have completed the exercise when you have circled the cluster and
redundancy group and identified the clustered components.
Summary
Review Questions
Q1) Cisco CallManager clusters provide scalability and redundancy. What are the
two primary intra-cluster communications?
Q2) Cisco CallManager uses SQL database with Service Pack 2. What is the
relationship between the publisher and subscriber database when looking up
information?
Overview
As with any architecture, Cisco AVVID relies upon a strong and stable
foundation. This foundation is built upon the Cisco multiprotocol routers and
Catalyst Multilayer LAN switches that are used as building blocks for enterprise
networks.
This section discusses how to prepare your current LAN infrastructure for a
successful AVVID deployment. The concepts and implementation techniques
discussed apply equally to a campus of any size; be it a HQ environment with
tens of thousands of users to a small branch with less than a hundred users. What
will differ are the actual components/platforms selected and the level of detail in
terms of scalability, network availability, and functionality.
The following key areas are discussed in this section.
■ Objectives
■ Visual Objectives
■ Network Infrastructure
■ High Availability
■ IP Addressing
■ Quality of Service (QoS)
■ Power to IP Phones
■ Power Protection Strategies
■ Written Exercises
■ Summary
■ Review Questions
■ Laboratory Exercise
Objective
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a set of network topologies, you will be able to identify and select a
well-built network infrastructure.
■ Given a case scenario for IP addressing, you will be able to identify and
select the best option for IP addressing within the case scenario’s network.
■ Given a list of Catalyst switch commands, you will be able to identify the
correct command that enables VLAN ID.
■ Given a converged voice/data network, you will be able to list the QoS
issues and commands to ensure voice is a priority over data.
V V Catalyst
Switch
Voice-Enabled
Router Gateway
PSTN
Server Farm
CallManager
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—12-4
The following sections in this chapter provide a brief description of the concepts
and techniques used to prepare for AVVID deployment.
Note Plugging in shared hubs to the switch for device connectivity via these hubs is
not recommended and may interfere with the correct operation.
Note The switched connection shown going to a PC/Workstation can be used like
any standard 10/100M interface. For example, this connection can be used to connect
the Cisco IP phone to another switch for providing redundancy to the phone in mission-
critical environments. This will be explored a little more in later sections.
The ports on the back of the phone from left to right are the following:
1. RS-232—not used at this time
2. 10/100 SW is used to connect to the wall jack
3. 10/100 PC is used to connect to a downstream PC
Access
Layer 2
Distribution
Layer 3
Core
Layer 3
Distribution
Layer 3
Access
Layer 2
WAN Internet PSTN
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? 3-7
Connectivity Options
Single Port
Multiple
2 Ports
Soft Phone
3
IP Address Plan
Each IP phone needs an IP address and associated information like subnet mask,
default gateway, and so forth. This information can be provided by statically
configuring it on the phone or it can be provided via DHCP. In this section we
will discuss various options available for extending the IP addressing plan to
accommodate IP phones.
To meet this requirement, there are a few options:
1. Provide an IP address in the same subnet as the existing data device
2. Redo the entire IP addressing plan for the organization
3. Create a new subnet and use it for IP phones
All of the above mentioned options could be implemented using DHCP or static
configuration.
Since every phone needs an IP address in addition to the data device (PC or
workstation), it means that an organization’s requirements for IP addresses has
doubled. Although this concept is very straightforward, a significant number of
customers have IP subnets with more than 50% of their subnet addresses already
in use/allocated/assigned. This would mean that option 1 mentioned previously
couldn’t be implemented. If new addresses have to be assigned for IP phones out
of the existing subnets, then customers would have to renumber their IP
addressing plan. This is option 2 as mentioned previously and may not always be
feasible. One solution is to put the IP phones on a separate IP subnet. This
solution maps to option 3, soft phone.
The new voice VLAN is referred to as Auxiliary VLAN in the CatOS CLI for
configuration purposes. Traditionally in the switched world, we understand data
VLANs. This is typically where all the data devices reside. The new auxiliary
VLAN is used to collectively represent other types of devices. Today that device
is an IP phone and, hence, this could be thought of as a voice VLAN. In the
future if there are other types of non-data devices, they will fall in the auxiliary
VLAN.
The idea is that these non-data devices (IP phone) will reside in a separate
VLAN (auxiliary VLAN), which will make it easier for customers to automate
the process of deploying the phones. Just like data devices come up and reside in
the native VLAN (also referred to as default VLAN) of the switch, phones will
come up in the auxiliary VLAN if the switch has been configured as such. When
the phone powers up, it communicates with the switch via CDP. The switch will
provide the phone with the appropriate VLAN ID that was configured. This is
known as the Voice VLAN ID or VVID. This is very analogous to the data
VLAN ID that is known as Port VLAN ID or PVID.
To summarize, data devices reside in the native VLAN (or default VLAN) of the
switch and phones will reside in the auxiliary VLAN on the switch. Data device
VLAN (data subnet) is referred to as PVID and Phone VLAN (voice subnet) is
referred to as VVID.
This concept has quite a few merits. Besides making it very plug and play, it also
aids in applying advanced QoS concepts on a per VLAN (subnet) basis. The data
subnet may have different QoS settings and voice subnet may have more
different QoS settings.
VVID Configuration
The VVID is configured in the CatOS version 5.5 using the syntax set port
auxiliaryvlan <mod/port>.
In this example, the voice VLAN (VVID) has been set to the value 222 for ports
2/1 through 2/3. When the phone powers up, the switch will instruct it to be in
VLAN 222. This command can be used to set the VVID on a per port basis,
range of ports, or for an entire module.
VVID Status
Once the phone gets it voice subnet, it will issue a DHCP request on that subnet.
Listed below are some important steps in the process when an IP phone is
plugged into the network to preparing to make phone calls. Assuming that the IP
phone is already powered up:
1. IP phone will begin a CDP exchange with the switch. It will issue a trigger
CDP to force a response from the switch that will contain its Voice VLAN
ID (VVID) or voice subnet.
2. By default, IP phone is configured for DHCP. It will issue a DHCP request
on the voice subnet it got in step 1 above. In general, this is the
recommended mode of operation. Static addressing can be supplied to the
telephone, and you can enter the IP address manually, but this would prevent
mobility and increase requirements of technical personnel.
3. IP phone will get a response from the DHCP server in the network. As part
of that DHCP response, an IP address is supplied to the telephone. It is also
possible to supply the address of the TFTP server, from which the telephone
will get its configuration. Once again, the TFTP server address could be
specified manually but this would limit adds, moves, and changes and
remove some of the benefits. This TFTP server address can be given as part
of the DHCP response. This can be done several ways by configuring option
066 or custom option 150 on the DHCP server and specifying the address of
the TFTP server. The Cisco DHCP server supports this feature.
Note This process when an IP phone is plugged into the network preparing to make
phone calls takes about 90 seconds. To speed it up, turn on portfast and turn off port
channeling as well as trunking. This reduces the time taken to about 30 seconds.
171.68.249.101 10.1.1.1
171.68.249.100
IP phone + PC on IP phone + PC on
separate switch ports separate switch ports
IP phone uses
Real IP addresses “10.0.0.0” network
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—12-14
Domains of QoS
Consideration
Avoiding loss, delay,
and delay variation (jitter)
CallManager CallManager
Router Router
WAN
Multilayer Multilayer
Campus Campus
If you are running both voice and data on a common network then you need to
employ proper tools to ensure that the delay and loss parameters of voice traffic
are satisfied. The tools that allow you to ensure the required quality of service
are available as features in phones, switches, and routers.
10 Mbps
Switching Fabric
10 Gbps
The basic premise is that we need to protect voice traffic from being run over by
data traffic. This is done by classifying voice traffic as high priority and then
allowing it to travel in the network before low priority traffic. Classification can
be done at Layer 2 using the 3 bits in the 802.1p field (referred to as CoS) within
the 802.1Q tag or at Layer 3 using the 3 bits of IP Precedence in the TOS byte of
IP header. Classification is the first step towards achieving quality of service.
Ideally, this step should be done as close to the source as possible.
Once the end devices set CoS and/or ToS values, the switch can either trust them
or not trust them. This concept of trust is very important and is integral to
deploying QoS. If the switch trusts the value(s) it need not do any re-
classification and if does not trust the value(s) then it will have to perform re-
classification for appropriate quality of service levels. This notion of trusting or
not trusting forms the basis for trust boundary.
As mentioned before, ideally classification should be done as close to the source
as possible. If the end-device is capable of performing this function then the trust
boundary for the network is at the access layer in the wiring closet. If the device
is not capable of performing this function or the wiring closet switch does not
trust the classification done by the end device, then the trust boundary may shift.
The shift will happen depending on the capabilities of the switch in the wiring
closet. If the switch can re-classify the packets then trust boundary remains in
the wiring closet. If the switch cannot perform this function then the onus falls
on other devices in the network going towards the backbone. In this case, the
rule of thumb is to perform re-classification at the distribution layer. It is more
than likely that there is a high-end switch in the distribution layer with features
to support this function. If possible, performing this function in the core of the
network should be avoided.
Tagged 802.1q
Untagged 802.3
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? 3-17
Cisco IP phones have the ability to mark voice packets as high priority using
CoS as well as ToS. By default, the phone will send 802.1Q tagged packets with
the CoS and ToS set to a value of 5.
Packets from the phone are sent as tagged frames with the .1p fields set to 5.
Frames from the PC are sent untagged as shown in the figure above.
COS = 5 COS = 5
COS = 0 COS = 7
Most PCs on the desktop do not have an 802.1Q capable NIC card and as such
send the packets untagged. This means that the frames do not have an 802.1p
field. Also, unless the applications running on a PC send packets with a specific
ToS value, this field will also be zero. A special case could be where the TCP/IP
stack in the PC has been tweaked to send all packets with a ToS value other than
zero. Typically this does not happen and the ToS value is zero.
Even if the PC is sending tagged frames with a specific CoS value, Cisco IP
phones have the ability to zero out this value before it sends the frame to the
switch as shown in the figure above. This is the default behavior. Hence frames
coming from the phone will have a CoS of 5 and frames coming from the PC
will have a CoS of 0. When the switch receives these frames it can take into
account these values for further processing based on its capabilities.
Once frames come to the switch, it will use its queues (available on a per port
basis) to buffer them before sending it to the switching engine. An important
point to remember is that input queuing comes into play only when there is
congestion. The switch will use the CoS value(s) to put the frames in appropriate
queues. CoS 5 frames go into the priority queue, which is serviced before other
queues. The switch can also employ mechanisms like WRED to make intelligent
drops within a queue (also known as congestion avoidance) and WRR to provide
more bandwidth to some queues over others; also known as congestion
management.
Lets apply this scenario to a Catalyst 6000 family Switch. Each port on this
switch has 1 receive queues and 2 transmit queues. In addition there is a priority
queue for receive as well as transmit. On the receive side, CoS 5 packets will go
in the priority queue and will be serviced first before the regular queue. All other
packets go in the regular queue. Tail drop is used on this regular queue for
congestion avoidance. As mentioned before, tail drop will come into play only if
there is congestion on the receive side. This is unlikely in most cases because
typically frames are coming in from a 10/100 or GE port trying to go to a
32Gbps bus and will not experience congestion. On the transmit side, as before
Trusted
COS = 5 COS = 5
COS = 7 COS = 7
There may be times when we may want to trust the PC CoS (if sending tagged
packets) or give it a value other than zero. This can be achieved on Catalyst
switches as well.
This is achieved by extending the trust out to the PC. Use the following
command to extend trust out to the PC:
Set port qos 2/1 trust-ext trust-cos
COS = 5 COS = 5
COS = 2 COS = 7
When a PC is not trusted extend a specific CoS value to the PC traffic. The
command used to extend a specific CoS value to the PC traffic is:
Set port qos 2/1 cos-ext 2
All of the above configurations shown along with the individual figures can be
done for any of the Catalyst switches that use CatOS.
So far we have discussed the Quality of Service Implementation model at Layer
2 using the 802.1p bits within the 802.1Q tag. This technique provides the
desired results at Layer 2. When traffic has to cross a Layer 3 boundary, then it
becomes imperative to implement these mechanisms using Layer 3 parameters
like the 3 IP precedence bits (commonly referred to as ToS) or the new emerging
DSCP parameter that uses the six most significant bits within the ToS byte of the
IP header. Traffic crosses Layer 3 boundaries when packets need to cross
subnets. Layer 3 switches or routers facilitate this. Traffic also crosses Layer 3
boundaries when packets need to go out of the campus network onto the WAN
via edge routers. When this happens, a Layer 2 classification does not help. We
need Layer 3 classification for achieving the desired level of QoS.
All of the QoS techniques employed by the routers (including the very important
WAN QoS) rely on Layer 3 classification. This is can be achieved by using the
appropriate platforms in the campus. Beginning with the IP phones, we already
have packets presented to the switch with CoS=ToS=5. This Layer 3
classification is preserved even if the packets travel all the way through to the
WAN edge router where the Layer 2 header is removed. So, if the trust boundary
is at the source (IP phone) then voice traffic will have the ToS bits set to 5 and
will be presented to the network devices for appropriate treatment. WAN routers
can use this classification to employ any of the queuing techniques. If the trust
boundary is not at the source and packets need to be re-classified, then the
device performing this function should be capable of doing it at Layer 3 before it
can cross a Layer 3 boundary.
To summarize, try to maintain the trust boundary in the wiring closet. If need be,
shrink it down to the distribution layer on a case by case basis and avoid
shrinking it down to the core of the network. This is in line with the guidance
provided earlier to keep the trust boundary as close to the source as possible.
Note The discussion above takes into consideration a 3-tier network model, which
has proved to be a scalable architecture. If the network is small and the logical functions
of distribution layer and core layer happen to be in the same device then, the trust
boundary may reside in the core layer if it has to move from the wiring closet.
By default, QoS is not enabled. Use set qos enable to turn on QoS.
By default, ports are not trusted. Use set port qos mod_num/port_num trust
{untrusted | trust-cos | trust-ipprec | trust-dscp} to trust a port.
QoS configurations can be applied on a per port basis or on a per VLAN basis.
This works very well for IP telephony deployments where phones are on a
separate VLAN/subnet as discussed before in the IP addressing section.
The Catalyst 6000 can map CoS to ToS in any situation. Either by default, when
the port is trusted, or by using the QoS access list.
If the trust boundary happens to be on a switch in the wiring closet that is not
capable of re-classifying at Layer 3, then shrink the trust boundary to the
distribution layer where it is more likely that a Layer 3 capable device will be
present.
Congestion
Yes Yes No No
Avoidance (WRED)
Priority Queue Yes No No No
Congestion
Yes No No No (Round Robin)
Management (WRR)
Policing Yes No No No
Ø Inline Power
ü Needs powered linecards for Catalyst switches
ü Uses pins 1, 2, 3, and 6 (same as Ethernet) for delivering ? 8V
Ø External Power
ü Needs external power patch panel
ü Patch panel delivers ? 8V over pins 4, 5, 7, 8
Ø Wall Power
ü Needs DC converter for connecting IP phone to wall outlet
Combination of ways can be used for redundancy
? 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0? 3-23
The figure above shows the CLI output that provides detail on the actual power
consumed.
This leads to an important area with respect to available system power. Current
Cisco IP phone model 7960 consumes 5W. The switch system should be
equipped with appropriate power supplies to accommodate the required number
of phones.
Note The new 2500W Power Supply for Catalyst 6000 family switches need 220V. It
will work with 110V but will deliver 1300W. In addition it needs 20A regardless of whether
it is plugged into 110V or 220V. This means that wiring closets must have 220V available
in our example case.
l Failure output: Failed to set the inline power for port 7/1
Configuring default allocation:
The figure above shows the CLI for configuring inline power parameters in
CatOS. Along with the powering options, CatOS also provides option for setting
the default power allocation that is, how much power (watts) will be applied on
a per port basis. The default value is approximately 10W and is good for any
Cisco IP phone model phone available and planned. The phone has the
intelligence to report back how much power it actually needs (via CDP) and the
switch will adjust the delivered power accordingly.
CatOS has the ability to send syslog messages to the console (or any other place
if so configured) indicating any deviations from the normal as shown in the
figure above.
In addition the system also maintains power status on a per port basis. This can
be checked using show port status.
The CatOS has three different values:
■ On: Power is being supplied by the port.
■ Off: Power is not being supplied by the port.
■ Power-Deny: System does not have enough power so the port does not
supply power.
When the system is using dual supervisors, power management per port and
phone status is synchronized between the active and standby supervisor. This is
done on an on-going basis and is triggered with any change to the power
allocation or phone status. All the high availability features designed in CatOS
5.5 and higher are useful in this scenario. The HA features are not affected in
any way.
One last point on this subject is power protection schemes. This will be
discussed in detail later on. Conceptually though, it is recommended that UPS
(es) should be used for a higher degree of redundancy and availability.
If the switch does not have a power enabled 10/100-line card (Product Number:
WS-PWR-PANEL) or one is not available for the switch, then a Cisco patch
panel can be inserted in the wiring closet between the Ethernet switch and the
Cisco IP phone. This device is also known as Cisco Power Patch Panel.
The patch panel has a 250W power supply and draws its power from an 110V
AC source. It can accommodate 48 ports and is capable of supplying -48V to
each of the 48 ports. At 5W per Cisco IP phone model 7960, it has enough
power for all the 48 ports. A UPS is recommended for back up in the event of a
power failure. The patch panel uses CDP as a discovery mechanism and sends
power using Pins 4. 5, 7, and 8 to the phone.
4 pairs
(8 wires)
1 3 5 47
Phone Side
RJ-45 2 4 6 48
1 3 5 47
Switch Side
RJ-45 2 4 6 48
2 pairs
(4 wires)
In the figure above, the patch panel has two ports that correspond to one
connection. One port goes to the switch side and the other goes to the phone side.
This arrangement of applying power to the phone utilizes all four pairs in the
Category 5 cable. Unlike the inline method, Ethernet pairs do not carry power
signals. The remaining pairs of Category 5 cable are used for delivering power
from the patch panel.
As seen in the figure above, Pins 1, 2, 3, and 6 from the switch are patched
straight through to Pins 1, 2, 3, and 6 coming from the phone. Pins 4, 5, 7, and 8
from the phone terminate at the patch panel (Ethernet has no use for Pins 4, 5, 7,
and 8) and –48V is applied across them to power the phone. The actual
conductors used are pin 5 (pair 3) and pin 7 (pair 4) for –48V and ground return.
This means that all four pairs in the Category 5 cable need to be terminated at
the user’s desk and in the wiring closet.
This power patch panel can operate in two different modes.
1. Discovery mode
2. Blast mode
In discovery mode, the patch panel will try to verify if the device connected to it
is a Cisco IP phone or not. It does this by using the phone discovery mechanism
outlined above in the inline power method. The only difference being, it will
generate the test tone as opposed to the switch.
To summarize, if there is no link signal detected on the port, patch panel will
send down a test tone and if it sees the tone come back within a specified period
of time it knows that the device is a Cisco IP phone. If the tone does not come
back in the specified time then it knows the device is not a Cisco IP phone. Once
it has determined that the device is a Cisco IP phone, it will apply power (-48V)
to the port and from that point on it will keep -48V applied as long as there is
link signal.
In blast mode, the patch panel does not perform phone discovery. It will start
applying power immediately.
Wall Powered
The figure above shows that the Cisco IP phone can be powered from a local
transformer module plugged into a nearby (maximum 3 meters) electrical outlet.
A combination of these power options can be used to provide redundant power
to the Cisco IP phone. Internally these three sources are combined through
protection diodes, so that whatever combination is used, the phone will share the
power. This provides redundancy; if one power source fails, the other(s) will
continue to power the Cisco IP phone.
Objective
In this exercise you will complete the following task: identify the three layers in
a typical enterprise network.
Layer 2
Layer 3
Layer 3
Layer 3
Layer 2
Completion Criteria
You have completed this exercise when you have filled in all the blank boxes in
the figure above.
Objective
In this exercise you will complete the following tasks: Identify the capabilities of
the following catalyst switches:
■ Catalyst 6000
■ Catalyst 5000
■ Catalyst 4000
■ Catalyst 3500
Re-Classify CoS
Re-Classify ToS
Congestion
Avoidance (WRED)
Priority Queue
Multiple Queues
Congestion
Management (WRR)
Policing
© 1999, Cisco Systems, Inc. www.cisco.com CIPT—Chapter 4-8
Completion Criteria
You have completed this exercise when you have filled in the blank spaces in the
table.
Summary
• Cisco IP telephony requires an IP
infrastructure based on layer 2/3 switches
and routers.
• There are three connectivity options to the
desktop.
• IP phones need IP addresses.
• QoS protects voice from other traffic on the
network.
• There are ways to power Cisco IP phones.
The network infrastructure needs to be based on Layer 2/3 switches and routers
to build a Cisco IP telephony solution. To ensure that the Cisco IP phones are
connected using switched 10/100 ports, a switched connection to the desktop is
required. The three connectivity options to the desktop are the following:
■ Single cable—Connect the IP phone to the wall and the PC to the IP phone.
■ Multiple cables—Each endpoint device (phone and PC) connect to the wall.
■ Soft phone—Soon to come, one connection with a phone application on the
PC.
Cisco IP phones are IP devices that need IP addresses. The IP address
information can be done using one of the following options:
■ Provide an IP address in the same subnet as the existing data device
■ Redo the entire IP addressing plan for the organization
■ Create a new subnet and use that for IP phones
In a converged environment, all traffic types travel over a single transport
infrastructure. You need to employ proper tools to ensure that the delay and loss
parameters of voice traffic are satisfied. The tools allow you to ensure that the
required quality of service is available as features in phones, switches, and
routers.
The Cisco IP phones can use one or more of the following three methods of
getting power; inline power, external power, and wall power.
Review Questions
Q1) The typical enterprise network layer consists of three network layers. What are
the three network layers?
Q2) Cisco IP phones need IP addresses. What are the IP addressing options that can
be used to accommodate the Cisco IP phones?
Q3) Inline power is an option to power the Cisco IP phones. Which pairs are used to
provide inline power to the Cisco IP phones?
Laboratory Exercise
Distributed Call
Processing
Overview
In this deployment scenario, Cisco CallManagers, voice messaging, and digital
signal processor (DSP) resources are located at each site. This deployment
model can initially support up to 10 sites networked across the IP WAN. Voice
calls between sites use the IP WAN as the primary path and the PSTN as the
secondary path in the event the IP WAN is down or has insufficient resources to
handle additional calls. Whether calls use the IP WAN or use the PSTN is
transparent to both the calling party and the called party. This chapter
emphasizes issues specific to the distributed call processing model, with
reference to relevant material in other sections of this guide.
The following topics are in this chapter:
■ Objectives
■ Call Admission Control
■ Dial Plan Considerations
■ CallManager Cluster Considerations
■ DSP Resource Provisioning for Transcoding and Conferencing
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a list of Cisco IP telephony characteristics identify the design
characteristics for building a CIPT WAN deployment using distributed call
processing.
■ Given two isolated campus CIPT solutions, configure a IOS gatekeeper and
dial plans to use the IP WAN link without oversubscribing the link.
■ Given a CIPT WAN deployment solution, configure each site to have a
redundant path using an ISDN or PSTN path.
Visual Objective
uOne
uOne Site B
A Site A A
PSTN
V V
DSP DSP
IP WAN uOne
(Primary Voice Path)
A
Gatekeeper
V
DSP
Student
StudentPods
Podswill
willbe
beinterconnected
interconnectedthrough
throughaa
Gatekeeper
Gatekeeperand
andhave
haveback
backupuppath
pathto
tothe
thePSTN
PSTN
Site C
Using the isolated campus deployments, you will interconnect and configure
gateways, gatekeeper, and dial plan architecture to place phone calls over the IP
WAN. Configure a back-up path to the PSTN if the IP WAN is congested or
oversubscribed.
CallManager CallManager
Call #1
Call #2 X
VoIP Data X
Call #3 Network
X
Call #3
Causes poor quality for ALL calls
Many
Manytools
toolstotogive
givevoice
voicepriority
priorityover
overdata
data
Call
Calladmission
admissioncontrol
controlis
isabout
aboutpreventing
preventingvoice
voiceover
oversubscription
subscription
QoS tools ensure voice quality in two ways: by giving voice priority over data
and by preventing voice from oversubscribing a given WAN link. The second
task is accomplished by call admission control (CAC) mechanisms. The need for
CAC in AVVID networks is amplified greatly by the fact that all IP phones have
an open IP path to the WAN whereas toll bypass networks, in contrast, could
limit the number of physical trunks eligible to initiate calls across the WAN.
For deployments of the distributed call processing model, use the H.323
gatekeeper controlled method to provide CAC. In this design, the CallManager
registers with the Cisco IOS gatekeeper, also known as Multimedia Conference
Manager (MCM), as a VoIP gateway and queries it each time it wants to make
an IP WAN call. The Cisco IOS gatekeeper associates each CallManager with a
zone that has specific bandwidth limitations. Thus the maximum amount of
bandwidth consumed by IP WAN voice calls in or out of a zone can be limited
by the Cisco IOS gatekeeper.
In brief, when the CallManager wants to place an IP WAN call it first requests
permission of the gatekeeper. If the gatekeeper grants the call it is placed across
the IP WAN. If the gatekeeper denies the request the CallManager places the call
across the secondary path, the PSTN.
This is effectively a call accounting method of providing admission control in
which the gatekeeper simply keeps track of the bandwidth the IP WAN calls
consume. The maximum bandwidth setting for a zone should take into account
the limitation that the WAN link not be filled with more than 75% voice.
Note In this scheme, IP phones are not mobile between sites. Should an IP phone
register across the WAN, admission control would not operate as designed.
In this model it is important that the dial plan be tightly coupled with the
gatekeeper CAC mechanism because it is the dial plan that ultimately decides
when to place a call across the IP WAN and what to do if the gatekeeper rejects
it.
“Call
Data Placed”
Network
V V
3600 3600
Zone 1 Zone 2
x1111 PSTN x2111
“Voice Overflow”
RRQ
RCF
CallManager
IP WAN
V
3600
Zone 2
PSTN
Philadelphia
Philadelphia
The IOS Gatekeeper (GK) uses a zone subnet filter to place CallManager with a
Zone. Each remote Cisco CallManager must configure across the IP WAN as a
“GK Controlled” H.323 Inter-cluster trunk. Every GK Controlled remote Cisco
CallManager as a separate VoIP Gateway (GW) with the gatekeeper. For
example; for 9 remotes, a Cisco CallManager will register as 9 VoIP GWs. The
Cisco CallManager registers IP SA/DA (in hexadecimal) of remote Cisco
CallManager as fully qualified name, however the Cisco CallManager cannot yet
register E.164 address or E.164 address range.
The Cisco CallManager sends Full Registration Repeat Request (RRQ) every
minute (default). This timer is configurable and Cisco CallManager does not use
H.323v2 lightweight registration. The Gatekeeper will then respond with a
Registration Confirmation (RCF).
Defining H.323 GW
as an “Inter-Cluster Trunk”
(Remote Call Manager)
Enabling device as
Gatekeeper Controlled
(Will register IP SA/DA with
Gatekeeper)
Gatekeeper IP
Address
ARQ
ACF/ARJ CallManager
IP WAN
V
3600
PSTN
Zone 2
Philadelphia
Cisco CallManager does not use E.164 in Automatic Repeat Request (ARQ) and
the ARQ the Cisco CallManager uses SA/DA in hexadecimal of the target H.225
device. Cisco CallManager cannot use returned IP address in the advanced
communications function to be used for H.225 target address. This means a
H.323 device for every remote Cisco CallManager.
The bandwidth always issued in the ARQ regardless of codec type is 128kbps.
This requires use of single WAN CODEC with a fudge factor for maximum
bandwidth entered in IOS gatekeeper:
■ G.711 (80kbps) = 128kbps in GK
■ G.729 (24kbps) = 128kbps in GK
IOS Gatekeeper
2
ARQ
3
CallManager ACF
IP WAN
1 Incoming
H.225 Setup
V
3600
Zone 1 PSTN
San Jose
IP WAN
IP WAN
1111 (Dials 2222) 2222
RTP Stream
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—14-12
“IOS Gatekeeper”
Assigning gatekeeper zone name
Router(config)#
gatekeeper
zone local zone1 cisco.com
zone local zone2 cisco.com
zone subnet zone1 10.1.10.5/32 enable Assigning CallManager to zone
no zone subnet zone1 0.0.0.0/0 enable based on source subnet
zone subnet zone1 10.1.20.25/32 enable
no zone subnet zone2 0.0.0.0/0 enable
zone bw zone1 128
Assigning maximum bandwidth
zone bw zone2 128
in or out of a region
no shutdown
Inter-Cluster Communication
WAN
H.323v2
H.323v2 between
between clusters
clusters
IOS Gatekeeper
Cluster 1
Cluster 2
Limit
Limit==100
100registered
registeredVoIP
VoIPGWs
GWsfor foran
anIOS
IOSgatekeeper
gatekeeper
Non
NonRedundant
Redundant==1010Clusters
Clusters- - Redundant
Redundant==55Clusters
Clusters
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—14-14
Minimum
Minimumrequirements
requirementsfor
forvoice,
voice,video
video
and
anddata
datashould
shouldnot
notexceed
exceed75%
75%ofoflink
linkor
or
VC
VCbandwidth
bandwidth
(Remaining
(Remaining25%25%for
forrouting
routingprotocol
protocolupdates
updates
and
andlink
linklayer
layerheader
headerBW
BWconsumption
consumptionandandso
soforth)
forth)
Required
RequiredLink
LinkCapacity
Capacity==
(Min
(MinBW
BWfor
forVoice
Voice++Min
MinBW
BWfor
forVideo
Video++Min
MinBWBWfor
forData)
Data)/ /0.75
0.75
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—14-15
CM-3
CM-8
IP WAN
CM-4
CM-7
Add 11th Site/CM
CM-6 CM-5
CM-11
Add
Add11th
11thSite
Site
1.1.For
For11th
11thsite
sitemust
mustadd
addH.323
H.323device
device++route
routepattern
patternfor
forevery
everyother
othersite
site
2.2.For
Forother
other10
10sites
sitesmust
mustadd
addH.323
H.323device
deviceand
androute
routepattern
patternfor
for11th
11thsite
site
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—14-16
V
PSTN
(408) 526-XXXX
5 Digit Internal Dialing
Primary Voice Path
IP WAN Strip “52” and deliver
61111 to remote CallManager
In the example depicted in the figure above, users dial five digits for internal
calls and seven digits for inter-site calls across the IP WAN. If the IP WAN is
down or has insufficient resources, the PSTN is used transparently for inter-site
calls. For long distance calls that will be directed to the PSTN, users dial the
access code 9 followed by 1 + area code and 7-digit number. Users dialing local
PSTN calls dial 9 plus the 7-digit number. This model also provides gateway
redundancy in the event of a gateway or trunk failure to the PSTN. The PSTN
gateways are IOS gateways using H.323.
The goal of this dial plan is to be able to dial the San Jose location using only
seven digits where calls take the IP WAN as the first choice and the PSTN as the
second choice. Thus, users in Philadelphia should be able to dial San Jose users
at (408) 526-XXXX by simply dialing 526XXXX.
IOS Gatekeeper V
Recommended Bandwidth
Configuration
Inter-Cluster
Inter-Cluster Calls
Calls
Using
Using G.729
G.729
Number of Bandwidth Bandwidth Required Bandwidth
Inter-Cluster Required per Call on WAN Links Configured on
Calls (LLQ/CBWFQ 1) Gatekeeper
Without With Without With Without With
cRTP2 cRTP cRTP cRTP cRTP cRTP
2 24 Kbps 12 Kbps 48 Kbps 24 Kbps 256 Kbps 256 Kbps
5 24 Kbps 12 Kbps 120 Kbps 60 Kbps 640 Kbps 640 Kbps
10 24 Kbps 12 Kbps 240 Kbps 120 Kbps 1.280 Mbps 1.280 Mbps
1.
1. Low
Lowlatency
latencyqueuing/class
queuing/classbased
basedweighted
weightedfair
fairqueuing
queuing
2. Compressed Real-time Transport Protocol
2. Compressed Real-time Transport Protocol
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v 2.0—12-33
Recommended Bandwidth
Configuration
Inter-Cluster
Inter-Cluster Calls
Calls
Using G.711
Using G.711
PSTN
V
Philadelphia
IP WAN
San Jose
Devices
Devices Region
Region
IP
IPPhones
Phonesat
atPHL
PHL “PHL”
“PHL”
Calls SJ
SJCallManager “IPWAN-G729”
Callswithin
withinPHL
PHL==G.711
G.711 CallManager “IPWAN-G729”
Calls
Calls from PHLto
from PHL toSJ
SJ==G.729
G.729 Region
RegionCodec
CodecMatrix
Matrix Codec
Codec
“PHL”
“PHL”to to“PHL”
“PHL” G.711
G.711
“PHL
“PHLto
to“IPWAN-G729”
“IPWAN-G729” G.729
G.729
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—14-19
Cluster Considerations
uOne
uOne
Site B
A Site A A
PSTN
V V
DSP DSP
IP WAN
uOne
(Primary Voice Path)
A
Gatekeeper
V
DSP
10,000
10,000IPIPphones
phonesper
percluster.
cluster.
2,500
2,500IP
IPphones
phonesper
perCallManager
CallManagereven
evenunder
underfailure
failureconditions.
conditions.
One
Onesingle
singleCallManager
CallManagercancanregister
registerwith
withIOS
IOSgatekeeper.
gatekeeper.
Max
Max10
10clusters
clusters(5(5redundant)—IOS
redundant)—IOSGK GKfor
forCAC.
CAC. Site C
555-1212 Router/GW
IP WAN
Router/GW
DSP DSP
Transcoding User
UserDials
Dials
555-1212
555-1212
Region A Region B
Intra Region Inter Region Compressed Call Leg Intra Region Inter Region
A to B G.711 Call Leg B to A
A = G.711 B = G.711
DSP = DSP Farm
G.729a G.729a
Summary
Review Questions
1. Can devices at a LAN site be moved to another
LAN site that is interconnected across
the WAN?
2. What us the recommended number if
CallManager in one cluster used to register as a
H.323v2 device with the IOS Gatekeeper?
3. A call uses G.729 across the IP WAN and needs
to speak with a device that uses G.711 only.
What resource us needed to make this happen?
Q1) In a WAN CIPT deployment that uses distributed call processing, are the devices
at one LAN site able to be moved to another LAN site that is across the WAN?
Q2) Between sites an IOS Gatekeeper is used to control the bandwidth across the
WAN. What is the recommended number of CallManagers in the same cluster
that is used to register with the IOS Gatekeeper as an H.323v2 device?
Q3) To conserve bandwidth across the WAN, compressed CODEC (G.723 and
G.729) are used. If a call that goes across the WAN uses G.729 and the device
that it needs to speak with only uses G.711, what resource is needed to make this
conversation happen?
Centralized Call
Processing
Overview
In a multi-site WAN deployment that uses centralized call processing the Cisco
CallManagers are centrally located at the hub or aggregation site with no local
call processing at the branch location.
This chapter emphasizes issues specific to the centralized call processing model
in the following topics:
■ Objectives
■ Call Admission Control
■ Dial Plan Considerations
■ CallManager Cluster Considerations
■ DSP Resource Provisioning for Transcoding and Conferencing
■ Summary
■ Review Questions
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to perform the following tasks:
■ Given a list of design characteristics, identify the design considerations
when building a remote branch office that uses centralized call processing.
■ Given a CIPT isolated deployment, extend the call processing services to the
remote branch office.
■ Given a CIPT isolated deployment with remote branch offices using
centralized call processing, configure a redundant path for the IP WAN that
uses ISDN or the PSTN.
Centralized
V
CallManager Cluster PSTN
IP WAN
Router/GW
IP WAN
Router/GW
V
Site C
DSP Location C = 256kbps Max
IP WAN
Site A IP WAN
Router/GW
Location A = 512kbps Max
Telecommuter
Location D = 56kbps Max
© 2000, Cisco Systems, Inc. www.cisco.com CIPT V2.0—15-4
The central site will include a Cisco CallManager, voice msg + DSP resource at
and the remote site can support up to 2500 users total. There will be one active
Cisco CallManager that the IP phones will register to. Call admission control
imposes a limit on the number of calls per site (location). Unless there is a dial
backup configured in the dial plan, if the IP WAN link goes down there is no
service. Now that the Cisco IOS gateways support H.323 v2 the remote branch
offices do not need to use software MTP to gain access to supplementary
services.
G.711 or G.729 per call (Cat 6K/4k DSP Farm required for G.729) and use
partitions to allow sites to use same PSTN access code.
uOne
Gateserver • Call Admission
Call
Manager
Control
IP WAN • Dial Plan
Cisco
V • QoS
Router/GW PSTN
IP Phones Catalyst
Switch • DSP
PC Stations
Provisioning
Admission Control - BW
Limitation by “Location”
Centralized
CallManager Cluster
Site 2
Location 2 = 128kbps Max
V PSTN V
IP WAN
Router/ Router
GW
IP WAN
Location 1 Site 3
Location 3 = 256kbps Max
V
IP WAN
Router
1.1.Assign
AssignIPIPWAN
WANbandwidth
bandwidthlimits
limitsper
perlocation
location(in
(inkbps)
kbps)
2.2.Will
Willget
getbusy
busysignal
signaland
and“Not
“Notenough
enoughBandwidth”
Bandwidth”when
wheninsufficient
insufficientresources
resources
3.3.No
NoPSTN
PSTNFallback—Must
Fallback—Musthang-up
hang-upand
anddial
dialunique
uniquelocal
localPSTN
PSTNaccess
accesscode
code
© 2000, Cisco Systems, Inc. www.cisco.com CIPT V2.0—15-7
Site
Primary Backup Backup
Cluster E Central CM CM CM
Cluster B
Site A B C
Cluster D Cluster C
“Locations
WAN Cluster”
Remote
Remote
Sites
Sites
Location 1 Location 2
Location 1 Location 2
Central
Large Campus Cluster Site
(10,000 Users)
H.323 gatekeeper for call
admission control not required
because all CMs in campus
Clusters
Locations Based Networked
via H.323
A
Centralized
Clusters
IP WAN
Remote
Sites
Location 1 Location 2
Location 3 Location 4
2500 Users
© 2000, Cisco Systems, Inc. www.cisco.com 2500 Users CIPT V2.0—15-9
The figure above describes how a hybrid site of a large campus with location
based remote sites can be designed. The large campus cluster and the locations
based centralized clusters are networked via H.323 and the remote sites are
registered to one Cisco CallManager within a locations based cluster.
The following page describes the caveats when using location based call
admission.
V PSTN V
IP WAN
Router/ Router
GW
Location 1 IP WAN
Site 3
IP WAN
Router
• Intra-locations calls
• Inter-cluster calls
• Local PSTN calls
Intra-location calls are generally made between IP phones and other devices such
as fax machines and analog phones connected to gateway devices based on
MGCP or the skinny gateway protocol. As within a cluster, all devices register
with a single CallManager so that the availability of all devices is known. When
a call is attempted, the outcome is one of the following:
■ The call succeeds.
■ A busy tone is issued due to the remote device being active.
■ A busy tone is issued due to insufficient WAN resources; a message might
also be displayed on the device.
No configuration of a dial plan is required for intra-cluster calls in the majority
of cases.
Inter-cluster calls are made using H.323 and, with CallManager 3.0, inter-cluster
calls can use alternative routing, including PSTN fallback. Between clusters
connected over a WAN, a gatekeeper is required for call admission control.
Each site can dial a single number to access the local PSTN. The same code can
be used for PSTN access and, based upon the partition and calling search space,
a local gateway is selected.
Required Partitions
Intra-Cluster
Intra-Cluster and
and
Local
Local Gateway
Gateway Access
Access
Partition Name Designated Devices Assigned to Partition
Using the network diagram from the previous page, the partitions detailed in
above table would be configured to allow users to have access to either all intra-
cluster locations or all intra-cluster locations and a local gateway.
The next thing that has to be defined is the calling search space. A table on the
next page defines the calling search spaces for the above defined partitions.
Cluster-X Branch 2 Unrestricted Cluster-X Users Internal calls and PSTN calls
through Branch 3 location gateways
Cluster-X Branch 3 PSTN Access
This represents perhaps the simplest example of the required configuration for
multi-site WAN local call processing. The dial plan would consist essentially of
a single pattern for PSTN calls, typically a 9. The gateway traversed would
depend entirely upon the calling devices partition and selected calling search
space as detailed above.
Additional considerations would require a more ambitious dial plan. For a more
detailed dial plan refer to Chapter 11, “Dial Plan Architecture”.
Cluster Considerations
Region B
Centralized
Call Manager Cluster
PSTN
IP WAN
Region A
With WAN CallManager clusters, all active devices are required to be registered
to a single CallManager. This allows the CallManager to maintain call state for
all calls and thereby ensure that the specified bandwidth to a location is not
exceeded.
A maximum of 2500 IP phones is per cluster not for the remote sites. If there are
IP phones at the central site and are registered to the Cisco CallManager that the
remote sites are registered to, then the phones at the central site count towards
the 2500 IP phone maximum. Where more than 2500 remote devices are
required, multiple WAN clusters can be configured and interconnected using
H.323.
A centralized call processing WAN deployment is limited to a hub and spoke
topology to incorporate the use of call admission control so that the IP WAN
does not get over-subscribed.
In this deployment model a single CallManager redundancy group should be
configured. This would be the default CallManager redundancy group. All
devices would then be assigned to this group to ensure that all registered devices
are registered to the same CallManager.
Centralized Call
MTP Processing
Cluster X
Primary
CM
Conf
Backup Cluster X
MTP CM Location 1
Conf
Cluster X
Location 2
IP WAN
Router/GW Router/GW
DSP
Conferencing
uOne Call Manager
Gateserver Cluster
IP WAN
Router/GW Router/GW
DSP
The top part of the figure above shows a centralized transcoding resource
providing conversion between G.729a or G.723.1 and G.711 when a call that
was initially placed at G.729a or G.723.1 rolls to voice mail, which is a G.711
only application.
Conferencing poses another example of a G.711 only application. Consequently,
if a party who can only traverse the WAN using a low bit rate codec wants to
make a conference call, the call will be transcoded to G.711 in the conferencing
resource of the DSP.
Summary
Locations construct is used for WAN deployments that use centralized call
processing and is limited to a hub and spoke topology.
A maximum of 2500 IP phones is per cluster and not for the remote sites. If there
are IP phones at the central site and they are registered to the Cisco CallManager
that the remote sites are registered to, then the phones at the central site count
toward the 2500 IP phone maximum. Where more than 2500 remote devices are
required, multiple WAN clusters can be configured and interconnected using
H.323.
Review Questions
Q2) IP WAN bandwidth needs to be controlled. What keeps track of the current
amount of bandwidth consumed by inter-location voice calls?
Q3) DSP resources provide transcoding and conferencing services for the remote
sites. Where is the physical location of these resources?
Troubleshooting a CIPT
Solution
Overview
This chapter explains in detail the tools and utilities to troubleshoot a Cisco IP
Telephony solution. The case study will discuss in detail a unique call flow.
Understanding the information provided in this chapter will help users find a
resolution quicker, as well as to isolate most of their issues. This chapter might
not resolve all your problems but it will at least give the user a very good
understanding of the troubleshooting IP telephony issues using the Cisco
CallManager 3.0 and IOS gateways and gatekeeper.
The following topics are included in this chapter:
■ Objectives
■ Tools and Utility for Troubleshooting
■ Case Study—Intra Cluster IP Phone to IP Phone Calls
■ Laboratory Exercise
■ Summary
■ Review Question
Objectives
This section lists the chapter objectives.
Objectives
Upon completion of this chapter, you will be able to complete the following
tasks:
■ Given a CIPT solution, identify and describe from a list of troubleshooting
tools the tools available to troubleshoot potential Cisco IP telephony
problems.
■ Given a case study, identify and describe the call flow and series of events
through the call traces and debug outputs.
The tools and utilities listed below will aid in troubleshooting a Cisco IP
telephony solution:
■ Cisco CallManager administration—The Cisco CallManager Administration
Window is the first location to obtain useful troubleshooting information.
■ Performance monitor—Windows NT server application that allows
monitoring of a variety of system variables in real time.
■ Event log—Displays system, security and application events for the
Windows NT Server.
■ Local log files—Displays IP address, TCP handle, device name or the time
stamp that can be used to monitor the occurrence of request or the
disposition of the request.
■ SDL trace—Informs the developer engineer that the code is working
properly or to find a cause of an error.
■ Trace utility—Interface in the Cisco CallManager administration that is used
to set all the preferences to get the specific information that is required by
the user.
Cisco CallManager
Administration
Details
Details button
button on
on the
the
About page shows
About page shows
version
version and
and database
database
information
information
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—16-5
Performance Monitor
Performance Monitor is the first step for troubleshooting CIPT solution issues.
Performance Monitor is a Windows NT server application that lets you monitor
a variety of system variables in real time. For example, you can monitor the
number of calls in progress at any time, or the number of calls currently passing
through a specific gateway.
Performance Monitor shows both general and CCM 3.0 specific status
information in real time.
Do the following to view the Performance Monitor window:
1. Click the Start button on the Task bar.
2. Choose Program.
3. Choose Administrative Tools (Common).
4. Choose Performance Monitor.
The Performance Monitor must be customized to view the Cisco CallManager
related parameters that need to be monitored. Choose the object, counter, and
instance you want to include. Open the View menu and click Report to open the
Performance Monitor window. Click the Add button to add a new category
("Object") to the report. The Add to Report dialog box is displayed.
Event Log
2x
Local log files provide the greatest level of detailed information. When
reviewing the local log files, IP address, TCP handle, device name or the time
stamp can be used to monitor the occurrence of request or the disposition of the
request. This device name could be tracked back to the building of the file,
which shows the device pool and model. The device pool and model can be
tracked back to the building of the configuration file prototype, which will list
the network address of the call managers and the TCP connection port.
When observing the traces, notice that C++ class and routine names are included
with most trace lines. Most routines associated with the serving of a particular
request, include the thread id in a standard format.
These traces will be explained in detail in Case Study #1.
SDL Trace
This trace informs the developer engineer (DE) that the code is working properly
or to find a cause of an error. Most of this information would only make sense to
a DE. While working with TAC and a DE, if the TAC engineer requests a SDL
trace, it is your responsibility to enable the SDL trace and provide it to the TAC
engineer. SDL traces can be directed to local files, NT event log, and Cisco
Works.
SDL trace provides a C interface to trace and alarms. Alarms are used to inform
the administrator for unexpected events, such as being unable to access a file,
database, Winsock or being unable to allocate other operating system resources.
SDL traces could be turned on through the service parameter configuration. The
figure above is the snap shot of the service parameter window when the SDL
traces are being turned on. Always keep in mind that these traces are only turned
on when requested by the TAC engineer. Also observe the different values
chosen to turn on the SDL trace in the snap shot below.
Once the SDL traces are turned on, the next step is to collect and see these
traces. If the traces are being sent to the local files, then the following snapshot
would tell you where to find these traces. The path is Program
Files>Cisco>Services and can be observed in the snap shot above. The snapshot
of these traces will be explained in the case studies in upcoming sections.
Enabling Trace
Select
SelectOne
One
• Error
• Special
• State Transition
• Significant
• Entry/Exit
• Arbitrary
• Detailed
The table below lists the available trace levels. The error level provides the least
amount of trace information, and the detailed level provides the most. The levels
are cumulative, which means that a more detailed level includes all same
information as the level below it plus some additional information.
Trace Levels
Level Description
Special Traces all Error conditions plus process and device initialization messages.
State Transition Traces all Special conditions plus subsystem state transitions that occur during
normal operation.
Significant Traces all State Transition conditions plus media events that occur during
normal operation.
You can enable the Show Date and Show Time options to record the date and
time of each trace event.
The user mask is a series of flags, or bits, that enable and disable specific types
of trace information. As you turn the bits on and off, the value in the Mask field
changes. The name and definition of each user mask flag is on the following
page.
• EventLog
• Output Debug String
• File
• System Log
Creating
Creatingaalarge
largenumber
numberofoftrace
tracefiles,
files,or
orletting
letting
aasingle
singletrace
tracefile
filegrow
growtoo
toolarge,
large,can
canseverely
severely
degrade
degradethe
theperformance
performanceof ofyour
yoursystem.
system.
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—16-13
Component Description
EventLog Enable this option to send trace information to the Windows 2000 EventLog.
Output Debug This option is for Cisco development use only. Do not enable this option unless instructed to do so by
String Cisco Technical Assistance Center (TAC).
File Enable this option to store trace information in a file. You can also set the following file parameters:
■ Name is the fully qualified path name of the trace file. Each service requires a unique trace file
name. Cisco recommends that you leave the file names set to their default values.
■ # of Files specifies the total number of trace files for a given service. A sequence number is
automatically appended to the file name to indicate which file it is. When the last file in the
sequence is full, the trace data begins writing over the first again.
■ # of Lines specifies the maximum number of lines of data stored in each trace file.
■ # of Minutes specifies the maximum number of minutes worth of data stored in each trace file.
When the trace data exceeds either the maximum number of lines or the maximum number of minutes
for one file, that file is closed and the remaining trace data is written to the next file in the sequence.
For example, you can set up trace files to store a full week of data, with one day of data in each file. To
do this, you can set the number of files to 7, the number of minutes to 1440 (one day), and number of
lines to a large value such as 10000.
System Log Enable this option to send trace information to the Cisco Syslog Collector.
The system log parameters are:
Debug enabled causes all trace data to be sent to the Cisco syslog collector. If you do not enable this
option, only alarm (Error) traces are sent to the Cisco syslog collector.
System server is the name of the Cisco syslog collector. Do not change this field unless instructed to
do so by Cisco Technical Assistance Center (TAC).
IP Phone to IP Phone
(Intra Cluster)
• IP phone initialization process
• Skinny station registration messages
• IP phone to IP phone call flow within
a cluster
• IP phone to IP phone call flow
skinny messages
• IP phone registration and call flow
messages through the Cisco
CallManager traces
This case study would discuss in detail the call flow between two IP phones
within a cluster, called an intra cluster call. This case study will also focus on
Cisco CallManager and IP phone initialization, registration and keep alive
processes followed by a detailed explanation of a intra cluster call flow. We will
explain all these processes by using trace utility and tools discussed in previous
section.
172.16.70.241
172.16.70.225
CCM3 CCM4 CCM1 CCM2
IP WAN
PSTN
Cluster 1 Cluster 2
T1/PRI
Zone 1 Zone 2
T1/CAS
RAS
© 2000, Cisco Systems, Inc. www.cisco.com CIPT v2.0—16-16
The diagram above describes the sample topology for this case study. In the
diagram we have two clusters named cluster 1 and cluster 2. The two Cisco
CallManagers in cluster 1 are called CCM3 and CCM4, whereas in cluster 2 the
two Cisco CallManagers are named CCM1 and CCM2. All the traces collected
for this case study are from CCM1 that is located in Cluster 2. The call flow is
based on the two IP Phones in cluster 2. The IP addresses of these two IP phones
are 172.16.70.230 (directory number 1000) and 172.16.70.231 (directory number
1001) respectively.
The registration process allows skinny station (IP Phone) to inform Cisco
CallManager of its existence and to make calling possible. The following figure
shows the different messages that are exchanged between the IP phone and the
Cisco CallManager.
Secondary
CallManagerA CallManager
Intra Cluster
Control Protocol
Skinny Skinny
Registered
CallManager
RTP Stream
1000 1001
© 1999, Cisco Systems, Inc. www.cisco.com CIPT—Chapter 16-23
The figure above shows a sample exchange of messages between two Skinny
Clients. The SC (Skinny Client or IP Phone) will initiate connection to CCM and
then CCM will perform the DA (digit Analysis) before opening a control session
with the destination skinny station or IP Phone. As the following diagram
indicates, the skinny messages are pretty self-explanatory and use simple
English. Therefore we will not explain these messages in this section. We will,
however, explain these call flow skinny messages in more detail when we go
over the traces in later sections.
Trace utility is a very effective troubleshooting tool. Trace can be done to help
trouble shoot during different processes and call flows in a CIPT solution. The
path to the trace files is; My Computer>Program files>Cisco>Trace.
The messages above from the CallManager trace utility are showing the
initialization of the CCM process on one of the CallManager CCM1. As you can
see, the first message tells us tat the CCM initialization process is getting started.
This message is followed by another message in which CCM reads the default
database values, which in this case is the primary or publisher database.
Afterwards, CCM begins listening to different messages on TCP port 8002.
After listening to these messages, CCM added a second CCM to its list: CCM2
(172.16.70.229). This message is followed by another message that tells us that
CCM has started and is running CCM version 3.0.20.
Once CCM is up and running, it starts several other processes within itself.
Some of these processes are shown above, and include MulticastPoint Manager,
UnicastBridge Manager, digit analysis and CCM start loading route list. These
messages above can be very useful when troubleshooting a problem related to
different features in the CCM.
For example, let’s say that our route lists are not functioning and are unusable.
At this point we could monitor these traces and see if the CCM has started
RoutePlanManger and if it is trying to load the RouteLists. You can see the
usefulness of understanding these messages.
The trace above shows the RouteGroup adding the device 172.16.70.245, which
is a H.323 device. Basically, it is the CCM3 that is located in Cluster 1. The
RouteGroup is created in this case to route calls to the other CCM3 via IOS
Gatekeeper. If there is a problem routing the call to an IP Phone located in
Cluster 1, then the following messages would help us to find the cause of the
problem.
Another important part of the trace file is the registration process. When a
devices comes online in an AVVID network it tries to register with Call
Manager. These devices could be H323 Gateways, H323Gatekeepers, MGCP
Gateways, and Skinny Gateways or Clients or IP Phones. It is therefore
important to be able to find out if devices have registered successfully or
not. This will help a great deal when troubleshooting such devices in an
AVVID network.
In the trace above shows that the CallManager has received new
connections for registration. These devices are MTP_nsa-cm1 (MTP
services on CCM1) and CFB_nsa-cm1(Conference Bridge service on
CCM1). Remember that these are software services running on
CallManager but are treated internally as different external services and
therefore assigned a TCPHandle, socket number and port number as well
as a device name.
The following set of skinny messages between IP Phone and CCM. Basically,
the IP Phone (172.16.70.231) is getting registered with CCM. Recall from the
Skinny station registration section where we have outlined all the skinny
messages occurring between Skinny client and CallManager.
Here we can see that as soon as CCM received the registration request from a IP
Telephone it assign TCPHandle number to this device. This number remains the
same until device or CCM is restarted. Therefore within a trace one can follow
all the events related to a particular device by searching or keeping track of
TCPHandle number. This is hex number. Also notice that CCM provide load id
to IP Phone. Based on this load id IP Phone runs the executable file (acquired
from the tftp server) that corresponds to the device.
The messages above are used by both the station, device or service and the CCM
to maintain a knowledge of the communications channel between them. This
message is used to begin the Keep-Alive sequence to assure that the
communications link between the CCM and the client is active. The messages
above can be originated by either Cisco CallManager or the client.
The messages above are used to terminate the Keep-alive sequence to assure that
the communications link between the CCM and the client is active. Again, these
messages can be originated by either the CCM or the client.
Once CCM detects an incoming message and recognizes that the keypad button
1 is pressed on the IP phone, it immediately stops the output tone. The messages
identifying incoming keypad press sequences, i.e. digits 1000. Other messages
indicate the CCM is running the digit analysis process to match these digits.
Once the CCM has received enough digits to match, it will provide the digit
analysis results in a table format. Any extra digits typed on the phone at this
point will be ignored by the CCM, as a match has already been found.
The above traces show that the CCM is now sending out this information to a
called party phone, which is evident from tcpHandle number.
The above traces shows us that now the CCM commands the called part IP
phone’s lamp to blink for incoming call indication.
The CCM is provides ringer, display notification, and other call related
information to called party IP phone. Again, keep this information by following
tcpHandle number.
The figure above represents the CCM begins providing an alerting or ringing
tone to the calling party’s IP phone, notifying that the connection has been
established.
At this point, the called party’s IP phone goes off hook. Therefore, CCM stops
generating the ringer tone to calling party. The message above is used by the
CCM to cause the Skinny Client to begin receiving a unicast RTP stream. This
can be observed in the following traces that CCM provides the IP address of
called party as well as codec information, and packet size in msec
(millisecondsPacketSize is an integer containing the sampling time in
milliseconds used to create the RTP packets. NOTE: normally this value is set to
30msec.) In our case it is set to 20msec, which is obvious from the red
highlighted trace message.
CCM has received the acknowledgment message from called party for
establishing the open channel for RTP stream, as well as the ip address of the
called party. This message is to inform the CCM of two pieces of information
about the Skinny Client. First, it contains the status of the open action. Secondly,
it contains the receive port address and number for transmission to the remote
end, ipAddr is the IP address of the transmitter (calling part) of the RTP stream,
PortNumber is the IP port number of the RTP stream transmitter (calling party).
The messages above are used by the CCM to command the client to begin
transmitting the audio stream to the indicated remote IP phone’s IP address and
port number.
In the traces above, the previously explained messages are sent to the called
party. These messages are followed by the messages that the RTP media stream
has been started between the called and calling party.
The calling party’s IP phone finally goes on hook, which terminate all the
control messages between skinny station and CCM as well as the RTP stream
between skinny clients.
These call flow messages are very useful in troubleshooting call flow related
issues between IP phones. This section demonstrated the call flow for the intra
cluster calls. This would help engineers to understand the call flow as well as
troubleshoot call flow related problems.
Summary
The main goal of this troubleshooting chapter is to explain the tools available to
troubleshoot potential problems and to understand the call flows and series of
events through the call traces and debug outputs. The tools and utilities that are
available are the following:
■ Cisco CallManager Administration
■ Performance Monitor
■ Event Log
■ Local Log Files
■ SDL Trace
■ Trace Utility
Once you understand the call flow and debug traces, it will be easier to isolate a
problem and determine which component is causing the problem. Understanding
the information provided in this chapter will help to find a resolution quicker, as
well as to isolate most of their issues.
Review Questions
• Which tool provides the system version,
administration version and database
information about the Cisco CallManager?
• In order to monitor a variety of system variables
in real time, which tool would need to be used?
• What are the three categories Event viewer
has?
Q1) Of the tools on the Cisco CallManager server, which tool will provide the system
version number, administration version number and database information about
the Cisco CallManager server?
Q2) Monitoring a variety of system variables in real time can be useful, which tool is
able to provide such monitoring capabilities?
Q3) The Event viewer creates Event Logs, what are the three categories the Event
viewer can log?