Você está na página 1de 84

Cisco Systems, Inc. All rights reserved.

VoIP Bootcamp Day 5 - 1



CME Overview
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 2

Cisco CallManager Express Agenda
Overview
Basics
Phone Features
System Features
CME Troubleshooting
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 3

CME Basics
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 4

CALL-MANAGER EXPRESS
- is a Cisco IOS based IP-PBX for small
medium business, enterprise branch office
and commercial customers.
- VoIP integrated solution
- Up to 120 IP phones
- IOS based solution


Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 5

Cisco CallManager Express
Requirements
Feature license
Seat license
IOS platform
12.4(9)T 4, 6 or greater is recommended
IP Voice
Cisco CME software and files
GUI files
Firmware

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 6

Basic CME
* supports Cisco IP phones using Skinny Client Control Protocol
(SCCP) and Session Initiation Protocol (SIP)

* provides a rich set of traditional PSTN connectivity options using
both digital and analog lines.

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 7

Cisco IP Phone 7960G
9x23 line screen
4 soft keys
6 programmable line keys
Speaker phone
Line/local power
2-port Ethernet switch
Cisco IP Phone 7905
192x64 pixel display
4 soft keys, Local power
1 RJ-45
Coming CY 03
Cisco IP Phone 7940G
9x23 line screen
4 soft keys
2 programmable line keys
Speaker phone
Line/local power
2-port Ethernet switch
Cisco ATA 186/188
2 FXS Ports
1 RJ-45 10/100BaseT uplink
1 RJ-45 10/100BaseT data port
(Cisco ATA 188)

Cisco IP Phone 7910G
and 7910G+SW
2x24 character base LCD display
6 feature keys
Single line
Line/local power
7910G+SW has a 2-port
Ethernet switch
Cisco IP Conference
Station 7935
Speaker phone
Hands-free conference phone
Standard features
Current CME Phone Portfolio:
IP Phones and Analog Adaptors
Cisco IP Expansion
Module 7914
Attendant Console Solution
Up to 34 possible buttons
Monitor, Manage, & Cover calls
7 7 7 2003, Cisco Systems, Inc. All rights reserved. Presentation_ID
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 8

Cisco CME Router Portfolio
SMB/Small Branch Enterprise Branch Large Branch
Cisco 265xXM and 2691
Supports up to 48 phones
Enterprise Branch Office Router
Versatility, Integration, and Power
to Branch Offices
Cisco 1751 and 1760
Supports up to 24 phones
SMB/Small Branch Office Router
Optimized for Multiservice
Voice/Data/Fax Integration
Cisco 3640, 3640A, 3660
Supports up to 48 ITS phones
Large Branch Office Router
Modular Multiservice Router
Platform
Cisco IAD2400
Supports up to 24 phones
SMB/Small Branch Office Router
Cisco's premier line of Smart
Integrated Access Devices
Cisco 3700 Series
Supports up to 48 ITS phones
Large Branch Office Router
Integrated routing and low
density switching
8 8 8 2003, Cisco Systems, Inc. All rights reserved. Presentation_ID
Cisco 261xXM and 262xXM
Supports up to 24 phones
Enterprise Branch Office Router
Optimized for Multiservice
Voice/Data/Fax Integration
Cisco Access Gateway Module
Supports up to 48 phones
CAT 4K Module
Onboard Encryption and DSPs
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 9

CME Basics
Registration Process
DHCP/TFTP
CME Configuration
Setting up GUI
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 10

CME Phone Registration Process
Phone sends DHCP request
DHCP server sends IP Address, TFTP Server
address, and default-router address
Phone downloads SEP<mac-address>.cnf file
from the TFTP server
SEP<mac-address>.cnf file contains the
address of call-manager/CME router to which it
should register.
Phone registers with CME using skinny protocol
(SCCP) via TCP on port 2000; (SIP port 5060)
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 11

Setting up DHCP/TFTP
DHCP can be local or remote
Can be an open pool or on a per phone basis
DHCP server should be configured to send
default-router and TFTP server IP address in
addition to the Phone IP address
!
ip dhcp excluded-address 192.1.201.250 192.1.201.254
ip dhcp pool Phones
network 192.1.201.0 255.255.255.0
option 150 ip 192.1.201.254
default-router 192.1.201.254
!
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 12

DHCP Service Setup : Phone Bootup
Range of available IP addresses
The subnet mask
A default gateway
The address of the TFTP server
DNS server(s)

On the Cisco CME router a DHCP
Scope can be configured. The
scope should define the following:
The IP phone powers on
The phone performs a
Power on Self Test (POST)
Through CDP the IP phone learns
what the auxiliary VLAN is
The phone initializes the IP stack
The phone boots up
Continued next slide
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 13

DHCP Service Setup : Phone Bootup
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
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 14

Setting up Network Time Protocol (NTP) -
SCCP
Router# config t
Router(config)# clock timezone zone hours-offset [minutes-offset]
Router(config)# clock summer-time zone recurring [week day month
hh:mm week day month hh:mm [offset]]
Router(config)# ntp server ip-address
end

