In the previous article, we discussed about the basics of administering the CME through CLI, GUI and through CCP. Now it’s time for us to get into one of the main part, which is, adding phones and users to the CME. What use would your voice infrastructure be without users?

To start off, most of the configuration of CME falls under the “telephony-service” section. For the CME to work, it requires three things in order to be configured:

IP Source Address – This is the IP address the phones will use to register to the call manager express. If your voice infrastructure is mainly using CME only without CUCM, the IP address should be configured as option 150 in the DHCP pool for the phones. If your implementation is not using the CME as the TFTP server, then configure the third party TFTP server IP address as the option 150.

Max-DN – This indicates how many directory numbers the routers will allow. Directory number is basically the number assigned to phones.

Max-Ephone – Ephones are the configuration counterpart of the physical or soft phones. This tells the router how many phones are allowed to be configured inside the CME.

The output below shows how to configure these three basic components to start the CME.

CME_Router(config)#telephony-service
CME_Router(config-telephony)#ip source-address ?
A.B.C.D Define IP source address

CME_Router(config-telephony)#ip source-address 10.10.10.2
CME_Router(config-telephony)#max-ephones ?
<1-144> Maximum phones to support

CME_Router(config-telephony)#max-ephones 144
CME_Router(config-telephony)#max-dn ?
<1-500> Maximum directory numbers supported
<cr>

CME_Router(config-telephony)#max-dn 500

The “ip source-address” command has the additional parameter to include the port number. If nothing is specified the default port will be 2000. Max-ephones and max-dns maximum number depends on the router or hardware platform that is being used.

Ephone-DNs

As mentioned above, ephone-dns are the numbers for your IP phone. A DN can be configured as a single-line or a dual-line. Single-line means that only one call is allowed on that number. If another call comes in, the caller will hear a busy tone. This type of dn is useful for paging or intercom.

Dual-line, on the other hand, can support two calls at the same time. This is particularly useful for features like call waiting, conference calls and simple transfers. If a second call comes in, the caller will not hear a busy tone, instead he will hear the phone ringing. The called party, who is on an on-going call, will hear a call-waiting beep indicating that another call is coming in. Newer platforms and CME versions now support octo-line which can support up to 8 calls per DN.

An example on how to configure DNs can be found below.

CME_Router(config)#ephone-dn 1
CME_Router(config-ephone-dn)#number
Mar 1 00:13:14.939: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
CME_Router(config-ephone-dn)#number 1000
CME_Router(config-ephone-dn)#name Peterson
CME_Router(config-ephone-dn)#label Peterson(1000)

CME_Router(config-ephone-dn)#ephone-dn 2 dual-line
CME_Router(config-ephone-dn)#number 2000 secondary 3000
CME_Router(config-ephone-dn)#name Amar
CME_Router(config-ephone-dn)#label Amar(2000)

There are two DNs configured above with the numbers 1000 and 2000.Notice the second DN has a secondary number configured. Secondary numbers are used if the phone needs to be assigned a number that can be reached from the PSTN through DID (Direct Inward Dial).

DNs can be configured with the same numbers and the router will accept it without any problems. The same DNs can be assigned to multiple phones. This type of configuration is often times used in overlay or shared lines. Overlay lines are used in help desks or other groups that need one number for multiple users.

The “name” configuration basically ties the number to any name you configure. The name that is tied to a number or ephone-dn will appear on the display once the caller dials that number. For example, Peterson with a dn of 1000 calls Amar. After 2000 is dialled, the name “Amar” will appear on Peterson’s phone display. The secondary number for ephone-dn 2 also resolves to “Amar” if dialed. This is basically the caller-id of the ephone-dn. The called party’s phone (Amar’s phone) will ring and will show the name of the person calling him. In this case, the called party will see “Peterson” plus his directory number. Though we haven’t reach the part where we assign the DNs to the Ephones, the figures below illustrate the uses of “name” and “label” parameters.

 

Figure 1 – Dialling Number 2000 from Peterson’s IP Phone

 

Figure 2 – Amar’s IP Phone Showing the Caller Identity

Figure 3 – Caller Identification for the Secondary Number

The “label” on the other hand will be the text display on the phone’s button. If no label is configured, the ephone’s configured number will be displayed.

 

