Sie sind auf Seite 1von 84

Configuring Cisco CallManager

Express (CME)

Cisco Networking Academy Program

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Overview of Cisco CME

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 2
What is Cisco CallManager Express?

Cisco CME

Trunks
PSTN

WAN

Call processing for small to medium sized


deployments
VoIP integrated solution
Up to 120 IP phones
IOS based solution
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 3
What is Cisco CallManager Express?
(Cont.)

Select IOS based platform


Multiservice access routers

2600XM

3700 1700

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 4
How Does Cisco CallManager Express
Work?

Connection(s) to PSTN
Analog
Digital

PSTN

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 5
How Does Cisco CallManager
Express/Cisco Unity Express Work? (Cont.)

PSTN H.323 between Cisco


CME systems

H.323

H.323 WAN
WAN
H.323 SIP
PSTN Gateway
and IP to IP
Gateway
functionality
PSTN
PSTN

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Differences between Traditional
Telephony and VoIP

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Basic Components of a Telephony
Network

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Central Office Switches

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 9
What Is a PBX?

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Basic Call Setup

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Digitizing Analog Signals

1. Sample the analog signal regularly


2. Quantize the sample
3. Encode the value into a binary expression
4. Compress the samples to reduce bandwidth
(multiplexing), optional step

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Nyquist Theorem

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Quantization

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Example: ITU

ITU standards:
G.711 rate: 64 kbps = (2 x 4 kHz) x 8 bits/sample
G.726 rate: 32 kbps = (2 x 4 kHz) x 4 bits/sample
G.726 rate: 24 kbps = (2 x 4 kHz) x 3 bits/sample
G.726 rate: 16 kbps = (2 x 4 kHz) x 2 bits/sample

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Example: Source Compression

High-quality voice at low bit rates, processor


intensive
G.728: LDCELP16 kbps
G.729: CS-ACELP8 kbps
G.729A variant8 kbps, less processor intensive, allows
more voice channels encoded per DSP
Annex-B variant VAD and CNG

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Real-Time Transport Protocol

Provides end-to-end network functions and delivery


services for delay-sensitive, real-time data, such as
voice and video
Works with queuing to prioritize voice traffic over
other traffic
Services include:
Payload type identification
Sequence numbering
Timestamping
Delivery monitoring

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 17
RTP Header Compression

RTP header compression saves bandwidth by


compressing packet headers across WAN links

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 18
When to Use RTP Header Compression

Narrowband links
Slow links (less than 2 Mbps)
Need to conserve bandwidth on a WAN interface
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Challenges and Solutions in VoIP

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Reliability and Availability

Traditional telephony networks claim 99.999%


uptime
Data networks must consider reliability and
availability requirements when incorporating voice
Methods to improve reliability and availability
include:
Redundant hardware
Redundant links
UPS
Proactive network management

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Bandwidth Implications of Codec

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Data Link Overhead

Ethernet: 18 bytes overhead


MLP: 6 bytes overhead
Frame Relay: 6 bytes overhead

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Cisco CME Features and Functionality

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Supported Protocols and Integration
Options (Cont.)

FAX ATA

H.323
ATA Skinny

Analog
V

Skinny

Analog Phones

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Supported Protocols and Integration
Options

Skinny Client Control Protocol (SCCP)


Cisco proprietary
Call Control protocol
Lightweight protocol
Low memory requirements
Low complexity
Low CPU requirements

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Supported Protocols and Integration
Options (Cont.)

H.323 Protocol
Supports Voice, Video, and Data
Industry Standard
Complex protocol
Higher complexity than Skinny protocol
CAC functionality is part of the protocol
Authentication is part of the protocol

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Supported Protocols and Integration
Options (Cont.)
CallManager
H.323 Connections Cluster

Vmail

PSTN
CME
H.323
H.323
H.323
WAN

V H.323 CME

Recommended
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Supported Protocols and Integration
Options (Cont.)

