Step by Step Cisco Unity Connection Integration with Cisco CUCM using SIP Protocol

In our previous article, we learned how to integrate Cisco Unity Connection with CUCM using SCCP Protocol, in case you missed to read it, here is the link.

In this article, we will focus on Integrating CUCM with CUC using SIP Protocol.

thecollabguru.com
Our Lab Scenario

Call Flow between CUCM and CUC using SIP Protocol

Here is the call flow between Cisco Unified Communications Manager and Cisco Unity Connection using SIP Protocol.

Integrate CUCM with CUC using SIP Protofcol
Call Flow

Configuration in Cisco Unified Communications Manager

Configuration of Calling Search Space

  • Login to Cisco Unified Communications Manager
  • Go to Call Routing > Class of Control > Calling Search Space > Add New
  • Name > Enter a name which coincide to Voicemail. In our example we will use “TCG_CUC_VM_CSS“.
  • Description > Enter a short description about the CSS. In our example we will use “The Collab Guru Voicemail CSS“.
  • Selected Partition > Select the partition who will have access to the Voicemails. In our example we will use “Global_Phones_PT” as all the phones in our lab cluster are in Global Phones Partition.
  • Click on Save
Assigning Partitions to Voicemail Calling Search Space

Creating SIP Trunk Security Profile

  • Login to Cisco Unified Communications Manager
  • Navigate to System > Security > SIP Trunk Security Profile > Click on Find
  • Locate Non Secure SIP Trunk Profile and create a copy of that
thecollabguru.com
Non Secure SIP Trunk Profile – Create a Copy
  • Name > Enter a name of your choice. In our lab, we will use, “CUC – SIP – Non Secure SIP Trunk Profile
  • Description > Enter a short description
  • Accept Out-of-Dialog REFER > Check Mark the box
  • Accept Unsolicited Notification > Check Mark the box
  • Accept Replaces Header > Check Mark the box
  • Click on Save
thecollabguru.com
Creating a SIP Trunk Security Profile Configuration

Creating SIP Profile

  • Navigate to Device > Device Settings > SIP Profile > Click on Find
  • Locate Standard SIP Profile and create a copy of that
thecollabguru.com
SIP Profile – Create a Copy
  • Name > Enter a name of your choice. In our lab, we will use, “CUC – SIP – Standard SIP Profile
  • Description > Enter a short description
thecollabguru.com
Enter a name of the SIP Profile
  • Locate “SIP OPTIONS Ping” and check box “Enable OPTIONS Ping to monitor destination status for Trunks with Service Type “None (Default)
  • Click on Save
thecollabguru.com
Enable SIP Options PING

Creating a SIP Trunk

  • Navigate to Device > Trunk > Add New >
  • Trunk Type > SIP Trunk
  • Device Protocol > SIP
  • Trunk Service Type > None(Default)
  • Click on Next
thecollabguru.com
Add a New SIP Trunk
  • Device Name > Enter a SIP Trunk Name. In our example, we will use, “TCG_CUC_SIP_Trunk
  • Description > Enter a short description
  • Device Pool > Select a Device Pool. In our lab we will use “Default” device pool
thecollabguru.com
Creating a SIP Trunk – Assigning a Name
  • PSTN Access > Uncheck this box
  • Run On All Active Unified CM Nodes > Check this box
thecollabguru.com
Creating a SIP Trunk – Parameters Configuration
  • Under Inbound Calls > Calling Search Space > Select a Calling Search Space which has access to the Phones in the cluster. In our example, we will use “TCG_CUC_VM_CSS
  • Redirecting Diversion Header Delivery – Inbound > Check this box
thecollabguru.com
Creating a SIP Trunk – Parameters Configuration
  • Under Outbound Calls > Redirecting Diversion Header Delivery – Outbound > Check this box
thecollabguru.com
Creating a SIP Trunk – Parameters Configuration
  • Under SIP Information > Enter Destination IP Address of Cisco Unity Connection. In our example, we will use “192.168.1.151
  • Enter the Port Number > By default the Port Number that Cisco Unity Connection will use is 5060.
  • SIP Trunk Security Profile > Select the SIP Trunk Security Profile which you had created earlier while following the post. In our lab, we will use “CUC – SIP – Non Secure SIP Trunk Profile
  • SIP Profile > Select the SIP Profile which you had created earlier while following the post. In our lab, we will use “CUC – SIP – Standard SIP Profile
  • Click on Save
thecollabguru.com
Creating a SIP Trunk – Parameters Configuration

Voice Mail Pilot Configuration

Now it’s time for Voice Mail Pilot Configuration. The voice mail-pilot number designates the directory number that you dial to access your voice messages. Cisco Unified Communications Manager automatically dials the voice-messaging number when you press the Messages button on your phone. Each pilot number can belong to a different voice-messaging system.

  • Navigate to Advanced Features > Voice Mail > Voice Mail Pilots > Add New
  • Voice Mail Pilot Number > Enter the Hunt Pilot number which you had created in the above step. In our example, we will use “19995
  • Calling Search Space > Enter the Calling Search Space. In our example, we will use “TCG_CUC_VM_CSS
  • Description > Enter a short description
  • Make this the default Voice Mail Pilot for the system > Check the check box to make this pilot number the default Voice Mail Pilot for the system.
  • Click on Save