Figure 4 – Button 1 Showing Label as Peterson(1000)

 

Let’s see how the CME router reacts if we configure ephone-dns more than the maximum number indicated under “telephony-service”. For this example, let’s change the max-dns to 2.

CME_Router(config)#telephony-service
CME_Router(config-telephony)#max-dn 2
CME_Router(config-telephony)#exit
CME_Router(config)#ephone-dn 3
dn tag 3 exceeds legal range 1 to max-dn 2

CME_Router(config)#telephony-service
CME_Router(config-telephony)#max-dn 500

The router rejected the configuration and indicated that it exceeded the maximum.

Ephones

Ephones are basically the configuration equivalent of the IP phones. This section links the IP phone and the CME router together. To identify which IP phone is on which ephone configuration, the mac-address of the IP phone needs to be specified. The mac-address can be found in three places, namely, on the box of the IP phone, at the back of the IP phone and on the settings menu of the IP phone. Below is an example on how to configure the mac-address of the ephones.

CME_Router(config)#ephone 1
CME_Router(config-ephone)#mac-address AAAA.BBBB.1128
CME_Router(config-ephone)#ephone 2

CME_Router(config-ephone)#mac-address
setting mac-address automatically to 000C.2954.0496 for ephone 2
phone registration type= CIPC

Auto Registration and Auto Assign

Ephone 1 has been configured with a specific mac-address while ephone 2 has no mac-address configured but the router accepted the configuration. Why is this so? It is because auto-registration was enabled by default. The CIPC with mac-address 000C.2954.0496 happens to auto-register as ephone 2. So when the “mac-address” command was entered in the ephone configuration, it automatically mapped the mac-address of the IP phone due to auto-registration.

Auto-registration allows the phone to register to the CME without any configuration involved. It is very useful when the phones are being deployed for the first time and the administrator wants to gather all the mac-addresses and phone information for ease of configuration. Auto registration doesn’t mean the phones can already make calls. If a plug-and-play behaviour is desired, auto-assign feature should be enabled. Auto-assign allows the CME to automatically assign a free ephone-dn to an auto-registered phone. To disable auto-registration issue “no auto-reg-ephone” under “telephony-service”. Below is how to configure auto assign.

CME_Router#sh run | sec ephone-dn
ephone-dn 1
number 1000
label Peterson(1000)
name Peterson
ephone-dn 2 dual-line
number 2000 secondary 3000
label Amar(2000)
name Amar

CME_Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME_Router(config)#telephony-service
CME_Router(config-telephony)#auto assign 1 ?
to to

CME_Router(config-telephony)#auto assign 1 to 2
CME_Router(config-telephony)#restart all
Reset 2 phones: at 5 second interval – this could take several minutes per phone
Starting with 7960 phones

CME_Router(config-telephony)#
Reset/Restart-all looking for phones registered as type 8 Telecaster 7940
Reset/Restart-all looking for phones registered as type 6 Telecaster 7910
Reset/Restart-all looking for phones registered as type 20000 7905
Reset/Restart-all looking for phones registered as type 30008 7902
Reset/Restart-all looking for phones registered as type 30007 7912
Reset/Restart-all looking for phones registered as type 30002 7920
Reset/Restart-all looking for phones registered as type 365 7921
Reset/Restart-all looking for phones registered as type 30016 CIPC
Reset-All: Requesting Restart for phone SEPAAAABBBB1128 at 192.168.27.2 deviceType 30016 CIPC Idle [count=1]

Mar 1 00:31:38.463: %IPPHONE-6-UNREGISTER_NORMAL: ephone-1:SEPAAAABBBB1128 IP:192.168.27.2 Socket:2 DeviceType:Phone has unregistered normally.
CME_Router(config-telephony)#
Reset-All: Requesting Restart for phone SEP000C29540496 at 192.168.27.130 deviceType 30016 CIPC Idle [count=2]

Mar 1 00:31:43.367: %IPPHONE-6-UNREGISTER_NORMAL: ephone-2:SEP000C29540496 IP:192.168.27.130 Socket:1 DeviceType:Phone has unregistered normally.

The “restart” command is used in order for the phone to get the auto-assignments. This can be done under “telephony-service” or under the “ephone” section. Any changes to the phones configuration require a restart. I did a “restart all” but this was not necessary, I can simply do a restart and specify the mac-address of the phone.