i.e.
Router(config)# clock timezone CST -6
Router(config)# clock summer-time pdt recurring (optional)
Router(config)# ntp server 10.1.2.3

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 15

Setting up Network Time Protocol (NTP) -
SIP
Router# config t
Router(config)# voice register global
Router(config-register-global)# ntp-server ip-address [mode {anycast
| directedbroadcast | multicast | unicast}]
end

i.e.
Router(config)# voice register global
Router(config-register-global)# ntp-server 10.1.2.3

CME 4.1 or later
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 16

CME Configuration Infrastructure
Put phone load files in flash (also for IOS images and music-on-hold files)
copy tftp: flash:
Add tftp-server commands for phone loads
tftp-server flash:<filename>
Enter create cnf-files under telephony-services
This builds the XML configuration files needed (stored in ram file system instead
of flash)
One shared default XML configuration file is created
per type of phone (e.g. 7960, 7910)
Individual phone XML configuration file requests are
directed to the appropriate default using filename
aliases
Show telephony-service tftp-bindings displays the
alias to default file relationships
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 17

CME Configuration Infrastructure
CME#dir system:/its
16 -rw- 341 May 12 2004 19:12:04 +00:00 ATADefault.cnf.xml
13 -rw- 908 May 12 2004 19:12:04 +00:00 XMLDefault-1.cnf.xml
14 -rw- 993 May 12 2004 19:12:04 +00:00 XMLDefault-2.cnf.xml
12 -rw- 1134 May 12 2004 19:12:04 +00:00 XMLDefault.cnf.xml
6 -rw- 314 May 12 2004 19:12:04 +00:00 XMLDefault7902.cnf.xml
4 -rw- 782 May 12 2004 19:12:04 +00:00 XMLDefault7905.cnf.xml
3 -rw- 457 May 12 2004 19:12:04 +00:00 XMLDefault7910.cnf.xml
5 -rw- 780 May 12 2004 19:12:04 +00:00 XMLDefault7912.cnf.xml
10 -rw- 563 May 12 2004 19:12:04 +00:00 XMLDefault7920.cnf.xml
15 -rw- 407 May 12 2004 19:12:04 +00:00 XMLDefault7935.cnf.xml
7 -rw- 407 May 12 2004 19:12:04 +00:00 XMLDefault7936.cnf.xml
11 -rw- 792 May 12 2004 19:12:04 +00:00 XMLDefault7960.cnf.xml
9 -rw- 314 May 12 2004 19:12:04 +00:00 XMLDefault7965.cnf.xml
8 -rw- 407 May 12 2004 19:12:04 +00:00 XMLDefault7970.cnf.xml

CME#show telephony-service tftp-bindings
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP00078545CF02.cnf.xml
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000D659FD8E2.cnf.xml
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP0003E3340C67.cnf.xml
tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000BFDCDAA6A.cnf.xml
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 18

CME Configuration Infrastructure


CME#show voice register tftp-bind
tftp-server SIPDefault.cnf url system:/cme/sipphone/SIPDefault.cnf
tftp-server syncinfo.xml url system:/cme/sipphone/syncinfo.xml
tftp-server SIP0009B7F7532E.cnf url system:/cme/sipphone/SIP0009B7F7532E.cnf
tftp-server SIP000ED7DF7932.cnf url system:/cme/sipphone/SIP000ED7DF7932.cnf
tftp-server SIP0012D9EDE0AA.cnf url system:/cme/sipphone/SIP0012D9EDE0AA.cnf
tftp-server gk123456789012 url system:/cme/sipphone/gk123456789012
tftp-server gk123456789012.txt url system:/cme/sipphone/gk123456789012.txt
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 19

Files: Device Configuration XML File
<device>
<devicePool>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
</ports>
<processNodeName>10.15.0.1</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<versionStamp>{Jan 01 2002 00:00:00}</versionStamp>
<loadInformation>P00303020214</loadInformation>
- <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 />
<proxyServerURL />
<servicesURL />
</device>
SEPXXXXXXXXXXXX.cnf.xml
* XXXXXXXXXXX = to the
MAC address
XML
SEP
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 20

Debug of 7961 IP phone register to CME
debug tftp events
Log Buffer (10000000 bytes):

001646: Nov 2 22:15:16.494: %SYS-5-CONFIG_I: Configured from console by ww on vty1
(10.89.20.81)
001647: Nov 2 22:15:38.222: TFTP: Looking for CTLSEP001B2A897D71.tlv
001648: Nov 2 22:15:38.350: TFTP: Looking for SEP001B2A897D71.cnf.xml
001649: Nov 2 22:15:40.278: TFTP: Opened system:/its/XMLDefault7961.cnf.xml, fd 1,
size 1540 for process 11
001650: Nov 2 22:15:40.330: TFTP: Finished system:/its/XMLDefault7961.cnf.xml, time
00:00:00 for process 11
001651: Nov 2 22:15:43.314: TFTP: Looking for English_United_States/mk-sccp.jar
001652: Nov 2 22:15:43.454: TFTP: Looking for United_States/g3-tones.xml
001653: Nov 2 22:15:44.198: %IPPHONE-6-REG_ALARM: 22: Name=SEP001B2A897D71
Load= SCCP41.8-3-3SR2S Last=Reset-Reset
001654: Nov 2 22:15:44.258: %IPPHONE-6-REGISTER: ephone-5:SEP001B2A897D71
IP:10.88.238.192 Socket:5 DeviceType:Phone has registered.


Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 21