Cisco CME can register to a H.323 gatekeeper thereby


ensuring the WAN is not oversubscribed

H.323

WAN

Register Register

1000 2000
2095551000 3095552000
Gatekeeper
Register Extension number Register Extension number
and/or E.164 number and/or E.164 number

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Supported Protocols and Integration
Options (Cont.)

SIP Protocol
Emerging standard
Vendor specific in most cases
Higher complexity than Skinny protocol
Authentication is part of the protocol
Based on other well known protocols

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Supported Protocols and Integration
Options (Cont.)
CallManager
SIP Connections Cluster

Vmail

PSTN
CME
H.323
SIP
SIP
WAN

V SIP CME

H.323 is recommended today


IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Cisco CME Network Parameters

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Auxiliary VLANs

Prevent unnecessary IP address renumbering


Simplifies Quality of Service (QoS) configurations
Separates Voice and Data traffic
Requires two Virtual Local Area Networks (VLANs)
one for Data and one for Voice
Requires only one drop down Ethernet for the
CallManager Express IP phone and the PC plugged
into the phone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 33
Auxiliary VLANs (Cont.)
IP Addressing Deployment Options
IP Phone + PC on same IP Phone + PC on same switch
switch ports Recommended ports

171.68.249.100 171.68.249.100

171.68.249.101 10.1.1.1

Public IP addresses IP Phone uses private Network

IP Phone + PC on separate switch ports IP Phone + PC on separate switch ports


171.68.249.101 171.68.249.100 10.1.1.1 171.68.249.100

Public IP addresses IP Phone uses private network

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Configuring Auxiliary VLANs

An access port able to handle 2 VLANs


Native VLAN (PVID) and Auxiliary VLAN (VVID)
Hardware set to dot1q trunk

Tagged 802.1q (Voice VLAN)

Untagged 802.3 (Native VLAN)

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Configuring Auxiliary VLANs - Switching
Review

Address learning
Forward/filter decision
Loop avoidance
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Configuring Auxiliary VLANs (Cont.)

Example 3550 switch or EtherSwitch Network Module


Console(config)#interface FastEthernet0/1
Console(config-if)#switchport trunk encapsulation dot1q
Console(config-if)#switchport trunk native vlan 1
Console)config-if)#switchport access vlan 12
Console(config-if)#switchport mode trunk
Console(config-if)#switchport voice vlan 112
Console(config-if)#spanning-tree portfast

802.1q trunking is enabled on the port


The access VLAN is used for the PC plugged into the IP
phone
The voice VLAN is used for voice and signaling that originates
and terminates on the IP phone
Spanning tree portfast enables the port to initialize quickly

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Configuring Auxiliary VLANs (Cont.)
Switch# show interface fa0/17 switchport

Name: Fa0/17
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q

Negotiation of Trunking: Disabled


Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 12 (VLAN0012)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1-3,5,10,12
Pruning VLANs Enabled: 2-1001

Priority for untagged frames: 0


Override vlan tag priority: FALSE
Voice VLAN: 112
Appliance trust: none

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Configuring Auxiliary VLANs - Router
Configuration

802.1q trunk

Trunk on a router
interface fastethernet 1/0.1
encapsulation dot1q 10
ip address 10.10.0.1 255.255.255.0
VLAN 10
interface fastethernet 1/0.2
encapsulation dot1q 20
ip address 10.20.0.1 255.255.255.0
VLAN 20 ...

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 39
DHCP Service Setup

Dynamic Host Configuration Protocol


Assigns an IP addresses and subnet masks for one
or more subnets
Optionally can assign a default gateway
Optionally can assign DNS servers
Optionally can assign other commonly used
servers
The DHCP scope can be customized to assign a
TFTP server to IP phones
Best practice is to configure a DHCP scope for the
IP phones

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 40
DHCP Service Setup (Cont.)

DHCP Service Options


