Sunteți pe pagina 1din 17

3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

Cisco Unity Connection SIP Integration with CUCM Step by Step Guide
By UCCollaborationGeek | November 8, 2016 4 Comments

Cisco Unity Connection messaging system is an awesome product that delivers voice messaging feature for small business VoIP and unified
communications infrastructure. Cisco Unity Messaging system voicemail can be supports single server or redundant (Cluster) deployment.
Production network uses two Cisco Unity Connection servers in a cluster along with SIP trunk redundancy from Call manager.

There are multiple ways to integrate Cisco Unity Connection to Cisco Unified Communications Manager either via SCCP or SIP Trunk. The
traditional way to integrate Unity Connection with CUCM is using SCCP, but here I would like to discuss Cisco Unity Connection SIP
Integration with CUCM.

I have seen most of the business phone systems uses Cisco Unity Connection SIP integration with Cisco Unified Communications Manager.

There is an active discussion going on at Cisco Support Forum regarding this.


Unity Connection- SCCP vs SIP Integration
OK! now let us move to the configuration part. I have categorized the post as two section.

Section 1: – CUCM Side Con gurations and


Section 2 – CUC Side Con gurations.

We will look in to these in detail.

Section 1: CUCM Side Con gurations for Cisco Unity Connection SIP Integration

First, let’s understand the call flow between CUCM and CUC. How do we direct our call to an external server? There are many possible ways
to get this done. In the case of CUC, we will be going for a SIP Trunk that is pointing to the CUC IP address from CUCM. Please refer the
below flow chart to comprehend the call flow and configuration checklist.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 1/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

SIP Trunk (SIP Trunk Security Pro le, SIP Pro le, Trunk)
Route Group
Route List
Route Pattern
Voice mail pilot
Voice mail Pro le

Part 1: Cisco SIP Trunk Con guration to From CUCM to CUC

The configurations for Cisco SIP Trunk for CUC can be divided into 3 steps. Two prerequisites and last is the actual trunk configuration.
Step 1: SIP Trunk Security Profile Configuration
Go over to System >> Security >> SIP Trunk Security Profile >> Find
Copy the ‘Non Secure SIP Trunk Profile’

Enter the Name (It is a common practice to use CAPITAL letters)

Check the following,


[ ] Accept out-of-dialog refer**

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 2/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

[ ] Accept unsolicited notification


[ ] Accept replaces header

>> Save
Step 2: SIP Profile Configuration
Go to Device >> Device Settings >> SIP Profile
Copy the ‘Standard SIP Profile’

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 3/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

Provide a name: CUC_ Standard SIP Profile

Confirm the following parameters and values (all these are default)

Under SIP OPTIONS Ping section please check the Enable [ ] OPTIONS Ping to Monitor destination status for Trunks with service
type “None (Default)”

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 4/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

[Note: This will enable the trunk status monitoring feature from CUCM. You can see whether the SIP Trunk is active or down.]

Step 3: Cisco SIP Trunk Configurations


There are 3 prerequisites for this step.
Configure CSS (Add internal partition to this CSS), Device Pool and Region (From this region to all other region set bit-rate as 64kbps)

Device >> Trunk >> Add New >> SIP Trunk >> Next
Provide Name, Description and Device Pool.

Note: The device pool (TEXAS_APP_SERVER_DEVICE_POOL) used to ensure G.711 or G.722 codec between CUCM and CUC.

Look at the Region configured under the device pool (The audio codec set to 64 Kbps between TEXAS_APP_SERVER_REGION and all other
regions.)

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 5/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

Check [ ]  Run On All Active Unified CM Nodes

Under Inbound Calls select the Calling Search Space. Check the Redirecting Diversion Header Deliver – Inbound (Important)

Note: This CSS should have visibility to all phones DN. It plays an important role for MWI (Message Waiting Indicator).

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 6/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

In Outbound Calls section Check the Redirecting Diversion Header Delivery – Outbound

Under SIP Information section, configure the following.


Destination IP Address: 142.100.64.13 (CUC IP)
Port: 5060 (Default)
SIP Trunk Security Profile: CUC_NON_SECURE_SIP_TRUNK_PROFILE (We have created in Step 1)

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 7/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

SIP Profile: CUC_Standard SIP Profile (We have created in step 2)

>> Save

Part 2: Route Group Con guration for Cisco Unity Connection

This step is not mandatory, but this will give more flexible and scalable deployment of Cisco Unity Connection. After creating SIP Trunk, you
can directly move to Step 4. By considering the production network design I’m going as per the industry standard.

By the way, What is Route Group? A route group is a logical group in which redundant Gateways and Trunks are mapped.

Go to Call Routing >> Route/Hunt >> Route Group >> Add New
Route Group Name: CUC_ROUTE_GROUP
From Available Devices move the CUC_SIP_TRUNK to Selected Devices and Save

[Note: While adding another Cisco Unity Connection Subscriber to the cluster, the Route List design will make the configurations much
easier.]

Part 3: Route List for Cisco Unity Connection

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 8/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

A route list contains prioritized list of Route Groups.


Go to Call Routing >> Route/ Hunt >> Route List >> Add New
Name: CUC_ROUTE_LIST
Check Enable this Route List and add our CUC_ROUTE_GROUP to this Route list.

>> Save

Part 4: Route Pattern to Cisco Unity Connection