Debug of 7961 IP phone register to CME
debug cdp events
Log Buffer (10000000 bytes):

001658: Nov 2 22:20:52.126: CDP-EV: Lookup for ip phone with idb= Serial1/0.1 ip=
172.16.120.121 mac= 0000.0000.0000 platform= Cisco 3845
001659: Nov 2 22:21:17.762: CDP-EV: Lookup for ip phone with idb=
GigabitEthernet0/0.1 ip= 10.88.230.13 mac= 0017.0e2d.2895 platform= Cisco WS-C3550-
24-PWR
001660: Nov 2 22:21:38.222: %SYS-5-CONFIG_I: Configured from console by ww on vty1
(10.89.20.81)
001661: Nov 2 22:21:43.142: %IPPHONE-6-REG_ALARM: 22: Name=SEP001B2A897D71
Load= SCCP41.8-3-3SR2S Last=Reset-Reset
001662: Nov 2 22:21:43.214: %IPPHONE-6-REGISTER: ephone-5:SEP001B2A897D71
IP:10.88.238.192 Socket:5 DeviceType:Phone has registered.
001663: Nov 2 22:21:52.182: CDP-EV: Lookup for ip phone with idb= Serial1/0.1 ip=
172.16.120.121 mac= 0000.0000.0000 platform= Cisco 3845

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 22

CME Sample Configuration - SCCP
tftp-server flash:P00303020209.bin
telephony-services
max-ephone 24
max-dn 48
load 7940-7960 P00303020209
ip source-address 1.1.1.1 port 2000
create cnf-files
!
ephone-dn 1
name John
label HOME
number 74871
!
ephone-dn 2
name alice
number 72572
!
ephone 1
mac-address 1111.2222.3333
button 1:1 2:2
type 7960
Phone version from filename [03 02 02 09] is 3.2(2.9)
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 23

CME Sample Configuration - SIP

voice register global
mode cme
source-address 10.1.1.1 port 5060
max-dn 20
max-pool 10
load 7961 SIP41.8-3-5S
load 3911 SIP3951.8-1-2SR1
tftp-path flash:
file text (optional)
create profile sync 0222932069531157
!
voice register dn 1
number 1018
!
voice register dn 2
number 1020
!
voice register pool 1
id mac xxxx.yyyy.zzzz
type 3911
number 1 dn 1
dtmf-relay rtp-nte
username cisco password cisco
codec g711ulaw
!
tftp-server flash: SIP41.8-3-5S
tftp-server flash: SIP3951.8-1-2SR1
voice service voip
sip
registrar server expires max 600 min 60
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 24

Troubleshoot/FAQ Phone Registration
1. Not intial install and some phones arent registering
- If you have an external LAN switch, verify that the LAN switch has not been
disabled or disconnected from the LAN, or has not failed. If you have an internal
EtherSwitch module.
2. Check running-config and verify configuration
3. Are all phones that failed to successfully register using the SIP protocol?
4. Does the running configuration include the registrar server command? (SIP
phones)
5. Does the subnet mask in the DHCP configuration match the one in the network
interface?
- An incorrect DHCP configuration can prevent IP communications between
phones and other devices on the LAN.
6. Is the IP address for the TFTP server, option 150 under the dhcp configuration,
correctly configured?
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 25

Troubleshoot/FAQ Phone Registration
1. Examine the output for the auto-assign command. Is a phone
type specified in the auto-assign configuration?
2. Does the phone type specified in the auto-assign configuration
match the phone type of the phone to be registered?
3. Does the number specified in the auto-assign configuration
match or exceed the number of phones to be registered?
4. Examine the output for the load command. Is the phone type in
the command correctly identified? Is the appropriate phone
firmware filename, including version and protocol, specified for
this phone type?
- The firmware filename must not include the .sbin or .loads
suffix


Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 26

Troubleshoot/FAQ Phone Registration
1. The Cisco phone firmware files required for
each phone type installed in flash memory?
- Use the show flash command to display a list
of files in flash memory. (SCCP and SIP
phones)
2. Verify that the tftp-path command is correctly
configure for the external TFTP server.
3. Verify that the external TFTP server is reachable.
Ping the external TFTP server.



Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 27

Cisco CME and IOS Compatibility Matrix
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/requi
rements/guide/33matrix.htm
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 28

CME Setting up GUI
GUI files for one version of Cisco Unified CME are not compatible
with any other version of Cisco Unified CME. If you are downgrading
or upgrading your Cisco Unified CME version, you must downgrade
or upgrade your GUI files.

