How to Configure a Cisco Voice Gateway for CUCM Server Integration

By Nishant Rane

Published on:

Views: 131
Cisco Voice Gateway Configuration Diagram for CUCM Integration
Cisco Voice Gateway Integration with CUCM

Introduction

In today’s unified communications (UC) landscape, integrating a Cisco Voice Gateway with Cisco Unified Communications Manager (CUCM) is critical for enabling seamless voice services. Whether you’re setting up SIP trunks, MGCP gateways, or optimizing call routing, this guide walks you through configuring a Cisco Voice Gateway for CUCM connectivity. Perfect for network engineers and UC admins!

Why Cisco Voice Gateways Matter

Cisco Voice Gateways bridge traditional telephony (PSTN) and IP-based networks, ensuring reliable call routing, codec translation, and integration with CUCM. Proper configuration guarantees high-quality VoIP, scalability, and security.

Step 1: Prerequisites for Configuration

Before diving in, ensure you have:

  • Hardware/Software Compatibility: A Cisco ISR router (e.g., 2900/4000 series) running IOS 15.4T or later.
  • CUCM Setup: CUCM server configured with SIP or MGCP support. Learn more in our guide: How to Set Up SIP Trunking on CUCM.
  • Network Readiness: VLANs for voice traffic, DHCP scopes for endpoints, and firewall rules for SIP/MGCP.
  • Dial Plan: Define call routing patterns, DID numbers, and PSTN fallback rules.

Step 2: Configure Voice VLAN and Interfaces


vlan 100
name VOICE_VLAN
!
interface GigabitEthernet0/1
description CUCM_TRUNK
ip address 192.168.10.1 255.255.255.0

Step 3: Set Up MGCP or SIP Protocol

Option A: MGCP Configuration


mgcp
mgcp call-agent 192.168.10.50 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band

Option B: SIP Configuration


voice service voip
 sip
  registrar server expires max 600 min 300
  bind control source-interface GigabitEthernet0/1
  bind media source-interface GigabitEthernet0/1

For SIP best practices, see Cisco’s official guide: Configuring SIP Trunking on CUCM.

Step 4: Define Dial Peers


dial-peer voice 100 voip
 destination-pattern 9T
 session protocol sipv2
 session target ipv4:192.168.10.50
 codec g711ulaw

Step 5: Configure Codecs and DTMF Relay


voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
dial-peer voice 100 voip
 voice-class codec 1
 dtmf-relay sip-notify

Step 6: Security and QoS


voice service voip
 srtp
!
policy-map VOICE-QOS
 class VOICE
  priority percent 70

Step 7: Verify Configuration

Use these commands to test:

  1. show running-config | section mgcp|sip
  2. show dial-peer voice summary
  3. show sip-ua status

⚠️ Troubleshooting Tips:

  • Registration Issues: Check CUCM IP and firewall rules.
  • One-Way Audio: Verify NAT settings and ACLs. Explore more fixes here: Top 5 CUCM Gateway Issues Solved.

Advanced Tips

  • Redundancy: Use HSRP or SIP OPTIONS ping for failover.
  • CUBE Integration: Extend functionality with Cisco Unified Border Element.

Conclusion

Configuring a Cisco Voice Gateway for CUCM requires attention to protocols, dial plans, and security. By following this guide, you’ll ensure robust VoIP performance and scalability. For more insights, explore our related blogs:

Tags:Cisco Voice Gateway, CUCM Configuration, VoIP Setup, SIP Trunking, MGCP Gateway, Cisco UC

Leave a Comment