Here we have to decide what will be the directory number to be used to reach Cisco Unity Connection from Call Manger. We will intern MAP
this number to MESSAGE button of the IP phone.
In this specific post, I’m taking 1050 as the pattern that would point to CUC.

Go to Call Routing >> Route/Hunt >> Route pattern >> Add New
Configure the Route Pattern as follows and select CUC_ROUTE_LIST in Gatway/Route List section.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 9/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

[Note: I kept this number (1050) under TEXAS_INTERNAL_PT partition where all my internal numbers belong to.]

Part 5: Voice Mail Pilot Con guration in CUCM

The voicemail pilot number designates the directory number that you dial to access your voice messages. Cisco Call Manager automatically
dials the voice-messaging number when you press the Messages button on your phone. Literally the Voice-mail pilot is exactly the same as
the route pattern that we created in Step 4.

Go to Advanced Features >> Voice Mail >> Voice Mail Pilot >> Add New
Voice Mail Pilot Number : 1051
Calling Search Space : TEXAS_VM_PILOT_CSS

>> Save
[Note: This CSS should have the visibility of Route Pattern’s (1051’s) partition TEXAS_INTERNAL_PT]

Part 6: Voice Mail Pro le

This allows you to define any line-related voicemail information that is associated with a directory number.
Go to Advanced Features >> Voice Mail >> Voice Mail Profile >> Add New

Voice Mail Pro le Name : TEXAS_VM_PROFILE

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 10/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide
Description : TEXAS_VM_PROFILE
Voice Mail Pilot : 1051/TEXAS_VM_PILOT_CSS

We will apply this profile to all DN’s in the cluster by going to Device >> Phones >> [Search and select phones] >> Go to line page >>
Under Directory Number Settings, Voice Mail Profile select our TEXAS_VM_PROFILE.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 11/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

And now you can set Call Forwarding to Cisco Unity Connection check boxes in line page.

If the user did not attend the call, it should forward to CUC after 15 Sec.

Wooow! We have completed CUCM side configurations… Great!

Section 2: CUC Side Con gurations for Cisco Unity Connection SIP Integration

There some few configurations left out in Cisco Unity Connection in order to talk CUC to CUCM over the SIP trunk.

Unity Phone System Con guration

Login to Cisco Unity Connection Administration window and go over to Telephony Integration >> Phone Systems.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 12/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

No configuration required in this step, keep all the settings as default. The only change which I have done is that the Phone System Name.

Port Group Con guration

Now just below Phone System go to Port Group >> Add New

Port Group type : SIP


Display Name : TEXAS_PhoneSysytem-1
Contact Line Name : 1051 (Voice mail pilot number)
IP V4 Address or Host Name : 142.100.64.11 (Call Manager PUB IP)
Port : 5060 (Default port for SIP)

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 13/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

>> Save

[Contact Line Name-: This is the FROM address that Unity Connection will use for SIP messages. We basically set this to be the DN or DID of
your voicemail pilot. If this is not a DID you can also use a Calling Party Transformation CSS on the CUCM SIP Trunk to transform the internal
DN to an externally valid DID.

Additionally, there is a field in the Port Group under Edit > Advanced Settings labeled Remote-Party-ID.

This is the Caller ID Name that Unity Connection will set in the FROM address of SIP messages. If you do not set this calls to Unity
Connection will only see the Contact Line Name.]

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 14/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

Port Con guration

These are the logical port which unity will receive calls from CUCM.

The call set up originated via the SIP trunk will terminate at the CUC through logical voice mail ports. Voice mail ports are licensed feature;
the more port you purchase the more concurrent session it will provide.
For example, if you have 2 voicemail port, only two users can access voice mail simultaneously.

Just below Port Group, you can see Port >> Add New
Here only you need to specify how many number of ports required. In this example, I have used 10 voice mail ports.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 15/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

>> Save
Good Job! You have successfully integrated CUCM and CUC via SIP Trunk.

Validate Your Cisco Unity Connection SIP Integration

Now let’s validate Cisco Unity Connection SIP integration. From CUC, go to Telephony Integration >> Phone System, in the related links
section you can see ‘Check Telephony Integration‘ >> Go

If there is no errors in the integration you will be presented with following.

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 16/17
3/21/2018 Cisco Unity Connection SIP Integration with CUCM Step by Step Guide

Now go back to CUCM and check the trunk status, you can see the uptime and service.

Test Cisco Unity Connection SIP Integration with CUCM

Hit voice message button from the IP Phone (keep in mind, the voice mail profile should be selected in line page (Part 6), you will be treated
with “Cisco Unity Connection Greetings”. Explanation of accessing and Sending voice messages will be discussed in later articles.

Please Read:

How con gure and Setup User mail boxes in Cisco Unity Connection
How to Check Voicemail in Cisco IP Phone
How Check Voicemail from Another Phone
Open Visual Voicemail
Troubleshoot MWI Issues

Hope you enjoyed this article, I will be coming up with another Cisco Unity Connection tutorial soon. Please share this post and like our
Facebook page to get the latest updates.

Category: Cisco Unity Connection CUCM My Collaboration LAB (DIY)

4 thoughts on “Cisco Unity Connection SIP Integration with CUCM Step by Step Guide”

Ritesh
December 30, 2016

http://www.uccollaborationgeek.com/cisco-unity-connection-sip-integration/ 17/17

S-ar putea să vă placă și