The user name parameter of any authentication credential must be
unique. Do not use the same value for a user name when you
configure any two or more authentication credentials in Cisco Unified
CME, such as the username for any Cisco United CME GUI account
and the user name in a logout

The password of the system administrator cannot be changed
through the GUI. Only the password of a customer administrator or a
phone user can be changed through the GUI.
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 29

CME - Setting up GUI
1. Configure http server on router :
ip http server
ip http path flash:
2. Configure Accounts for CME GUI :
telephony-service
dn-webedit
time-webedit
web admin system name <username> password <pass>
web admin customer name <username> password <pass>
username <username> password <password>
ephone <tag>
user <username> password <pass>
3. Download CME GUI files and copy to flash
i.e. archive tar /xtract tftp://172.18.1.1/cme-gui-123-14T.tar flash:
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 30

Accessing CME GUI
http://<ip_address_of_CME>/ccme.html
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 31

Accessing CUE GUI
http://<ip_address_of_CUE>/Web
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 32

CME Phone Features
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 33

ephone-dn and ephone
ephone-dn 1
label HOME
number 74871

ephone-dn 2
number 72572

ephone 1
mac-address 1111.2222.3333
button 1:1 2:2
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 34

ephone button
Ephone button command accepts these options:
: normal phone lines
s silent ring (ringer muted, call waiting beep muted)
b beep (ringer muted, call waiting beep not muted)
f feature ring (triple pulse ring style)
m monitor line (silent ring, call waiting display
suppressed)
o overlay lines (combine multiple lines per physical
button)
c overlay call-waiting (combine multiple lines per
physical button, 2 calls per button)
Example: button 1:10 2f11 3s12
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 35

Key Switch : one call per ephone-dn
Direct call selection
ephone-dn 10
number 1001
no huntstop

ephone-dn 11
number 1001
preference 1

ephone 1
mac-address H.H.H
button 1:10 2:11
Single channel ephone-dn
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 36

PBX style : two calls per ephone-dn
Use navigation bar to select call
Call waiting
3-party G.711 Conference
Styles can be mixed and combined on same phones
ephone-dn 10 dual-line
number 1001

ephone 1
mac-address H.H.H
button 1:10
Dual channel ephone-dn
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 37

Huntstop Channel
ephone-dn 10 dual-line
number 1001
no huntstop
huntstop channel

ephone-dn 11 dual-line
number 1001
huntstop channel
preference 1
Prevents incoming
calls from hunting into
the second channel
Reserves the second
channel for outgoing
calls
Transfer Consultation
Conference
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 38

CME Huntstop Channel hunt sequence
Ephone-dn 11 dual-line

Channel 1

Channel 2

Ephone-dn 10 dual-line

Channel 1

Channel 2

With
huntstop
channel
Without
huntstop
channel
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 39

Top Line Display
Allows you to set the top line (black bar) display
on the IP phone independently from the first button
text.
By default, the extension number of first button will
be displayed as the top line.
Ephone only uses the description (if defined) from
its first but not other button.
Example: use this to display the full E.164 number of
the phone instead of just the extension number.
ephone-dn <tag>
description display-text
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 40

Call Forward All from phone
CFwdAll soft-key
Select line (defaults to first idle line)
Press CFwdAll soft-key
Enter forward-to number
Hangup or press EndCall
Phone display indicates CFwdAll
To remove Fwd, just press CFwdAll again
CFwdAll configuration is auto-saved into router
startup-config after a 5 min timeout from the last
configuration change and only if there are no
active console / telnet logins.
ephone-dn 1
call-forward all 5551234
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 41

Lab

Configure:
ephone
Ephone-dn
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 42

Voice register dn & Voice register pool
voice register dn 1
number 1018
!
voice register dn 2
number 1020
!
voice register pool 1
id mac 001A.A11B.4F88
type 3911
number 1 dn 1
dtmf-relay rtp-nte
username cisco password cisco
codec g711ulaw
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 43

CME System Features
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 44

CME Configurable System Message
Can replace default Cisco CME with
custom message for display on idle IP
phones
telephony-service
system message VoIP Bootcamp
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 45

CME Secondary Dial Tone
Provide emulation of 2-stage dialing
secondary dial tone
Provides secondary dial tone when
configurable number pattern is matched
telephony-service
secondary-dialtone 9
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 46

CME - Intercom
CME supports intercom functionality for one-way calling and press-to-answer voice connections.

The intercom attribute causes an ephone-dn to operate as auto-dial for outbound calls and
auto-answer-with-mute, by default, for inbound calls.
If an ephone-dn is configured for intercom operation, it must be associated to one IP phone
only.
Intercom lines cannot be used in shared-line configurations.
ephone-dn 18
number 5001
intercom 5002 barge-in
!
ephone-dn 19
number 5002
intercom 5001 barge-in
!
ephone 4
button 2:18
!
ephone 5
button 2:19
!
no-auto-answerDisables the intercom auto-
answer feature
no-muteDisables the intercom mute-on-answer
feature
barge-inAllows inbound intercom calls to force an
existing call into the call-hold state and allows the
intercom call to be immediately answered.
labelDefines an alphanumeric label for the
intercom, of up to 30 characters
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 47