Single DHCP IP Address Pool
Separate DHCP IP Address Pool for Each Cisco IP
Phone
DHCP Relay Server

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 41
DHCP Service Setup (Cont.): Phone Bootup

On the Cisco CME router a DHCP


The IP phone powers on Scope can be configured. The
scope should define the following:
The phone performs a Range of available IP addresses
Power on Self Test (POST)
The subnet mask
The phone boots up A default gateway

Through CDP the IP phone learns The address of the TFTP server
what the auxiliary VLAN is DNS server(s)

The phone initializes the IP stack

Continued next slide

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 42
DHCP Service Setup (Cont.): Phone Bootup
(Cont.)

IP phone send DHCP Discover


broadcast requesting an IP address

DHCP server selects a free IP


address from the pool and sends
along with the other scope
parameters as a DHCP Offer

The IP phone initializes applies the


IP configuration to the IP stack

The IP phone requests it


configuration file from
the TFTP server

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 43
DHCP Service Setup (Cont.)

CMERouter(config)#
ip dhcp excluded-address start-IP end-IP

Sets a range of addresses to be excluded from the


configured scopes
CMERouter(config)#
ip dhcp pool pool-name

Creates and enters a the DHCP scope mode


CMERouter(dhcp-config)#
network subnet subnet-mask

Defines the range of addresses that will be used to


assign to DHCP clients

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 44
DHCP Service Setup (Cont.)

CMERouter(dhcp-config)#
option option-number ip IP-address

Defines a custom option and its value

CMERouter(dhcp-config)#
default-router IP-address

Sets the default gateway that will handed out to the


DCHP clients
CMERouter(dhcp-config)#
dns-server primary-IP [secondary IP]

Sets the DNS server(s) that will assigned to the DHCP


clients

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 45
DHCP Service Setup (Cont.)

Configuring DHCP on an IOS router


CMERouter(config)#ip dhcp exluded-address 10.90.0.1 10.90.0.10
CMERouter(config)#ip dhcp pool mypool
CMERouter(dhcp-config)#network 10.90.0.0 255.255.255.0
CMERouter(dhcp-config)#option 150 ip 10.90.0.1
CMERouter(dhcp-config)#default-router 10.90.0.1
CMERouter(dhcp-config)#dns-server 10.100.0.1 10.100.0.2
CMERouter(dhcp-config)#exit

Option 150 sets the TFTP server on the IP phone


The TFTP server contains the configuration files
and firmware for the IP phone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 46
IP Phone Registration

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Files

7960
Firmware
7940
Files critical to the IP phone SEP
SEP
Firmware
7920
Firmware
7912
Firmware
7905
Firmware XML SEP
XML SEP
Firmware
7902
Firmware
7910
XML SEP Firmware
XML
SEPAAAABBBBCCCC.cnf.xml XML

XmlDefault.cnf.xml TFTP Server


SCCP-dictionary.xml
Phonemodel-dictionary.xml
Phonemodel-tones.xml

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Files (Cont.): Firmware
CMERouter1#show flash
7905 -#- --length-- -----date/time------ path
1 399514 Mar 1 2002 12:56:28 P00305000301.sbn
Firmware 2 22649180 Mar 1 2002 12:38:00 c3725-ipvoice-mz.123-7.T.bin
3 321939 Mar 1 2002 12:55:58 CP7902010200SCCP031023A.sbin
4 317171 Mar 1 2002 12:56:06 CP7905010200SCCP031023A.sbin
7940 5 317968 Mar 1 2002 12:56:10 CP7912010200SCCP031023A.sbin
6 700651 Mar 1 2002 12:56:18 CiscoIOSTSP.zip
Firmware 7 369950 Mar 1 2002 12:56:22 P00303020214.bin
8 333822 Mar 1 2002 12:56:30 P00403020214.bin
9 47904 Mar 1 2002 12:56:54 S00103020002.bin
7960 10 301298 Mar 1 2002 12:56:56 ata18x-v2-16-ms-030327b.zup
11 496521 Mar 1 2002 12:57:22 music-on-hold.au
Firmware 12 1908762 Mar 1 2002 12:56:54 P00503010100.bin
13 21 Mar 1 2002 12:56:18 OS7920.txt
14 839984 Mar 1 2002 12:57:18 cmterm_7920.3.3-01-06.bin


