Configuring Cisco Callmanager Express (Cme) : Cisco Networking Academy Program
Configuring Cisco Callmanager Express (Cme) : Cisco Networking Academy Program
Configuring Cisco Callmanager Express (Cme) : Cisco Networking Academy Program
Express (CME)
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 3
What is Cisco CallManager Express?
(Cont.)
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.)
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
What Is a Key System?
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Basic Call Setup
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Digitizing Analog Signals
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Nyquist Theorem
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Quantization
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Quantization Techniques
• Linear
Uniform quantization
• Logarithmic quantization
Compands the signal
Provides a more uniform signal-to-noise ratio
• Two methods
α-law (most countries)
μ-law (Canada, U.S., and Japan)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Voice-Compression Techniques
• Waveform algorithms
PCM
ADPCM
• Source algorithms
LDCELP
CS-ACELP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Example: Waveform Compression
• PCM
Waveform coding scheme
• ADPCM
Waveform coding scheme
Adaptive: automatic companding
Differential: encode changes between samples only
• 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 18
Example: Source Compression
• CELP
Hybrid coding scheme
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 19
G.729 and G.729A Comparison
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Real-Time Transport Protocol
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Real-Time Transport Control Protocol
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 22
RTP Header Compression
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 23
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 24
Challenges and Solutions in VoIP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Reliability and Availability
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Bandwidth Implications of Codec
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Impact of Voice Samples
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Data Link Overhead
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Total Bandwidth Required
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Effect of VAD
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Cisco CME Features and Functionality
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 32
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 33
Supported Protocols and Integration
Options
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Supported Protocols and Integration
Options (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Supported Protocols and Integration
Options (Cont.)
CME PSTN
WAN X X
Remote Phones
Local Phones
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 36
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 37
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 38
Supported Protocols and Integration
Options (Cont.)
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 39
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 40
Supported Protocols and Integration
Options (Cont.)
CallManager
SIP Connections Cluster
Vmail
PSTN
CME
H.323
SIP
SIP
WAN
V SIP CME
• Feature license
• Seat license
• IOS platform
12.3(7)T or greater is recommended
IP Voice
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Cisco CallManager Express Restrictions
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Cisco CallManager Express Restrictions
(Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Cisco CME Network Parameters
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Auxiliary VLANs
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 46
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Configuring Auxiliary VLANs
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Configuring Auxiliary VLANs - Switching
Review
• Address learning
• Forward/filter decision
• Loop avoidance
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Configuring Auxiliary VLANs (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 50
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 51
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 52
DHCP Service Setup
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 53
DHCP Service Setup (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 54
DHCP Service Setup (Cont.): Phone Bootup
Through CDP the IP phone learns • The address of the TFTP server
what the auxiliary VLAN is • DNS server(s)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 55
DHCP Service Setup (Cont.): Phone Bootup
(Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 56
DHCP Service Setup (Cont.)
CMERouter(config)#
ip dhcp excluded-address start-IP end-IP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 57
DHCP Service Setup (Cont.)
CMERouter(dhcp-config)#
option option-number ip IP-address
CMERouter(dhcp-config)#
default-router IP-address
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 58
DHCP Service Setup (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 59
IP Phone Registration
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 60
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 61
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
Firmware 11 496521 Mar 1 2002 12:57:22 music-on-hold.au
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
XML
- <userLocale>
<name>English_United_States</name>
<langCode>en</langCode>
</userLocale>
<networkLocale>United_States</networkLocale>
<idleTimeout>0</idleTimeout>
<authenticationURL />
<directoryURL>http://10.15.0.1/localdirectory</directoryURL>
<idleURL />
<informationURL />
<messagesURL />
* XXXXXXXXXXX = to the <proxyServerURL />
MAC address <servicesURL />
</device>
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Files (Cont.): Default XML File
XMLDefault.cnf.xml
<Default>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
</ports>
Default <processNodeName>10.15.0.1</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
XML
<loadInformation6 model="IP Phone 7910">P00403020214</loadInformation6>
<loadInformation124 model="Addon 7914"></loadInformation124>
<loadInformation9 model="IP Phone 7935"></loadInformation9>
<loadInformation8 model="IP Phone 7940">P00303020214</loadInformation8>
<loadInformation7 model="IP Phone 7960">P00303020214</loadInformation7>
<loadInformation20000 model="IP Phone 7905"></loadInformation20000>
<loadInformation30008 model="IP Phone 7902"></loadInformation30008>
<loadInformation30002 model="IP Phone 7920"></loadInformation30002>
<loadInformation30019 model="IP Phone 7936"></loadInformation30019>
<loadInformation30007 model="IP Phone 7912"></loadInformation30007>
</Default>
* Notice there is
no ATA or 7914
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Files (Cont.): Language Specific XML Files
<?xml version="1.0" encoding="ISO-8859-1" ?>
7960-dictionary.xml <phrases>
<phrase i="173" t="Login"/>
SCCP-dictionary.xml <phrase i="172" t="Flash"/>
<phrase i="171" t="Acct"/>
<phrase i="170" t="Incompatible device type"/>
<phrase i="169" t="Another Barge exists"/>
<phrase i="168" t="Failed to setup Barge"/>
<phrase i="167" t="Barge" />
<phrase i="166" t="Network congestion,rerouting" />
Language <phrase i="165" t="CallBack" />
<phrase i="164" t="SAC" />
<phrase i="163" t="DND" />
<phrase i="162" t="TrnsfVM" />
<phrase i="161" t="SetWtch" />
<phrase i="160" t="Intrcpt" />
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Files (Cont.): Call Progress XML File
<tones>
<tone c1="30831" i1="-2032" c2="30467" i2="-1104" d="2"
7960-tones.xml t="ringing">
<part m="on" t="2000"/>
<part m="off" t="4000"/>
<repeat c="65535"/>
</tone>
<tone c1="30467" i1="-1104" c2="28959" i2="-1404" d="2"
Call t="reorder">
<part m="on" t="250"/>
<part m="off" t="250"/>
Progress <repeat c="65535"/>
</tone>
<tone c1="30467" i1="-1104" c2="28959" i2="-1404" d="2"
t="busy">
XML
<part m="on" t="500"/>
<part m="off" t="500"/>
<repeat c="65535"/>
</tone>
<tone c1="30743" i1="-1384" c2="29780" i2="-1252" d="2"
t="odial">
<part m="on" t="65535"/>
<repeat c="65535"/>
</tone>
Contents will vary based <tone c1="30831" i1="-2032" c2="31538" i2="-814" d="2"
t="idial">
upon call progress tones <part m="on" t="65535"/>
selected with the network- <repeat c="65535"/>
</tone>
locale command </tones>
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 66
IP Phone Information
No 7914 in the
XMLDefault.cnf.xml <loadInformation6 model="IP Phone 7910">P00403020214</loadInformation6>
<loadInformation124 model="Addon 7914"></loadInformation124>
<loadInformation9 model="IP Phone 7935"></loadInformation9>
<loadInformation8 model="IP Phone 7940">P00303020214</loadInformation8>
<loadInformation7 model="IP Phone 7960">P00303020214</loadInformation7>
Default <loadInformation20000 model="IP Phone 7905"></loadInformation20000>
<loadInformation30008 model="IP Phone 7902"></loadInformation30008>
<loadInformation30002 model="IP Phone 7920"></loadInformation30002>
XML <loadInformation30019 model="IP Phone 7936"></loadInformation30019>
<loadInformation30007 model="IP Phone 7912"></loadInformation30007>
CDP
Power needed
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 68
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 69
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
XML
SEP000F2470AA32.cnf.xml file
MAC 000F.2470.AA32
Cisco CME is
the TFTP
Server
7960
Firmware TFTP request for firmware if needed
Firmware file
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Download and Registration (Cont.)
Unknown IP Phone
Unknown IP address with
MAC 000F.2470.AA32
CallManager
Express is the
TFTP Server
Step 14 - If no SEP XML file was found then download
from the TFTP server the XMLDefault.cnf.xml file
XML
XMLDefault.cnf.xml file
or
Step 16 - If auto assign is enabled or the phone has been configured then the new
IP phone will register to the CallManager Express and given an extension number
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 72
Ephone-dn and Ephone
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 73
Ephone-dn
A DN and Extension number
are equivalent Primary extension number
router(config)#
ephone-dn dn-tag [dual-line]
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Ephone
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Ephone (Cont.)
router(config)#
ephone phone-tag
router(config-ephone)#
mac-address mac-address
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Ephone (Cont.)
router(config-ephone)#
button button-number {separator} dn-tag [[button-number
{separator} dn-tag]…]
router(config-ephone)#
type {7940 | 7960} addon 1 7914 [2 7914]
• Defines the device as a 7914 module(s)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 78
Ephone (Cont.): Basic Example
MAC 000F.2470.F8F8
ephone 1
1001 ephone-dn 7:
one virtual port
Button 1
000F.2470.F8F8
CMERouter(Config)#ephone-dn 7
CMERouter(Config-ephone-dn)#number 1001
CMERouter(config)#ephone 1
CMERouter(config-ephone)#mac-address 000F.2470.F8F8
CMERouter(config-ephone)#button 1:7
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 79
Ephone (Cont.): Example Multiple Ephones
1004
1004 1004
1005
1005 1005
1006
1006 1006
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 80
Ephone (Cont.): Example Multiple Ephones
Configuration
Configuration example
CMERouter(config)#ephone-dn 10 dual-line
CMERouter(config-ephone-dn)#number 1004
CMERouter(config)#ephone-dn 11 dual-line
CMERouter(config-ephone-dn)#number 1005
CMERouter(config)#ephone-dn 12dual-line
CMERouter(config-ephone-dn)#number 1006
CMERouter(config)#ephone-dn 13 dual-line
CMERouter(config-ephone-dn)#number 1007
CMERouter(config)#ephone 1
CMERouter(config-ephone)#mac-address 000F.2470.F8F1
CMERouter(config-ephone)#button 1:10
CMERouter(config)#ephone 2
CMERouter(config-ephone)#mac-address 000F.2470.A302
CMERouter(config-ephone)#button 1:11
CMERouter(config)#ephone 3
CMERouter(config-ephone)#mac-address 000F.2470.66F6
CMERouter(config-ephone)#button 1:12
CMERouter(config)#ephone 4
CMERouter(config-ephone)#mac-address 000F.2470.7B54
CMERouter(config-ephone)#type ata
CMERouter(config-ephone)#button 1:13
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 81
Ephone (Cont.): Multiple Ephone-dns
1008
Button 1
1008 on line 1 1008
1009 on line 2
1009
Button 2
1009
1010 on line 1
1010
1011 on line 6 Button 1
1010
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 82
Ephone (Cont.): Multiple Ephone-dns
Configuration Example
CMERouter(config)#ephone 5
CMERouter(config-ephone)#mac-address 000F.2470.FAA1
CMERouter(config-ephone)#button 1:14 2:15
CMERouter(config)#ephone 6
CMERouter(config-ephone)#mac-address 000F.2470.A7E2
CMERouter(config-ephone)#button 1:16 6:17
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 83
Type of Ephone-dns: Overview
• Shared ephone-dn
Shared single or 1006 1006
• Multiple ephone-dns dual line ephone-dn
Overlay ephone-
dns on an ephone 1007
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 84
Single Line Ephone-dn
One virtual
voice port
CMERouter(Config)#ephone-dn 1
CMERouter(Config-ephone-dn)#number 1001
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 85
Dual Line Ephone-dn
One virtual
voice port
1002
Two channels
1002
CMERouter(Config)#ephone-dn 2 dual-line
CMERouter(Config-ephone-dn)#number 1002
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 86
Primary and Secondary Extension Number
on Ephone-dn
One virtual
voice port
1005 and
One channels 2065559005
CMERouter(Config)#ephone-dn 6
CMERouter(Config-ephone-dn)#number 1005 secondary 2065559005 no-reg primary
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 87
Shared Ephone-dn
1006
1006 on line 1 Button 1
1006
1100 on line 2
Button 2 1100
1007 on line 1
1100 on line 2 1007
Button 1
1007
• One ephone-dn applied on two different ephones
• Only one phone can use the ephone-dn at a time
Button 2 1100
• Both phones ring when a call arrives at the ephone-
dn
• Only one ephone can pick up the call ensuring
privacy
• If a call is placed on hold either ephone can retrieve
the call
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Shared Ephone-dn Configuration Example
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 89
Two Ephone-dns with one extension
number
Multiple ephone-dns Ephone 3
• On the same ephone 1003
preference 0
Button 1 no huntstop
1003
Used when more than two
calls to the same extension
1003
are needed preference 1
Button 2 huntstop
1003
• On different ephones
Used when two different
ephones need the same Ephone 4
number
1004
preference 0
Not a shared line Button 2 no huntstop
1004
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 90
Preference and Huntstop Commands
router(config-ephone-dn)#
preference {0-10}
router(config-ephone-dn)#
huntstop [channel]
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 91
Huntstop
Call arrives at first
1020 DN no huntstop Ephone-dn 10 ephone-dn
1020 DN
Preference 3
Ephone-dn 13
Channel 1
X
* Ring no answer timeout
* Same DN on the ephone-dns Channel 2 of 10 seconds set globally
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 92
Huntstop Channel
Call arrives at first
1020 DN no huntstop Ephone-dn 10 ephone-dn
1020 DN
Preference 3
Ephone-dn 13
Channel 1
X
* Ring no answer timeout
Channel 2 of 10 seconds set globally
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 93
Two Ephone-dns/One Number/Same
Ephone
Ephone 3
1003 on line button 1
1003
1003 on line button 2 preference 0
Button 1 no huntstop
1003
1003
preference 1
Button 2 huntstop
1003
• If either of the two voice channels are available, the ephone-dn assigned to
line button 1 will be used when an incoming call is setup
• When the two voice channels on the ephone-dn are being used on line button
1, an incoming call will roll to the ephone-dn assigned to line button 2
• A fifth call will receive busy treatment when both voice channels on both
ephone-dns are being used on line button 1 and 2
• The preference of 0 is more preferred than a preference of 1. The default is 0
• The “no huntstop” on the line button 1 ephone-dn allows the call to hunt to
the second ephone-dn when the first ephone-dn is busy
• The “huntstop” on the line button 2 ephone-dn stops the hunting behavior
and applies the busy treatment
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Two Ephone-dns/One Number/Same Ephone
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 95
Two Ephone-dns/One Number/Diff Ephones
1004 on line button 2
preference 0
Ephone 4 Button 2 1004
no huntstop
preference 1
Ephone 5 Button 2 1004
huntstop
1004 on line button 2
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 97
Overlay Ephone-dn
1101
Button 4 Preference 0
no huntstop
1101 on line 4
1101
1101 on line 4 Button 4 Preference 1
huntstop
1101
1101 on line 4 Button 4 Preference 0
1101 on line 4 no huntstop
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 99
Number of Ephone-dns max-dn Command
router(config-telephone)#
max-dn max-dn
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 100
Number of Ephone-dns (Cont.)
DN DN
DN DN
DN DN
CMERouter(config-telephony)#max-dn 10
DN DN
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 101
Ephone-dn (Cont.): Basic Configuration
One virtual
voice port
CMERouter(Config)#ephone-dn 7
CMERouter(Config-ephone-dn)#number 1001
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 102
Cisco CME Files
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 103
Cisco CallManager Express Files
TFTP or FLASH
FTP server
GUI files
firmware
Music on Hold
IOS copy tftp flash
or
copy ftp flash
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 105
Cisco CallManager Express Files (Cont.)
Bundled Files
• GUI Files
cme-gui-3.1.1.zip
• Cisco TAPI file
CiscoIOSTSP.zip
• Firmware files
ATA
7902
cme-3.1.1.tar or 7905
7912
cme-3.1.1.zip 7914
extracted yields 7914 Expansion Module
7920
7935
7936
7940
7960
• Music on Hold
music-on-hold.au
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 106
Cisco CallManager Express Files (Cont.)
Individual Files
Individual Cisco CME Files
• Firmware files
• Basic Cisco CME tar
• GUI tar
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 107
Cisco CallManager Express Files (Cont.)
GUI Files
GUI Files
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 108
Cisco CallManager Express Files (Cont.)
GUI Files
• XMLTemplate
xml.template
• GUI files
admin_user.html
admin_user.js
CiscoLogo.gif
Delete.gif
dom.js
cme-gui-3.1.1.tar downarrow.gif
extracted yields ephone_admin.html
logohome.gif
normal_user.html
normal_user.js
Plus.gif
sxiconad.gif
Tab.gif
telephony_service.html
uparrow.gif
xml-test.html
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 109
Cisco CallManager Express Files (Cont.)
TAPI Integration
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 110
Cisco CallManager Express Files (Cont.)
TAPI Integration
CiscoIOSTSP1.2.zip
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 111
Cisco CallManager Express Files (Cont.)
Additional Files
music-on-hold.au
• Use the music-on-hold.au audio file to provide
music for external callers on hold when you are not
using a live feed
xml.template
• Use the xml.template file to allow or restrict the GUI
functions that are available to an optional customer
administrator
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 112
Initial Phone Setup
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 113
Phones Setup in Cisco CallManager
Express System
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 114
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 115
Automated Setup (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 116
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 117
Automated Setup (Cont.): Results
ip dhcp pool ITS
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 118
Partially Automated Setup: Overview
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 119
Partially Automated Setup (Cont.)
Auto Assign Command
CMERouter(config-telephony-service)#
auto assign start-dn to stop-dn [type model] [cfw number
timeout seconds]
• Automatically assigns the ephone-dns configured to
new ephones
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 122
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 123
Manual Setup (Cont.): tftp-server Command
CMERouter(config)#
tftp-server flash:filename
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 124
Manual Setup (Cont.): Telephony Service
Commands
CMERouter(config)#
telephony-service
CMERouter(config-telephony-service)#
max-ephone maximum-ephones
CMERouter(config-telephony-service)#
load model firmware-file
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
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 126
Manual Setup (Cont.): Source IP and Port
CMERouter(config-telephony-service)#
ip source-address ip-address [port port]
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 127
Manual Setup (Cont.): Create XML Files
CMERouter(config-telephony-service)#
create cnf-files
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 128
Manual Setup (Cont.): Keepalive
CMERouter(config-telephony-service)#
keepalive seconds
telephony-service
keepalive 10
Keepalive
Keepalive
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
telephony-service
dialplay-pattern 1 20155590.. extension-length 4 extension pattern 10..
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 130
Manual Setup (Cont.): Example
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 131
Setup Troubleshooting: Verify IP
Addressing
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 132
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 133
Optional Parameters: Locale Parameters
Swedish
French Portuguese
English
German Russian
Federation
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 134
Optional Parameters: Locale Parameters
CMERouter(config-telephony-service)#
user-locale language-code
CMERouter(config-telephony-service)#
network-locale language-code
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 135
Optional Parameters: Date and Time
CMERouter(config-telephony-service)#
date-format {mm-dd-yy | dd-mm-yy | yy-dd-mm | yy-mm-dd}
CMERouter(config-telephony-service)#
time-format {12 | 24}
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 136
Rebooting Cisco CallManager Express
Phones
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 137
Router Configuration: Two Commands
(Cont.)
CMERouter(config-telephony-service)#
reset {all [time-interval] | cancel | mac-address |
sequence-all}
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 138
Router Configuration: Two Commands
(Cont.)
CMERouter(config-telephony-service)#
restart {all [time-interval] | mac-address}
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 139
Setup Troubleshooting
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 140
Verifying Cisco CallManager Express
Phone Configuration
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 141
Setup Tips (Cont.): Debug tftp events
command
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 142
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 143
Verifying Cisco CallManager Express
Phone Configuration (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 144
Verifying Cisco CallManager Express
Phone Configuration (Cont.)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 145
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 146