CME - Paging
The audio paging feature operates in a way similar to the intercom, but
provides only one-way voice, with no press-to-answer option.
Single Group Paging :

ephone-dn 20
number 2000
paging ip 239.0.1.20 port 2000
!
ephone-dn 21
number 2001
paging ip 239.0.1.21 port 2000
!
ephone 1
button 1:1
paging-dn 20
!
ephone 2
button 1:2
paging-dn 20
!
ephone 3
button 1:3
paging-dn 21
!
ephone 4
button 1:4
paging-dn 21
!
Paging calls to 2000 are multicast to
ephones 1 and 2, and paging calls to
2001 go to ephones 3 and 4
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 48

CME - Paging (Contd.)
ephone-dn 20
number 2000
paging ip 239.0.1.20 port 2000
!
ephone-dn 21
number 2001
paging ip 239.0.1.21 port 2000
!
ephone-dn 22
number 2002
paging ip 239.0.2.22 port 2000
paging group 20,21
ephone 1
button 1:1
paging-dn 20
!
ephone 2
button 1:3
paging-dn 21
!
ephone 3
button 1:4
paging-dn 21
!
ephone 4
button 1:5
paging-dn 22
Paging calls to 2000 go to
ephone 1 , and paging calls
to 2001 go to ephones 2
and 3. Calls to 2002 go to
ephones 1, 2, 3, and 4.
Ephone 1 is included in
paging directory number
(ephone-dn) 22 through
membership of ephone-dn
20 in the paging group.
Ephones 2 and 3 are
included in paging ephone-
dn 22 through membership
of ephone-dn 21 in the
paging group. Ephone 4 is
directly subscribed to
paging-dn 22.
Paging in Multiple Groups :
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 49

Lab
Configure:
System message
Intercom
paging
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 50

CME - Integration with Voicemail
CME can integrate with voicemail using SCCP / SIP
telephony-service
voicemail 4001
!
ephone-dn 10
number 4001
name voicemail port 1
no huntstop
!
ephone-dn 11
number 4001
name voicemail port 2
preference 1
no huntstop
!
ephone-dn 12
number 4001
name voicemail port 3
preference 2
no huntstop
!
ephone-dn 13
number A4002
name voicemail port 4 MWI only
Voicemail
Pilot number
ephone 23
vm-device-id CiscoUM-VI1
button 1:10
!
ephone 24
vm-device-id CiscoUM-VI2
button 1:11
!
ephone 25
vm-device-id CiscoUM-VI3
button 1:12
!
ephone 26
vm-device-id CiscoUM-VI4
button 1:13
Unity ports
registered with
CME
The string CiscoUM-VI corresponds with
the name associated to the port in TSP
within Unity.
MWI only
(incoming calls
from Unity only)
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 51

CME - Integration with Voicemail (MWI)
ephone-dn 14
number 8000 secondary 8001
name mwi
mwi on-off
!
!
ephone-dn 18
number 2001
call-forward noan 4001 timeout 12
call-forward busy 4001
For all phone
need voice mail
1. Extension 2001 receives a call and the call is not answered.
2. Extension 2001 forwards the call to the voice-mail access
port 4001.
3. The Unity Voice Mail system stores the new message for
extension 2001.
4. The Unity Voice Mail then places an MWI notification call to
the MWI processing ephone-dn 8000 with the calling party
ID for the notification call set to 2001.
5. The ephone-dn 8000 accepts the MWI notification call and
switches on the message waiting light for extension 2001.
MWI on/off code
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 52

CME Call Distribution
Sequential Call Distribution using ephone-
dn with same number
Parallel Call Distribution using Shared-lines
Parallel Call Distribution using Overlay
Lines
Sequential Call Distribution using Call
forward on busy / no-answer
Sequential Call Distribution using Ephone-
hunt
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 53

CME Sequential/Parallel distribution
In sequential hunting, only one phone rings at a
time
In parallel hunting, multiple phones ring at the
same time and the call can be answered by any
phone.
Sequences of parallel hunting are possible using
combined configurations
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 54

Create multiple ephone-dn entries with the same
number and assign to different phones
Control SEQUENTIAL hunt order using
preference
[no] huntstop
Huntstop channel
Only one phone rings at a time
Use existing IOS dial-peer hunt global CLI to
select hunt algorithm.
CME Sequential Call Distribution
using ephone-dn with same number
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 55

CME Sequential Call Distribution
using ephone-dn with same number (e.g.)
ephone-dn 1
number 1001
no huntstop

ephone-dn 2
number 1001
no huntstop
preference 1

ephone-dn 3
number 1001
preference 2

ephone 1
button 1:1

ephone 2
button 1:2

ephone 3
button 1:3
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 56

Button 1 rings Does not receive
call indication
Does not receive
call indication
Button 1 rings
Does not receive
call indication
Does not receive
call indication
Phone 1 Phone 2
Call A
Phone 1 answers call A on button 1
Call B
Phone 2 answers call B on button 1
Call C
The Caller hears Busy Tone
ephone 1
button 1:1

