CUCM integrate with Cisco Unity

## Introduction

The article details the steps necessary to Integrate Cisco CUCM and Cisco Unity for voicemail services

## Scenario

We have one Cucm and one Cisco Unity server that we are going to integrate together so our users have

access to voice mail services. we have already conducted the installation of both.

The CUCM is IP add **10.10.10.6 and** named **HOME-CUCM1**

The Cisco Unity Server is IP address **10.10.10.7 and** named **Home-CUC1**

## Steps

CUCM

1. Create a trunk security profile
2. Create a trunk between CUCM and Cisco Unity
3. Create a voice mail pilot
4. Create a voice mail profile
5. Create a new route pattern on CUCM that points to Cisco Unity

Cisco Unity

1. Create a new Phone System
2. Create integration User
3. Import Users from CUCM.

## Detailed Steps

### Create a Trunk Security Profile

Step 1: Go to **System > Security > Sip Trunk Security Profile**

Step 2: Click the "**Add New**" button

Step 3: In the new window enter the following information

* Accept Out-of-dialog refer \*\*
* Accept Unsolicited notification
* Accept replaces header

### Create a SIP trunk between CUCM and Cisco Unity

Step 1: Go to **Device > Trunk**

Step 2: Click "**Add New**"

Step 3: in this next window select the following, then click next

* Trunk Type: Sip Trunk
* Device Protocol: SIP
* Trunk Service Type: None(Default)

Step 4: Enter the following information

* Device Name
* Description
* Device Pool
* Media Resource Group List
* Location
* Check the following boxes
	+ Redirecting Diversion Header Delivery - inbound
	+ Redirecting Diversion Header Delivery - Outbound
* Calling Search Space under Inbound Calls
* Destination information: either The FQDN or IP address of the Cisco Unity Server
* SIP Trunk Security Profile (use the profile you created in the last step)
* SIP Profile

Step 5: Click save

### Create the voice mail pilot

Step 1: Go to **Advanced Features > Voice Mail > Voice Mail Pilot**

Step 2: Click Add New

Step 3:Enter the following Information

* Voice Mail Pilot Number
* Calling Search Space
* Description

Step 4: Click Save

### Create a voice mail profile

Step 1: Go to **Advanced Features > Voice mail > Voice Mail Profile.**

Step 2: In this new window Click **Add new**, in this new window add the following information.

* Voice Mail Profile Name
* Description
* Voice Mail Pilot

Step 3: Click **Save** and **Apply Config**.

### Create a new route pattern on CUCM that points to Cisco Unity

Step 1: Go to **Call Routing > Route Hunt > Route Pattern**

Step 2: in this new window click **Add New**

Step 3: Enter the following information in this window:

* Route Pattern - This can be either the voicemail pilot or a destination pattern if you are planning on pointing other services (like greetings administrator) to Cisco Unity
* Route Partition
* Description
* Route Class
* Gateway / Route list

Step 4: Click Save.

***At this point, we should be done in CUCM***.

### Cisco Unity

To review our Cisco Unity Server is at 10.10.10.7

### Create a Phone System

Step 1: Log into Cisco Unity and go to **Telephony Integrations > Phone System.**

Step 2: In this new window click **add new** .

Step 3: In this new window add the name of your phone system, In our case HOME-CUCM1, and then click save

Step 4: In this window enter the following and click save:

* Click the "Default TRAP phone system" if you are in a single system deployment if your Cisco Unity is servicing two phone systems (it actually happens) then refer to your organization's policies

Step 5: in the upper right-hand side click the go button with "Add Port Group" Set in related links.

Step 6: in the "New Port Group" window do the following and click save:

* Select the correct integration it is either SIP or SCCP most newer implementations will be SIP.
* Enter the IP address of the CUCM server in the "IPv4 Address or Host Name" field.

Step 7: In the upper right-hand corner click "Go" with "add ports" selected in related links

Step 8: In this window, you can take the defaults and add the correct number of ports in our example we will be adding 10 ports.

### Create an integration user between Cisco Unity and CUCM

follow the steps in the article below to accomplish this task.

CUCM Setup Unity Access for AXL User