33 307067 Mar 1 2002 12:56:02 CP79050101SCCP030530B31.zup
34 710144 Mar 1 2002 12:57:06 cme-gui-3.1.1.tar

Firmware is installed in flash RAM with the Cisco CME


software or individually as needed
Served up by the TFTP server on the Cisco CME router
The command tftp-server flash:firmware-file-name
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Download and Registration
Power over Ethernet

Step 1 - Switch sends a Fast Link Pulse (FLP)


FLP

Step 2 - The phone returns the FLP to the


switch due to a completed circuit
FLP

Step 3 - Power is applied

Step 4 - Link is detected on


switchport

Step 5 - The IP phone boots up

Step 6 - The amount of power really needed is passed


through CDP from the IP phone to the switch

CDP
Power needed

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 50
Download and Registration (Cont.)
DHCP
DHCP Server
or
DHCP Relay
Step 7 - CDP is used to
send the auxiliary VLAN
information from the
switch to the IP phone
CDP
Voice VLAN

Step 8 - The IP phone initializes the


IP stack and sends a DHCPDiscover
broadcast message
DHCPDiscover
Broadcast

Step 9 - The DHCP server hears the


DHCPDiscover message and selects
an IP address from the scope and
sends a DHCPOffer
DHCPOffer
IP address, Subnet Mask, Default
Gateway, and TFTP server (option 150)

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Download and Registration (Cont.)
Existing IP Phone
MAC 000F.2470.AA32
Cisco CME is
the TFTP
Server
Step 10 - Phone applies
addressing information
obtained through DHCP to
the IP stack

Step 11 - Using the address of the TFTP server learned from the option 150
in the DHCPOffer the phone looks for and downloads the file named
SEPAAAABBBBCCCC.cnf.xml (where AAAABBBBCCCC is the MAC
address), if the file is found the phone will register

SEP TFTP request for the SEP000F2470AA32.cnf.xml file

XML
SEP000F2470AA32.cnf.xml file

If no SEP XML file is found go to Step 14


IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Download and Registration (Cont.)
Unknown IP Address

MAC 000F.2470.AA32
Cisco CME is
the TFTP
Server

Step 12 - If the firmware version currently on the phone is different


than the version specified in the SEPAAAABBBBCCCC.cnf.xml file
then the firmware is downloaded from the TFTP server

7960
Firmware TFTP request for firmware if needed

Firmware file

Step 13 - IP phone will reboot if the


firmware was updated

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Initial Phone Setup

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Phones Setup in Cisco CallManager
Express System
Three ways to setup phones:
Manual
Numerous commands from the CLI
Requires knowledge of Cisco CME commands
Phones entered manually
Partially automated
Numerous commands from the CLI
Requires knowledge of Cisco CME commands
Simplifies deployment of many IP phones
Automated
Few commands needed from the CLI
Requires little knowledge of Cisco CME commands
Simplifies deployments

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Automated Setup: Overview

Automated Setup
Simple to configure
Question and answer interface
Good for inexperienced administrators
Created IOS commands in the background
Deployment and configuration are automated
Must be no existing telephony service configuration

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 56
Automated Setup (Cont.)

Configure NTP prior to CMERouter1(config)#telephony-service setup