There is another command that can be used which is “reset”. Reset command makes the phone longer to boot. This is used if the base settings of the phone like IP address are required to be changed. Other than that, the “restart” command is recommended for most changes.

Below is the output of “show ephone” before the “restart” command was issued.

CME_Router#sh ephone

ephone-1 Mac:AAAA.BBBB.1128 TCP socket:[2] activeLine:0 REGISTERED in SCCP ver 20 and Server in ver 5
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:192.168.27.2 55672 CIPC keepalive 2 max_line 8

ephone-2 Mac:000C.2954.0496 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 20 and Server in ver 5
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:192.168.27.130 1085 CIPC keepalive 3 max_line 8

Here’s the output after the restart.

CME_Router#sh ephone

ephone-1 Mac:AAAA.BBBB.1128 TCP socket:[2] activeLine:0 REGISTERED in SCCP ver 20 and Server in ver 5
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:192.168.27.2 56514 CIPC keepalive 12 max_line 8
button 1: dn 2 number 2000 CH1 IDLE CH2 IDLE

ephone-2 Mac:000C.2954.0496 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 20 and Server in ver 5
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0
IP:192.168.27.130 1132 CIPC keepalive 13 max_line 8
button 1: dn 1 number 1000 CH1 IDLE

Now the 2 phones are auto assigned with the 2 ephone-dns that were configured. Moreover, the router auto configured this to the running configuration.

ephone 1
mac-address AAAA.BBBB.1128
type CIPC
button 1:2
ephone 2
mac-address 000C.2954.0496
type CIPC
button 1:1

Configuring Buttons

In case you don’t know what buttons on the phones are, they are those things you press at the upper right hand side of the phone to open a line to make a call. Button command is what maps the ephone-dns (number) to the button of a specific ephone (IP phone). Below, you can find some of the button separators. The button will behave depending on the type of separator used.


Figure 5 – The Button Separators or Arguments

Let’s configure a normal ring button which is the most commonly used.

CME_Router(config)#ephone-dn 3
CME_Router(config-ephone-dn)#number
Mar 1 01:04:32.871: %LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
CME_Router(config-ephone-dn)#number 3333
CME_Router(config-ephone-dn)#ephone-n 4

CME_Router(config-ephone-dn)#ephone-dn 4
CME_Router(config-ephone-dn)#numbe
Mar 1 01:04:51.023: %LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up
CME_Router(config-ephone-dn)#number 4444

CME_Router(config-ephone)#ephone-dn 5
CME_Router(config-ephone-dn)#
Mar 1 01:09:08.023: %LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up
CME_Router(config-ephone-dn)#number 5555

CME_Router(config-ephone-dn)#ephone 1
CME_Router(config-ephone)#button 2:3
CME_Router(config-ephone)#restart
restarting AAAA.BBBB.1128
CME_Router(config-ephone)#ephone 2
CME_Router(config-ephone)#
Mar 1 01:07:40.303: %IPPHONE-6-UNREGISTER_NORMAL: ephone-1:SEPAAAABBBB1128 IP:192.168.27.2 Socket:2 DeviceType:Phone has unregistered normally.
CME_Router(config-ephone)#ephone 2
CME_Router(config-ephone)#button 2:4 3s5
CME_Router(config-ephone)#restart
restarting 000C.2954.0496
CME_Router(config-ephone)#
Mar 1 01:07:54.599: %IPPHONE-6-UNREGISTER_NORMAL: ephone-2:SEP000C29540496 IP:192.168.27.130 Socket:1 DeviceType:Phone has unregistered normally.

Figure 6 shows the changes to ephone 2 after the restart.

Figure 6 – Ephone 2 After Adding Additional Buttons

The button command for ephone 2 – “button 2:4 3s5” means that button number 2, assigns a normal ring and ephone-dn 4 (number 4444). The argument “3s5” means that button 3 on ephone 2, assigns the ephone-dn 5 (number 5555) which has a silent ring.

We will discuss the other separators on a separate article but most of those are not in the scope of the CCNA Voice exam.

I hope you have learned something today.

References:

http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmelabel.html

https://supportforums.cisco.com/docs/DOC-9449

CCNA Voice 640-461 Official Cert Guide by Jeremy Cioara