ephone 2
button 1:2
CME Sequential Call Distribution
using ephone-dn with same number (e.g.)
ephone-dn 1
number 1001
no huntstop

ephone-dn 2
number 1001
no huntstop
preference 1
2 phones with same extension, 1 phone rings at a time and 2 total incoming calls
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 57

CME Parallel Call Distribution
using shared lines
Perform in parallel call distribution using shared
lines to ring multiple phones at same time
Same ephone-dn entry is assigned to multiple phones
Each ephone-dn can only handle one call at a time.
Once the ephone-dn is in use, no further calls are
accepted on the ephone-dn.

ephone-dn 1 ephone 1 ephone 2
number 1001 button 1:1 button 1:1
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 58

Button 1 rings Button 1 rings
Does not receive
call indication
Does not receive
call indication
Phone 1 Phone 2
Call A
Phone 1 answers call A on button 1
Call B
The Caller hears Busy Tone
ephone 1
button 1:1

ephone 2
button 1:1
CME Parallel Call Distribution
using shared lines (e.g.)
ephone-dn 1
number 1001
2 phones with same extension, both phones rings but only 1 incoming call
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 59

CME Parallel Call Distribution
using overlay lines
Allows multiple calls to a shared number across multiple phones

Example:

ephone-dn 1 ephone 1
number 1001 button 1o1,2,3
no huntstop

ephone-dn 2 ephone 2
number 1001 button 1o1,2,3
no huntstop
preference 1

ephone-dn 3 ephone 3
number 1001 button 1o1,2,3
no huntstop
preference 2
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 60

Button 1 rings Button 1 rings
Does not receive
call indication
Button 1 rings
Does not receive
call indication
Does not receive
call indication
Phone 1 Phone 2
Call A
Phone 1 answers call A on button 1
Call B
Phone 2 answers call B on button 1
Call C
The Caller hears Busy Tone
ephone 1
button 1o1,2

ephone 2
button 1o1,2
CME Parallel Call Distribution
using overlay lines (e.g.)
ephone-dn 1
number 1001
no huntstop

ephone-dn 2
number 1001
no huntstop
preference 1
2 phones with same extension, both phones rings and 2 total incoming calls
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 61

CME Sequential Call Distribution
using Call Forwarding
ephone-dn 1
number 1001
call-forward busy 1002
call-forward noan 1002 timeout 20
ephone-dn 2
number 1002
call-forward busy 1003
call-forward noan 1003 timeout 20
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 62

Button 1 rings Does not receive
call indication
Does not receive
call indication
Button 1 rings
Button 1 rings Does not receive
call indication
Phone 1 Phone 2
Call A
Phone 1 doesnt answer call A
Phone 2 answers call A on button 1
Call B
Phone 1 answers call B on button 1
CME Sequential Call Distribution
using Call Forwarding (e.g.)
ephone-dn 1
number 1001
call-forward busy 1002
call-forward noan 1002 timeout 20

ephone-dn 2
number 1002
call-forward busy 1003
call-forward noan 1003 timeout 20
2 phones with different extensions, 1 phone rings at a time and 2 total incoming calls
ephone 1
button 1:1

ephone 2
button 1:2
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 63

CME Sequential Call Distribution
using ephone-hunt
Ephone-hunt tag [sequential | peer | longest-idle]
pilot pilot number for hunt group
list list of numbers in hunt group
final final number for hunt group
hops maximum number of hunting hops
no-reg do not register pilot number to gatekeeper
preference dial-peer preference of pilot number
timeout timeout in seconds for hunting
!
ephone-hunt 9 sequential
pilot 1001
list 2001, 2002, 2003, 2004
final 2009
!
!
ephone-hunt 10 peer
pilot 1001
list 2001, 2002, 2003, 2004
final 2009
!
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 64

CME Ephone Hunt Group Types
Sequential
Extensions always ring in the order in which they are listed, left
to right, when the hunt group is defined. No memory of the last
number to ring.
Peer
The first extension to ring is the number to the right (in the list)
of the extension that was the last one to ring when the hunt
group was last called. Ringing proceeds in a circular manner,
left to right, for the number of hops specified when the ephone
hunt group is defined.
Longest Idle
Calls go to the ephone-dn that has been idle the longest.
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 65

CME Troubleshooting
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 66

CME Troubleshooting
Show Commands
Debugs Commands
Call Flows Call Debugs
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 67

show ephone commands
show ephone 7910
show ephone 7960
show ephone 7940
show ephone H.H.H
show ephone offhook
show ephone registered
show ephone remote
show ephone ringing
show ephone summary
show ephone tapiclients
show ephone telephone-numbers
show ephone unregistered
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 68

CME Show Ephone [summary]
By phone type
7960, 7940, 7910 etc
By mac-address
With CFA
With call forward all set
By ephone-dn or
extension number
With specific ephone-dn
tag or phone number
With DND set
With user login active
In Offhook or Ringing state
With DN overlay assigned
REGISTERED or
UNREGISTERED
With active TAPI connection
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 69