running the setup utility --- Cisco IOS Telephony Services Setup ---
Load the firmware files Do you want to setup DHCP service for your IP Phones? [yes/no]: y
Configuring DHCP Pool for Cisco IOS Telephony Services :
into flash RAM prior to IP network for telephony-service DHCP Pool:10.90.0.0
running the setup utility Subnet mask for DHCP network :255.255.255.0
TFTP Server IP address (Option 150) :10.90.0.1
Enter the automated Default Router for DHCP Pool :10.90.0.1
setup mode by entering Do you want to start telephony-service setup? [yes/no]: y
the command Configuring Cisco IOS Telephony Services :
telephony-service Enter the IP source address for Cisco IOS Telephony Services :10.90.0.1
setup Enter the Skinny Port for Cisco IOS Telephony Services : [2000]:2000
How many IP phones do you want to configure : [0]: 10
A question and answer Do you want dual-line extensions assigned to phones? [yes/no]: y
session will start asking What Language do you want on IP phones :
for basic parameters 0 English 6 Dutch
1 French 7 Norwegian
CTRL + c keystroke can 2 German 8 Portuguese
be used at any time to 3 Russian 9 Danish
break out of the setup 4 Spanish 10 Swedish
5 Italian
mode [0]: 0
No changes are
committed until the end

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Automated Setup (Cont.)
Which Call Progress tone set do you want on IP phones :
When configuration 0 United States
1 France
is committed the 2 Germany
settings show up in 3 Russia
4 Spain
the running-config 5 Italy
6 Netherlands
7 Norway
8 Portugal
9 UK
10 Denmark
11 Switzerland
12 Sweden
13 Austria
14 Canada
[0]: 0
What is the first extension number you want to configure : [0]: 9000
Do you have Direct-Inward-Dial service for all your phones? [yes/no]: y
Enter the full E.164 number for the first phone :2095559000
Do you want to forward calls to a voice message service? [yes/no]: y
Enter extension or pilot number of the voice message service:9999
Call forward No Answer Timeout : [18]: 10
Do you wish to change any of the above information? [yes/no]: n
---- Setup completed config ---

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Automated Setup (Cont.): Results
ip dhcp pool ITS

DHCP pool created network 10.90.0.0 255.255.255.0


default-router 10.90.0.1

Firmware available option 150 ip 10.90.0.1


to TFTP server tftp-server flash:P00303020214.bin
tftp-server flash:P00403020214.bin
Flash is searched
and if firmware is telephony-service
found it will be load 7910 P00403020214
loaded
load 7960-7940 P00303020214
Creates SEP XML create cnf-files
files at boot up and
max-ephones 10
load to RAM
max-dn 10
Telephony-service ip source-address 10.10.0.1 port 2000
configuration voicemail 9999
results
auto assign 1 to 10
DID configuration dialplan-pattern 1 2095559... extension-length 4 extension-
pattern 1...
Firmware is moh music-on-hold.au
searched and if
MoH is found this ephone-dn 1 dual-line
entry is made number 401

The selected call-forward busy 9999


number of ephone- call-forward noans 9999 timeout 10
dns are configured

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 59
Manual Setup: Overview

All commands can be entered from the CLI


Good for experienced administrators
Leverages IOS knowledge
Full functionality through IOS commands
Deployment of IP phones can be batched or
scripted through a text file

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 60
Manual Setup (Cont.): Commands Overview
Commands needed to configure a basic
telephony service
tftp-server flash:filename
telephony-service
max-ephones max-ephones
max-dn max-directory-numbers
load phone-type firmware-file
ip source-address ip-address [port port]
create cnf-files
keepalive seconds
dialplan-pattern tag pattern extension-length length
extension-pattern pattern
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 61
Manual Setup (Cont.): tftp-server Command

CMERouter(config)#
tftp-server flash:filename

Allows a file in flash to be downloadable with TFTP


7940/60
Firmware
7920
Available through TFTP
Firmware
7910
Firmware

tftp-server flash:P00303020214.bin
tftp-server flash:cmterm_7920.3.3-01-06.bin
tftp-server flash:P00403020214.bin

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 62
Manual Setup (Cont.): Telephony Service
Commands

CMERouter(config)#
telephony-service

Enters telephony service mode

CMERouter(config-telephony-service)#
max-ephone maximum-ephones

