How to register SIP third-party phones on Cisco Call Manager Express (CUCME)

Good day! 🙂
After another business trip to the branch, I can’t sleep in the morning 🙁 – a 3-hour time difference affects, and I decided not to waste time and write a new post. It will tell you how to register a third-party SIP phone on Call Manager Express (hereinafter referred to as CUCME As you know, at present, many manufacturers produce phones that operate using the SIP protocol, and therefore you can find a wide variety of them: both software and hardware.

So, we have CUCME v8.0 on the 2811 router and an X-lite softphone that supports the SIP protocol. How to make them work together? There is nothing easier. 🙂
First you need to open the Registrar SIP server functionality on CUCME, as well as enable the ability to make calls from voip dial-peer to another voip dial-peer. By default, this option is not open, and since CUCME creates a virtual voip dial-peer when configuring a SIP phone, you have to set the appropriate commands so that SIP phones can call each other. In addition, to avoid subsequent problems with phone registrations, you must bind the interface whose address will be presented as Source Address in the SIP signaling messages. We execute the following commands:

voice service voip
allow-connection sip to sip! enable calls from voip dial-peer to voip dial-peer with SIP signaling 
sip
bind control source-interface Fa 0/0! set the Source Address for SIP signaling
registrar server! enable SIP Registrar

Next, enable registration for SIP phones on CUCME. This is done in the voice register global configuration mode. It is also necessary to configure the SIP server operation mode as CME (Call Manager Express), set the maximum number of directory numbers (dn), the maximum number of SIP phones supported (pool), as well as the IP address (Fa 0/0 interface in our example), to which phones will send registration requests to:

voice register global! go to CME SIP configuration mode
mode cme! SIP Server operation mode as CME (Call Manager Express)
max-pool 5! maximum number of the SIP phones supported
max-dn 10 ! maximum number of the DNs supported
source-address 10.1.5.102 port 5060 – ! IP address for SIP phone registration (here it is Fa0/0 IP address)

After that, configure the directory numbers (dn). To do this, use the voice register dn command:

voice register dn 1
number 2005

The next step is to add the SIP phone device configuration (pool). In it, we set an arbitrary MAC address of the phone, assign a directory number to the phone, configure a username and password for phone authentication to exclude the possibility of unauthorized connection. Also, many softphones only support the G.711 codec, so you need to set the codec G.711 in the phone settings (G.729 is used by default). It should be noted that the MAC address parameter is not used in any way for third-party SIP phones, so it is set arbitrarily (dummy):


voice register pool 1
id mac 1111.2222.3333! dummy MAC for the SIP third-party phone
number 1 dn 1! dn 1 (number 2005) is assigned to this phone
username student password cisco! authentication parameters 
codec g711а! codec settings

This completes the CUCME configuration. Now let’s do some settings on the phone itself. Launch the X-lite phone, right-click on the program window, and in the X-lite phone account settings (SIP Account Settings …) set the following parameters:

§   Display Name: SIP Phone
§   User name: 2005
§   Authorization user name: student
§   Password: cisco
§   Domain: 10.1.5.102
§   Leave all other parameters unchanged (default)

X-lite SIP Account configuration example is here:

Next, press the Apply button and observe the process of registering the phone on CUCME. After successful registration, you can make calls. 🙂