CME show ephone summary example
ephone-1 Mac:0009.B7A8.F26D TCP socket:[-1] activeLine:0 UNREGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0
IP:0.0.0.0 Unknown 0 keepalive 0
sp1:8102

ephone-2 Mac:0030.94C2.57E7 TCP socket:[1] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0
IP:40.0.0.3 Telecaster 7960 keepalive 50 1:1 2:2 3:10 4:31 5:29
sp1:8101 sp2:8102

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 70

CME show ephone-dn commands
show ephone-dn <tag>
show ephone-dn summary
show ephone-dn callback
show ephone-dn loopback
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 71

CME show ephone-dn
Summary mode
Shows state of all virtual voice-ports
Similar to show voice port summary
Callback
Shows pending CallBack when free
Loopback
Shows ephone-dn in loopback mode
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 72

show telephony-service admin
show telephony-service ephone
show telephony-service ephone-dn
show telephony-service all
show telephony-service voice-port
show telephony-service dial-peer
show telephony-service commands
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 73

CME debug command summary
detail / state/ error
3 levels of general debug
for phone/call activity
moh
Shows music-on-hold
access
mwi
Message waiting indication
alarm
Shows skinny alarm
messages from phone
keepalive
Shows skinny keepalive
messages
register
Activity related to phone
registration with ITS/SRST
debug ephone [debug-type] [mac-address H.H.H]
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 74

CME debug command summary (cont.)
pak
Shows 1-in-1024 RTP packets between router and phone (will not
show anything for direct phone-to-phone calls)
raw
Shows raw bytes for skinny protocol message exchange
statistics
Shows voice packet statistics polling from router to phone
loopback
Shows call activity on ephone-dn entries configured as loopback
debug ephone [debug-type] [mac-address H.H.H]
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 75

CME Debugs during a local call
CME
Phone-A
Line 1 = 1001
Line 2 = 1003
Line 1 = 1002
Line 2 = 1003

Phone-B
telephony-service
ip source-address 10.0.0.1 port 2000
max-ephone 2
max-dn 3
create-cnf files
load 7940-7960 P00303020214.bin
!
ephone 1
mac-address 000B.5FF9.3258
button 1:1 2:3
ephone 2
mac-address 000B.BE37.1C2d
button 1:2 2:3
!
ephone-dn 1
number 1001
ephone-dn 2
number 1002
ephone-dn 3
number 1003
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 76

Show ephone
ephone-1 Mac:000B.5FF9.3258 TCP socket:[2] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:1.2.172.31 50551 Telecaster 7940 keepalive 35 max_line 2
button 1: dn 1 number 1001 CH1 IDLE
button 2: dn 3 number 1003 CH1 IDLE shared


ephone-2 Mac:000B.BE37.1C2D TCP socket:[3] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:1.2.172.32 52349 Telecaster 7960 keepalive 10 max_line 6
button 1: dn 2 number 1002 CH1 IDLE
button 2: dn 3 number 1003 CH1 IDLE shared
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 77

Phone A goes off-hook
debug ephone state

*Mar 1 03:02:08.539: ephone-1[2]:OFFHOOK
*Mar 1 03:02:08.539: SkinnyGetCallState for DN 1 chan 1 IDLE
*Mar 1 03:02:08.543: ephone-1[2]:Binding ephone-1 to DN 1 chan 1 s2s:0
*Mar 1 03:02:08.543: Assign Call Ref 11 to DN 1 chan 1
*Mar 1 03:02:08.543: Skinny Call State change for DN 1 chan 1 SIEZE from IDLE
*Mar 1 03:02:08.547: ephone-1[2]:SelectPhoneSoftKeys set 4 mask FFFF for line 1 ref 11
*Mar 1 03:02:08.559: SetDnCodec DN 1 chan 1 codec 4:G711Ulaw64k vad 250 size 160
*Mar 1 03:02:08.559: dn_tone_control DN=1 chan 1 tonetype=33:DtInsideDialTone onoff=1
pid=138
*Mar 1 03:02:08.563: Skinny StartTone 33 sent on ephone socket [2] DtInsideDialTone

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 78

Phone A dials 1002
*Mar 1 03:02:15.115: ephone-1[2]:KeypadButtonMessage 1
*Mar 1 03:02:15.115: ephone-1[2]:Store ReDial digit: 1
*Mar 1 03:02:15.115: ephone-1[2][SEP000B5FF93258]:SkinnyTryCall to 1 instance
1 start at 0
*Mar 1 03:02:15.119: ephone-1[2]:StopTone sent to ephone
*Mar 1 03:02:15.123: dn_tone_control DN=1 chan 1 tonetype=0:DtSilence onoff=0
pid=138
*Mar 1 03:02:15.627: ephone-1[2]:KeypadButtonMessage 0
*Mar 1 03:02:15.627: ephone-1[2]:Store ReDial digit: 10
*Mar 1 03:02:15.883: ephone-1[2]:KeypadButtonMessage 0
*Mar 1 03:02:15.883: ephone-1[2]:Store ReDial digit: 100
*Mar 1 03:02:16.391: ephone-1[2]:KeypadButtonMessage 2
*Mar 1 03:02:16.391: ephone-1[2]:Store ReDial digit: 1002
*Mar 1 03:02:16.391: ephone-1[2][SEP000B5FF93258]:SkinnyTryCall to 1002
instance 1 start at 0

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 79

