Integrate CME with CUC (Cisco unity Connection)

 

For many small-to-medium sized businesses, the CME product provides the call-processing services to meet their requirements. However, CME might even be used in remote locations to provide support for phones during a WAN outage.

Configure CME:

SCCP phone configure:

telephony-service

...
 ip source-address 192.168.5.254 port 2000
 voicemail 3999
 max-conferences 4 gain -6
 transfer-system full-consult
 create cnf-files

Then a user presses the Message button and the attempt is made to dial 3999 automatically, there must still be a configured dial plan on CME. You accomplish this by using the dial-peer configuration command.

The dial-peer command is configured to enable 3999 to be sent directly to the IP address 192.168.5.5, which is the Cisco Unity Connection subscriber. This configuration provides the routing of the pilot number 6010 to Cisco Unity Connection, whether the Messages button is pressed or users dial the pilot number directly. Dual tone multifrequency (DTMF) relay is configured to provide out-of-band relay of tones using the H.245 signaling channel, as opposed to the audio channel.

dial-peer voice 3000 voip

 description ***voicemail to CUC ***

 huntstop 

 preference 1

 max-conn 10

 destination-pattern 3999

 b2bua

 session protocol sipv2

 session target ipv4:192.168.5.5

 dtmf-relay rtp-nte

 dtmf-interworking rtp-nte

 codec g711ulaw

 no vad

The voice mail pilot number still need ephone-dn and ephone to register the server as a virtual phone. The configuration for phones and voicemail ports is accomplished by using the ephone command. The ephone-dn command configures specific directory numbers. In this Example, two directory numbers are defined with two phones.

ephone-dn  1  dual-line

 number 1002 no-reg primary

 label frank

 name frank

 call-forward busy 3999

 call-forward noan 3999 timeout 3

 huntstop channel

ephone-dn  10

 number 8000 no-reg primary

 mwi on


ephone-dn  11

 number 8001 no-reg primary

 mwi off


ephone-dn  12  dual-line

 number 3999

 description CME-VI1

 name Voice-Msg-Sys


ephone-dn  13  dual-line

 number 3999

 description CME-VI2

 name Voice-Msg-Sys


ephone  1

 mac-address 000C.xxxx.xxxx

 type CIPC

 button  1:1



ephone  10
 vm-device-id CME-VI1
 button  1:12


ephone  11
 vm-device-id CME-VI2
 button  1:13

The ephone-dn 12 dual-line and ephone-dn 13 dual-line commands configure the actual ports to be used for integration to Cisco Unity Connection. There is a one-to-one correlation of the ephone-dn commands and the ports in Cisco Unity Connection. The name displays on the phone display when the user places a call to voice mail. In this case, the name Voice-Msg-Sys is configured. The ephone-dn 10 and ephone-dn 11 configurations designate the MWI On and MWI Off respectively using the number command. This configuration must match the MWI configured under the port group in Cisco Unity Connection Administration.

The ephone 12 and ephone 13 configurations associate two voicemail ports to the directory number used for the voice-messaging integration. In this case, the vm-device-id, CMEVI1 is associated with ephone 12, whereas CMEVI2 is associated with ephone 13 through the configuration of the button 1:3 command. Both ephone-dn 12 and ephone-dn13 are
configured with the voicemail pilot of 3999.

If you use show ephone command, you should see then still unregistered, this is due to the configuration on CUC is not finished.

SCCP integration

Creating an IntegrationCreating an IntegrationProcedure
Step 1   In Cisco Unity Connection Administration, expand Telephony Integrations, then select Phone System.

Step 2   On the Search Phone Systems page, under Display Name, select the name of the default phone system.

Step 3   On the Phone System Basics page, in the Phone System Name field, enter the descriptive name that you want for the phone system.

Step 4   If you want to use this phone system as the default for TRaP connections so that administrators and users without voicemail boxes can record and playback through the phone in Unity Connection web applications, check the Default TRAP Switch check box. If you want to use another phone system as the default for TRaP connections, uncheck this check box.

Step 5   Select Save.