Sets the maximum number of ephones that may be


defined in the system (default is 0)
CMERouter(config-telephony-service)#
max-dn maximum-directory-numbers

Sets the maximum number of ephone-dn that may be


defined in the system (default is 0)
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Manual Setup (Cont.): Firmware
Association

CMERouter(config-telephony-service)#
load model firmware-file

Associates a firmware file with the model of IP phone

7940/60 7940/7960
telephony-service Firmware
load 7960-7940 P00303020214
load 7920 cmterm_7920.3.3-01-06.bin
load 7910 P00403020214
7920
7920
Firmware

7910
Filenames are case-sensitive Firmware 7910

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Manual Setup (Cont.): Source IP and Port

CMERouter(config-telephony-service)#
ip source-address ip-address [port port]

Identifies the address and port through which IP


phones communicate with Cisco CME

Default

XML

10.90.0.1

telephony-service
ip source-address 10.90.0.1 port 2000

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Manual Setup (Cont.): Create XML Files

CMERouter(config-telephony-service)#
create cnf-files

Builds the specific XML files necessary for the IP


phones

SEP SEP000F2473AB14.cnf.xml

XML

000F.2473.AB14
10.90.0.1

telephony-service
create cnf-files

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Manual Setup (Cont.): Keepalive

CMERouter(config-telephony-service)#
keepalive seconds

Sets the length of the time interval between keepalive


message from the IP phones to Cisco CME

telephony-service
keepalive 10
Keepalive

Keepalive

Default is 30 seconds, range is 10 65535 seconds


If 3 keepalives are missed in a row, the device will
have to register again
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 67
Manual Setup (Cont.): DID Configuration
Commands

CMERouter(config-telephony-service)#
dialplan-pattern tag pattern extension-length length
extension-pattern pattern [no-reg]

Sets a dial plan pattern which can expand extension


numbers to E.164 numbers that can be used for DIDs
DN 1000

PSTN ISDN PRI


DN 10XX
DIDs assigned
2015559000
DN 1099
thru
2015559099

telephony-service
dialplay-pattern 1 20155590.. extension-length 4 extension pattern 10..

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 68
Manual Setup (Cont.): Example

Manual Setup of the Cisco CME


tftp-server flash:P00303020214.bin
tftp-server flash:P00403020214.bin
telephony-service
load 7910 P00403020214
load 7960-7940 P00303020214
create cnf-files
max-ephones 10
max-dn 10
ip source-address 10.10.0.1 port 2000
dialplan-pattern 1 2095559... extension-length 4 extension-pattern 1...
ephone-dn 1 dual-line
number 401
Manually
call-forward busy 1999
configured
call-forward noans 1999 timeout 10
see module ephone 1
3 lesson 3 mac-address 000F.2745.2AD8
button 1:1

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 69
Setup Troubleshooting: Verify IP
Addressing

Verify the IP addressing on the IP phone


Use the Settings button and select Network
Configuration
Verify IP and subnet mask are correct
Verify the TFTP server is the Cisco CME router
Verify the default gateway is correct

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 70
Setup Tips (Cont.): Verify the Correct Files
in Flash

Show flash
CMERouter#show flash
-#- --length-- -----date/time------ path
1 399514 Mar 1 2002 12:56:28 P00305000301.sbn
2 22649180 Mar 1 2002 12:38:00 c3725-ipvoice-mz.123-7.T.bin
3 321939 Mar 1 2002 12:55:58 CP7902010200SCCP031023A.sbin
4 317171 Mar 1 2002 12:56:06 CP7905010200SCCP031023A.sbin
5 317968 Mar 1 2002 12:56:10 CP7912010200SCCP031023A.sbin
6 369950 Mar 1 2002 12:56:22 P00303020214.bin
7 333822 Mar 1 2002 12:56:30 P00403020214.bin
8 47904 Mar 1 2002 12:56:54 S00103020002.bin
9 301298 Mar 1 2002 12:56:56 ata18x-v2-16-ms-030327b.zup
10 496521 Mar 1 2002 12:57:22 music-on-hold.au
11 1908762 Mar 1 2002 12:56:54 P00503010100.bin
12 21 Mar 1 2002 12:56:18 OS7920.txt
13 839984 Mar 1 2002 12:57:18 cmterm_7920.3.3-01-06.bin
14 307067 Mar 1 2002 12:56:02 CP79050101SCCP030530B31.zup
...

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Optional Parameters: Locale Parameters

