Configure
the Maximum Number of Phones Allowed to Register.
Before an
IP phone can register with CUCME, you'll need to set the maximum number allowed
to register to CUCME.
The max
limit depends on the router platform and the higher the router model,
the more
IP phones CUCME will support. Note that each reservation consumes
router's Digital Signaling Processor (DSP) resources and license
purchased.
RtrPod1#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
RtrPod1(config)#telephony-service
RtrPod1(config-telephony)#?
auto Define dn range for auto
assignment
auto-reg-ephone Enable Ephone Auto-Registration
create create cnf for ethernet phone
exit Exit from telephony config mode
ip Define IP address and port for
Telephony-Service/Fallback
keepalive Define keepalive timeout period to
unregister IP phones
max-dn Maximum directory numbers supported
max-ephones Define max number of IP phones
no Negate or set default values of
a command
RtrPod1(config-telephony)#max-ephones
?
<1-42>
Maximum phones to support
RtrPod1(config-telephony)#max-ephones
5
Establish
the Maximum Number of Directory Numbers (Phone Numbers)
Before an
IP phone can register with CUCME, you'll need to set the maximum number of
directory numbers (DN). The
maxmimum number of supported DN depends on the router model and it also consume
router resources.
RtrPod1(config-telephony)#max-dn
?
<1-144>
Maximum directory numbers supported
RtrPod1(config-telephony)#max-dn
5
Set the
IP Address Used by CUCME
Before an
IP phone can register, CUCME needs an IP address used to receive requests and
respond to IP phones.
CUCME
uses TCP port 2000 by defaut, but it can be changed with the port option.
Any valid
IP address can be used on the Voice Router, but it's recommended to use either
the Voice VLAN subinterface or a Loopback address since it's always up.
RtrPod1(config-telephony)#ip
source-address 10.15.0.1
%
Incomplete command.
RtrPod1(config-telephony)#ip
source-address 10.15.0.1 ?
port
Define tcp port for Telephony Service/CM FALLBACK
RtrPod1(config-telephony)#ip source-address 10.15.0.1 port 2000 //
OLDER CUCME VERSION REQUIRE TO ADD PORT NUMBER
Create
the Default Template Files
Newer
CUCME versions will automatically create the default template files for the IP
phone. In older
CUCME versions, You'll need to manually create the template files. Notice
the SCCP (Skinny Client Control Protocol) phone registration is rejected in
CUCME due to a clock syncrhonization issue.
RtrPod1(config-telephony)#create
?
cnf-files
create XML cnf for ethernet phone
RtrPod1(config-telephony)#create
cnf-file
Creating
CNF files
CNF-FILES: Clock is not set or synchronized,
retaining old versionStamps
CNF files
update complete
RtrPod1(config-telephony)#
%IPPHONE-6-REG_ALARM: 24: Name=SEP001D452D50BD Load=
SCCP41.8-3-3SR2S Last=Phone-Reg-Rej
RtrPod1(config-telephony)#
%IPPHONE-6-REG_ALARM:
24: Name=SEP001D452D50BD Load= SCCP41.8-3-3SR2S Last=Phone-Reg-Rej
RtrPod1(config-telephony)#
%IPPHONE-6-REG_ALARM:
24: Name=SEP001D452D50BD Load= SCCP41.8-3-3SR2S Last=Phone-Reg-Rej
<OUTPUT TRUNCATED>
telephony-service
max-ephones 5
max-dn 10
ip source-address
10.15.0.1 port 2000
create cnf-files version-stamp Jan 01 2002 00:00:00
RtrPod1#sh clock
0:8:24.504 UTC Tue Jan 1 2002
SwPod1#sh clock
0:8:3.245 UTC Tue Jan 1 2002
RtrPod1(config-telephony)#auto-reg-ephone
RtrPod1(config-telephony)#
%IPPHONE-6-REGISTER: ephone-2 IP:10.15.0.11 Socket:2
DeviceType:Phone has registered.
RtrPod1(config-telephony)#
%IPPHONE-6-REGISTER: ephone-1 IP:10.15.0.12 Socket:2
DeviceType:Phone has registered.
Configuring
Directory Numbers (DN)
Ephone-dns
can be single-line, dual-line or octo-line (as of CUCME 4.1). This is
the number of simultaneous audio channels (lines) usable per phone button. For
example, call waiting and call transfer will need two audio channels: one
channel for the original caller and another to establish the third party
connection. Most IP
phones will use dual-line dns.
RtrPod1(config)#ephone-dn
?
<1-288>
ephone-dn tag
RtrPod1(config)#ephone-dn
1 ?
<cr>
RtrPod1(config)#ephone-dn
1
RtrPod1(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 1.1, changed state to up
RtrPod1(config-ephone-dn)#number
2001
RtrPod1(config-ephone-dn)#ephone-dn
2
RtrPod1(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 2.1, changed state to up
RtrPod1(config-ephone-dn)#number
2002
RtrPod1(config-ephone-dn)#ephone-dn
3
RtrPod1(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 3.1, changed state to up
RtrPod1(config-ephone-dn)#number
2003
RtrPod1(config-ephone-dn)#ephone-dn
4
RtrPod1(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 4.1, changed state to up
RtrPod1(config-ephone-dn)#number
2004
Create an
Ephone and Assign the MAC Address of the IP phone
CUCME
uses the ephone to connect directory numbers (ephone-dns) to the MAC address of
the IP phone. Three
common ways to get the MAC address of an IP phone:
1. From
the box of the IP phone (sticker lable with bar codes)
2. At the
back of the IP phone
3. From
the LCD screen of the IP phone: press Settings > Network Settings.
Get the
MAC address from the Switch MAC address table or from the DHCP pool binding in
the Voice Router.
SwPod1#show
mac address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1
0001.c9ce.b902 DYNAMIC Fa0/1
10
0001.c9ce.b902 DYNAMIC Fa0/1
11
0001.c9ce.b902 DYNAMIC Fa0/1
15
0001.c9ce.b902 DYNAMIC Fa0/1
15 0002.17bb.33b0 DYNAMIC
Fa0/3
15 0050.0f55.928d DYNAMIC
Fa0/4
RtrPod1#show
ip dhcp binding
IP
address Client-ID/ Lease expiration Type
Hardware address
10.15.0.11 0002.17BB.33B0 -- Automatic
10.15.0.12 0050.0F55.928D -- Automatic
Create an
Ephone and Assign the MAC Address
RtrPod1(config)#ephone
1
RtrPod1(config-ephone)#?
button
Assign ephone-dn phone lines to phone using format with feature
options.
exit
Exit from ephone configuration mode
mac-address
define ethernet phone MAC address
no
Negate or set default values of a command
type
Define ip-phone type
RtrPod1(config-ephone)#mac-address
?
H.H.H
Mac address
RtrPod1(config-ephone)#mac-address
0002.17BB.33B0
RtrPod1(config-ephone)#exit
RtrPod1(config)#ephone
2
RtrPod1(config-ephone)#mac-address
0050.0F55.928D
RtrPod1(config-telephony)#
%IPPHONE-6-REGISTER: ephone-2 IP:10.15.0.11 Socket:2
DeviceType:Phone has registered.
RtrPod1(config-telephony)#
%IPPHONE-6-REGISTER: ephone-1 IP:10.15.0.12 Socket:2
DeviceType:Phone has registered.
telephony-service
max-ephones 5
max-dn 5
ip source-address
10.15.0.1 port 2000
create cnf-files
version-stamp Jan 01 2002 00:00:00
!
ephone-dn 1
number 2001
!
ephone-dn 2
number 2002
!
ephone-dn 3
number 2003
!
ephone-dn 4
number 2004
!
ephone 1
device-security-mode
none
mac-address 0002.17BB.33B0
type 7960
button 1:2
!
ephone 2
device-security-mode
none
mac-address 0050.0F55.928D
type 7960
button 1:1
RtrPod1#
show ephone
ephone-1 Mac:0002.17BB.33B0
TCP socket:[1] activeLine:0 REGISTERED
in SCCP ver 12 and Server in ver 8
mediaActive:0
offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.15.0.11 1800 7960 keepalive 43 max_line 2
button 1: dn 2
number 2002 CH1 IDLE
ephone-2
Mac:0050.0F55.928D TCP socket:[1]
activeLine:0 REGISTERED in SCCP ver 12
and Server in ver 8
mediaActive:0
offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.15.0.12 1760 7960 keepalive 43 max_line 2
button 1: dn 1
number 2001 CH1 IDLE
Place a
call from from extension 2002 to 2001
Notice
the status on the LCD displayed Ring Out (on 2002) and both became Connected
after IP phone with extension 2001 picked up the call or was off-hook.
RtrPod1#show ephone
ephone-1
Mac:0002.17BB.33B0 TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and
Server in ver 8
mediaActive:1
offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.15.0.11 1799
7960 keepalive 43 max_line 2
button 1: dn 2
number 2002 CH1 CONNECTED
Active Call on DN 2chan 1 :2002 10.15.0.11 1799 to
10.15.0.1 2000 via 10.15.0.11
G729 20 bytes no vad
Tx Pkts 0 bytes 0 Rx
Pkts 0 bytes 0 Lost 0
Jitter 0 Latency 0
callingDn -1 calledDn -1 (media path callID 17 srcCallID 18)
ephone-2
Mac:0050.0F55.928D TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and
Server in ver 8
mediaActive:1
offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.15.0.12 1760
7960 keepalive 43 max_line 2
button 1: dn 1
number 2001 CH1 CONNECTED
Active Call on DN 1chan 1 :2001 10.15.0.12 1760 to
10.15.0.1 2000 via 10.15.0.12
G729 20 bytes no vad
Tx Pkts 0 bytes 0 Rx
Pkts 0 bytes 0 Lost 0
Jitter 0 Latency 0
callingDn -1 calledDn -1 (media path callID 17 srcCallID 18)
This is a packet capture wherein an IP phone (x2002) establishes an SCCP connection to CUCME (10.15.0.1) to route a call to x2001.
The two IP phones established a direct Real-time Transport Protocol (RTP) connection afterwards.
This is a packet capture wherein an IP phone (x2002) establishes an SCCP connection to CUCME (10.15.0.1) to route a call to x2001.
The two IP phones established a direct Real-time Transport Protocol (RTP) connection afterwards.
No comments:
Post a Comment