Step 6   On the Phone System Basics page, in the Related Links drop-down box, select Add Port Group and select Go.

Step 7   On the New Port Group page, enter the following settings to configure the answering port group and select Save.

Field Setting
Phone System Select the name of the phone system that you entered in Step Step 3.
Create From Select Port Group Templateand select SCCP in the drop-down box.
Display Name Enter a descriptive name for the port group. You can accept the default name or enter the name that you want. For example, enter “CUC1-VI.”
Device Name Prefix Enter the prefix that Cisco Unified CM Express uses in the vm-device-id name before the port number. This prefix must match the prefix used for the answering ephone-dns by Cisco Unified CM Express.

For a Unity Connection cluster, this prefix must match the prefix used for the answering ephone-dns that connect to the publisher server.

MWI On Extension (This field is not used by the answering port group.) Enter the MWI on directory number that you specified in the ephone-dn configuration mode of the Cisco Unified CM Express router.
MWI Off Extension (This field is not used by the answering port group.) Enter the MWI off directory number that you specified in the ephone-dn configuration mode of the Cisco Unified CM Express router.
IPv4 Address or Host Name Enter the IP address (or host name) of the Cisco Unified CM Express router that you are integrating with Unity Connection.
IPv6 Address or Host Name Do not enter a value in this field. IPv6 is not supported for Cisco Unified CM Express integrations.
IP Address or Host Name Enter the IP address (or host name) of the Cisco Unified CM Express router that you are integrating with Unity Connection.
Port Enter the TCP port of the Cisco Unified CM Express router that you are integrating with Unity Connection. We recommend that you use the default setting.
TLS Port Enter the TLS port of the Cisco Unified CM Express router that you are integrating with Unity Connection. We recommend that you use the default setting.

 

 

 

Step 8  On the Port Group Basics page, on the Edit menu, select Servers.On the Port Group Basics page, on the Edit menu, select Servers.

Step 9   On the Edit Servers page, under Cisco Unified Communications Manager Servers, in the Server Type column, select Cisco Unified Communications Manager Express and select Save.

If it works, then you will see something like:

*Sep 20 22:49:18.750: %IPPHONE-6-REGISTER_NEW: ephone-11:CME-VI2 IP:192.168.5.5 Socket:3 DeviceType:App has registered.

*Sep 20 22:49:18.754: %IPPHONE-6-REGISTER_NEW: ephone-10:CME-VI1 IP:192.168.5.5 Socket:2 DeviceType:App has registered.

Create a user matching user extension on CME:

Go to user > Add new, type the extension number.

 

Then click Edit > Message Waiting Indicators:

Tick Enabled, Inherit User’s Extension.

 

The configuration at CME side is similar, the CUC configuration is a GUI based.

After ensuring that Cisco Unified Communications Manager Express and Unity Connection are ready for the integration, do the following procedure to set up the integration and to enter the port settings.

SIP integration Procedure

1 In Cisco Unity Connection Administration, expand Telephony Integrations, then select Phone System.
2 On the Search Phone Systems page, under Display Name, select the name of the default phone system.
3 On the Phone System Basics page, in the Phone System Name field, enter the descriptive name that you want for the phone system.
4 If you want to use this phone system as the default for TRaP connections so that administrators and users without voicemail boxes can record and playback through the phone in the Unity Connection web applications, check the Default TRAP Switch check box. If you want to use another phone system as the default for TRaP connections, uncheck this check box.
5 Select Save.
6 On the Phone System Basics page, in the Related Links drop-down box, select Add Port Group and select Go.
7 On the New Port Group page, enter the applicable settings and select Save.

Settings for the New Port Group Page
Field Value
Phone System Select the name of the phone system that you entered in Step 3.
Create From Select Port Group Template and select SIP in the drop-down box.
Display Name Enter a descriptive name for the port group. You can accept the default name or enter the name that you want.
Authenticate with SIP Server Check this check box if you want Unity Connection to authenticate with the Cisco Unified CM Express router.
Authentication User Name Enter the name that Unity Connection uses to authenticate with the Cisco Unified CM Express router.
Authentication Password Enter the password that Unity Connection uses to authenticate with the Cisco Unified CM Express router.
Contact Line Name Enter the voice messaging line name (or pilot number) that users use to contact Unity Connection and registers with the Cisco Unified CM Express router.
SIP Security Profile Select the SIP security profile that Unity Connection uses.