Call set up in progress
SkinnyTryCall to 1002 instance 1 match DN 2
*Mar 1 03:02:16.395: Skinny Call State change for DN 1 chan 1 ALERTING from SIEZE
*Mar 1 03:02:16.399: ephone-1[2]:DialedNumber: 1002 DN 1 line 1 ref 11
calling [1001] called [1002] calling name Tom called name
*Mar 1 03:02:16.403: ephone-1[2]: Tom calling
*Mar 1 03:02:16.403: ephone-1[2]: No-Name
*Mar 1 03:02:16.411: SkinnyUpdateDnState by EFXS_PROCEEDING
*Mar 1 03:02:16.419: SetCallInfo calling dn 1 chan 1 dn 2 chan 1
calling [1001] called [1002] calling name Tom
*Mar 1 03:02:16.419: SkinnyUpdateDnState by EFXS_RING_GENERATE
for DN 2 chan 1 to state RINGING
*Mar 1 03:02:16.431: ephone-2[3]:Call Info DN 2 line 1 ref 12 called 1002 calling 1001
origcalled 1002 calltype 1
*Mar 1 03:02:16.431: ephone-2[3]: Tom calling
*Mar 1 03:02:16.431: ephone-2[3]: No-Name
*Mar 1 03:02:16.431: ephone-2[3]:Internal RINGING
*Mar 1 03:02:16.431: ephone-2[3]:Ringer Inside Ring On
*Mar 1 03:02:16.439: Skinny StartTone 36 sent on ephone socket [2] DtAlertingTone

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 80

Phone B answers the call
*Mar 1 03:02:29.259: ephone-2[3]:OFFHOOK
*Mar 1 03:02:29.259: ephone-2[3]:Disable Ringer line 1
*Mar 1 03:02:29.259: ephone-2[3]:STOP RINGING
*Mar 1 03:02:29.259: ephone-2[3]:Ringer Off
*Mar 1 03:02:29.263: ephone-2[3][SEP000BBE371C2D]:Auto select answer line 1 dn -1 chan
1
*Mar 1 03:02:29.263: ephone-2[3]:ANSWER call
*Mar 1 03:02:29.283: ephone-1[2]:OpenReceive DN 1 chan 1 codec 4:G711Ulaw64k duration
20 ms bytes 160
*Mar 1 03:02:29.287: ephone-2[3]:OpenReceive DN 2 chan 1 codec 4:G711Ulaw64k duration
20 ms bytes 160
*Mar 1 03:02:29.299: SetDnCodec clear_defer media start
*Mar 1 03:02:29.299: SetDnCodec DN 1 chan 1 codec 4:G711Ulaw64k vad 0 size 160
*Mar 1 03:02:29.551: ephone-1[2]:OpenReceiveChannelAck:IP 1.2.172.31, port=24942,
dn_index=1, dn=1, chan=1

*Mar 1 03:02:29.559: ephone-2[3]:OpenReceiveChannelAck:IP 1.2.172.32, port=25468,
dn_index=2, dn=2, chan=1
*Mar 1 03:02:29.559: ephone-1[2]:StartMedia 1.2.172.32 port=25468

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 81

Call disconnect
*Mar 1 03:03:15.231: ephone-2[3]:ONHOOK (from phone)
*Mar 1 03:03:15.235: ephone-1[2]:CloseReceive
*Mar 1 03:03:15.235: ephone-1[2]:StopMedia
*Mar 1 03:03:15.235: ephone-2[3]:call clean up this DN 2 chan 1 was called by other DN 1
chan 1
*Mar 1 03:03:15.235: ephone-2[3]:CloseReceive
*Mar 1 03:03:15.235: ephone-2[3]:StopMedia
*Mar 1 03:03:15.239: DN 2 chan 1 End Voice_Mode
*Mar 1 03:03:15.239: Skinny Call State change for DN 2 chan 1 IDLE from CONNECTED
*Mar 1 03:03:15.247: ephone-2[3]:Clean Up Speakerphone state
*Mar 1 03:03:15.247: ephone-2[3]:SpeakerPhoneOnHook
*Mar 1 03:03:15.251: DN 1 chan 1 End Voice_Mode
*Mar 1 03:03:15.255: ephone-1[2]:ClearCallPrompt line 1 ref 11
*Mar 1 03:03:15.259: ephone-1[2]:Clean Up Speakerphone state
*Mar 1 03:03:15.259: ephone-1[2]:SpeakerPhoneOnHook

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 82

Lab
Sh commands
Debugs
Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 83

Cisco Systems, Inc. All rights reserved. VoIP Bootcamp Day 5 - 84

Appendix