Allow changes to:


Language of phone display Danish Italian

Locale for call progress Spanish


tones and cadences
Dutch Norwegian

Swedish

French Portuguese

English

German Russian
Federation

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 72
Optional Parameters: Locale Parameters

CMERouter(config-telephony-service)#
user-locale language-code

Specifies the language for display on an IP phone

CMERouter(config-telephony-service)#
network-locale language-code

Specifies the set of call progress tones and cadence


on the IP phone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 73
Optional Parameters: Date and Time

CMERouter(config-telephony-service)#
date-format {mm-dd-yy | dd-mm-yy | yy-dd-mm | yy-mm-dd}

Sets the date format for IP phone displays

CMERouter(config-telephony-service)#
time-format {12 | 24}

Specifies the set of call progress tones and cadence


on the IP phone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Rebooting Cisco CallManager Express
Phones

Reset Command Restart Command


Hard reboot Soft reboot
Phone firmware changes Phone buttons changes
User locales changes Phone lines changes
Network locales changes Speed-dial number changes
URL parameters changes No DHCP or TFTP invoked
DHCP and TFTP invoked System message changes

Takes longer than restart

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Router Configuration: Two Commands
(Cont.)

CMERouter(config-telephony-service)#
reset {all [time-interval] | cancel | mac-address |
sequence-all}

Sets the date format for IP phone displays


CMERouter(config-ephone)#
reset

Resets a specific ephone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Router Configuration: Two Commands
(Cont.)

CMERouter(config-telephony-service)#
restart {all [time-interval] | mac-address}

Sets the date format for IP phone displays


CMERouter(config-ephone)#
restart

Restarts the ephone

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Setup Troubleshooting

Troubleshooting setup overview


Verify that a correct IP address and scope options
are received on the IP phone
Verify the correct files are in flash
Debug the tftp server
Verify phone firmware install
Verify locale is correct
Verify phone setup
Review configuration

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 78
Verifying Cisco CallManager Express
Phone Configuration

Verify ephone-dn Configurations


show running-config
telephony-service
load 7910 P00403020214
load 7960-7940 P00303020214
max-ephones 10
max-dn 10
ip source-address 10.90.0.1 port 2000
auto assign 1 to 10
create cnf-files dialplan-pattern 1 2015559... extension-length 4 extension-pattern 1...
voicemail 9999
max-conferences 8
!
ephone-dn 1 dual-line
number 9000
!
ephone 1
mac-address 000F.2470.F8F8
button 1:1

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 79
Setup Tips (Cont.): Debug tftp events
command

Debug tftp events command


CMERouter#debug tftp events
Mar 2 19:32:59.333: TFTP: Looking for OS79XX.TXT
Mar 2 19:32:59.337: TFTP: Looking for SEP000F2470F8F8.cnf.xml
Mar 2 19:32:59.681: TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for
process 131
Mar 2 19:32:59.685: TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for
process 131
Mar 2 19:33:02.713: TFTP: Looking for SEP000F2470F8F8.cnf.xml
Mar 2 19:33:02.713: TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for
process 131
Mar 2 19:33:02.745: TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for
process 131

Can verify if the SEP file for the phone is found