Voice Mail Profile Configuration

  • Navigate to Advanced Features > Voice Mail > Voice Mail Profile> Add New
  • Voice Mail Profile Name > Enter a name for your Voice Mail Profile. In our example, we will use “TCG_CUC_VM_Profile
  • Description > Enter a short description
  • Voice Mail Pilot > Select the Voice Mail Pilot number which you had created in the above step. In our example, we will use “19995/TCG_CUC_VM_CSS
  • Voice Mail Box Mask > This is optional

Specify the mask that is used to format the voice mailbox number for auto-registered phones. When a call is forwarded to a voice-messaging system from a directory line on an auto-registered phone, Cisco Unified Communications Manager applies this mask to the number that is configured in the Voice Mail Box field for that directory line.

For example, if you specify a mask of 972813XXXX, the voice mailbox number for directory number 7253 becomes 9728137253. If you do not enter a mask, the voice mailbox number matches the directory number (7253 in this example).

  • Make this the default Voice Mail Profile for the System > Check the check box to make this profile name the default. If you check the Default check box, this voice-mail profile replaces your current default profile.
  • Click on Save
thecollabguru.com
Voice Mail Profile Configuration

Create a Route Group

Creating a Route Group is optional, you may prefer directly to create a Route Pattern and assign the Trunk (the one we had created above) to the Route Pattern. But this is as per industry standard as Route Group(s) can be used to create redundancy.

  • Navigate to Call Routing > Route/Hunt > Route Group > Add New
  • Route Group Name > Enter a name of your choice. In our lab, we will use “CUC_SIP_Trunk_RG
  • Distribution Algorithm > Since we have only one trunk so it does not matter whether we keep it Circular or Top Down.
  • Available Devices > Select the SIP Trunk which you had created in the above step
  • Click on Add to Route Group
thecollabguru.com
Creating a Route Group
  • Click on Save
thecollabguru.com
Creating a Route Group

Create a Route List

  • Navigate to Call Routing > Route/Hunt > Route List > Add New
  • Name > Enter a name of your choice. In our lab, we will use “CUC_SIP_Trunk_HL
  • Description > Enter a short description
  • Cisco Unified Communications Manager Group > Select the Call Manager Group that you have in your environment. In our lab, we will use “Default
  • Click on Save
thecollabguru.com
Creating a Route List
  • Click on Add Route Group
thecollabguru.com
Creating a Route List – Add Route Group
  • Route Group > Select the Route Group you created from the drop down menu. In our lab, we have used “CUC_SIP_Trunk_RG
  • Click on Save
  • You will receive a warning “The settings for this Route List member are about to be saved. You must reset the Route List for changes to take effect. Click OK to return to the current Route List, or Cancel to stay on the Route List Detail page“. Click on OK
  • Click on Save
thecollabguru.com
Creating a Route List – Associating Route Group

Create a Route Pattern

  • Navigate to Call Routing > Route/Hunt > Route Pattern > Add New
  • Route Pattern > Use the Voice Mail Pilot Number that you had created in the above step. In our lab, we will use “19995
  • Route Partition > Select the Partition that is accessible to all the phones in the cluster. In our example, we will use “Global_Phones_PT
  • Description > Enter a short description
  • Gateway / Route List > Select the Hunt List from the drop down menu that you had created above. In our example, we will use “CUC_SIP_Trunk_HL
  • Provide Outside Dial Tone > Uncheck this box
  • Click on Save
thecollabguru.com
Create a Route Pattern

Configuration in Cisco Unity Connection

Port Group Configuration

  • ogin to Cisco Unity Connection
  • Navigate to Telephony Integrations > Port Group > Add New
  • Phone System > By default Unity Connection will have only one Port Group. Select the Default one “PhoneSystem
  • Create From > Port Group Type > Select SIPĀ from Drop Down
  • Display Name > You can keep it as default. In our example, we use it as default one “PhoneSystem-1“.
  • Contact Line Name > Use the Voice Mail Pilot number which you had created in the above step. In our example, we will use “19995” as this is our VM Pilot Number.
  • IPv4 Address or Host Name > Enter the IP Address of FQDN of CUCM. In our example, we have used “192.168.1.150
  • Click on Save
thecollabguru.com
Adding a new Port Group
  • Navigate to Edit > Advanced Settings
  • Remote-Party-ID > Enter the text that appears on the phone when the pilot number for the voice messaging ports is dialed. In our example, we will use “Voice Mail
  • Click on Save
thecollabguru.com
Port Group – Additional Parameters (optional)

Port Configuration

  • Navigate to Telephony Integrations > Port > Add New
  • Number of Ports > Enter the number of Ports which you wish to create. In our example, due to demo license, we will only create 2 Ports in Unity Connection.
  • Rest configuration can be kept as Default
  • Click on Save
thecollabguru.com
Adding Ports
thecollabguru.com
Ports Added
  • Ports are successfully created. It’s time to run Check Telephony Configuration to ensure that there are no issues found.
  • On the Related Links > Select Check Telephony Configuration from drop down > Click on Go
Check Telephony Configuration
  • You should see “No problems detected”
No Problems Detected

Test your Voicemails and MWI

  • Create a Voicemail Box for Extension B in Cisco Unity Connection.
  • Make a call from Extension A to Extension B.
  • Do not answer the call on Extension B and let the call be routed to VM.
  • Leave a Voicemail and hang up,
  • Check if you could see MWI turned ON on Extension B’s Phone and you could retrieve the Voicemail as well.

Leave a Reply

Your email address will not be published. Required fields are marked *