Note    Cisco Unified CM Express does not support Cisco Unified CM authentication and encryption.
SIP Transport Protocol Select the SIP transport protocol that Unity Connection uses.
IPv4 Address or Host Name Enter the IP address (or host name) of the Cisco Unified CM Express router that you are integrating with Unity Connection.
IPv6 Address or Host Name Do not enter a value in this field. IPv6 is not supported for Cisco Unified CM Express integrations.
IP Address or Host Name Enter the IP address (or host name) of the Cisco Unified CM Express router that you are integrating with Unity Connection.
Port Enter the IP port of the Cisco Unified CM Express router that you are integrating with Unity Connection. We recommend that you use the default setting.
8 On the Port Group Basics page, in the Related Links drop-down box, select Add Ports and select Go.
9 On the New Port page, enter the following settings and select Save.

Settings for the New Port Page
Field Setting
Enabled Check this check box.
Number of Ports Enter the number of voice messaging ports that you want to create in this port group.

Note    For a Unity Connection cluster, you must enter the total number of voice messaging ports that are used by all Unity Connection servers. Each port is later assigned to a specific Unity Connection server.
Phone System Select the name of the phone system that you entered in Step 3.
Port Group Select the name of the port group that you added in Step 7.
Server Select the name Unity Connection server.
10 On the Search Ports page, select the display name of the first voice messaging port that you created for this phone integration.

Note    By default, the display names for the voice messaging ports are composed of the port group display name followed by incrementing numbers.
11 On the Port Basics page, set the voice messaging port settings as applicable. The fields in the following table are the ones that you can change.

Settings for the Voice Messaging Ports
Field Setting
Enabled Check this check box to enable the port. The port is enabled during normal operation.Uncheck this check box to disable the port. When the port is disabled, calls to the port get a ringing tone but are not answered. Typically, the port is disabled only by the installer during testing.
Server (For Unity Connection clusters only) Select the name of the Unity Connection server that you want to handle this port.

Assign an equal number of answering and dial-out voice messaging ports to the Unity Connection servers so that they equally share the voice messaging traffic.

Answer Calls Check this check box to designate the port for answering calls. These calls can be incoming calls from unidentified callers or from users.
Perform Message Notification Check this check box to designate the port for notifying users of messages. Assign Perform Message Notification to the least busy ports.
Send MWI Requests Check this check box to designate the port for turning MWIs on and off. Assign Send MWI Requests to the least busy ports.
Allow TRAP Connections Check this check box so that users can use the port for recording and playback through the phone in Unity Connection web applications. Assign Allow TRAP Connections to the least busy ports.
12 Select Save.
13 Select Next.
14 Repeat Step 11 through Step 13 for all remaining voice messaging ports for the phone system.
15 If another phone system integration exists, in Cisco Unity Connection Administration, expand Telephony Integrations, then select Trunk. Otherwise, skip to Step 19.
16 On the Search Phone System Trunks page, on the Phone System Trunk menu, select New Phone System Trunk.
17 On the New Phone System Trunk page, enter the following settings for the phone system trunk and select Save.

Settings for the Phone System Trunk
Field Setting
From Phone System Select the display name of the phone system that you are creating a trunk for.
To Phone System Select the display name of the previously existing phone system that the trunk connects to.
Trunk Access Code Enter the extra digits that Unity Connection must dial to transfer calls through the gateway to extensions on the previously existing phone system.
18 Repeat Step 16 and Step 17 for all remaining phone system trunks that you want to create.

 

19 In the Related Links drop-down list, select Check Telephony Configuration and select Go to confirm the phone system integration settings.If the test is not successful, the Task Execution Results displays one or more messages with troubleshooting steps. After correcting the problems, test the Unity Connection again.

 

20 In the Task Execution Results window, select Close.