Can verify the downloading of the correct firmware

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 80
Verifying Cisco CallManager Express
Phone Configuration (Cont.)
Verify Phone Firmware Installation
debug ephone register
Mar 2 15:16:57.582: New Skinny socket accepted [1] (2 active)
Mar 2 15:16:57.582: sin_family 2, sin_port 49692, in_addr 10.90.0.11
Mar 2 15:16:57.582: skinny_add_socket 1 10.90.0.11 49692
Mar 2 15:16:57.766: %IPPHONE-6-REG_ALARM: 20: Name=SEP000F2470F8F8 Load=3.2(2.14) Last=Phone-Keypad
Mar 2 15:16:57.766: Skinny StationAlarmMessage on socket [1] 10.90.0.11 SEP000F2470F8F8
Mar 2 15:16:57.766: severityInformational p1=2368 [0x940] p2=184551946 [0xB000A0A]
Mar 2 15:16:57.766: 20: Name=SEP000F2470F8F8 Load=3.2(2.14) Last=Phone-Keypad
Mar 2 15:16:57.766: ephone-(1)[1] StationRegisterMessage (1/2/2) from 10.90.0.11
Mar 2 15:16:57.766: ephone-(1)[1] Register StationIdentifier DeviceName SEP000F2470F8F8
Mar 2 15:16:57.766: ephone-(1)[1] StationIdentifier Instance 1 deviceType 7
Mar 2 15:16:57.766: ephone-1[-1]:stationIpAddr 10.90.0.11
Mar 2 15:16:57.766: ephone-1[1]:phone SEP000F2470F8F8 re-associate OK on socket [1]
Mar 2 15:16:57.766: %IPPHONE-6-REGISTER: ephone-1:SEP000F2470F8F8 IP:10.90.0.11 has registered.
Mar 2 15:16:57.766: Phone 0 socket 1
Mar 2 15:16:57.766: Skinny Local IP address = 10.95.0.1 on port 2000
...
Mar 2 15:16:57.766: Skinny Phone IP address = 10.90.0.11 49692
Mar 2 15:16:57.766: ephone-1[1]:Date Format M/D/Y
Mar 2 15:16:57.766: ephone-1[1][SEP000F2470F8F8]:RegisterAck sent to ephone 1: keepalive period 30

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 81
Verifying Cisco CallManager Express
Phone Configuration (Cont.)

Verify Locale-Specific Files


CMERouter1#show telephony-service tftp-bindings
tftp-server system:/its/SEPDEFAULT.cnf
tftp-server system:/its/SEPDEFAULT.cnf alias SEPDefault.cnf
tftp-server system:/its/XMLDefault.cnf.xml alias XMLDefault.cnf.xml
tftp-server system:/its/ATADefault.cnf.xml
tftp-server system:/its/united_states/7960-tones.xml alias United_States/7960-tones.xml
tftp-server system:/its/united_states/7960-font.xml alias English_United_States/7960-font.xml
tftp-server system:/its/united_states/7960-dictionary.xml alias English_United_States/7960-
dictionary.xml
tftp-server system:/its/united_states/7960-kate.xml alias English_United_States/7960-kate.xml
tftp-server system:/its/united_states/SCCP-dictionary.xml alias English_United_States/SCCP-
dictionary.xml
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F2470F8F8.cnf.xml
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F23FC9CF0.cnf.xml

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 82
Verifying Cisco CallManager Express
Phone Configuration (Cont.)

Verify Cisco IP Phone Setup


CMERouter1#show ephone
ephone-1 Mac:000F.2470.F8F8 TCP socket:[1] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:1
IP:10.10.0.11 49692 Telecaster 7960 keepalive 29 max_line 6
button 1: dn 1 number 1000 CH1 IDLE CH2 IDLE

ephone-2 Mac:000F.23FC.9CF0 TCP socket:[2] activeLine:0 REGISTERED


mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:1
IP:10.10.0.13 52633 Telecaster 7960 keepalive 135 max_line 6
button 1: dn 2 number 1001 CH1 IDLE CH2 IDLE

IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 83
IP Telephony 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 84

Das könnte Ihnen auch gefallen