|
|
This chapter provides an overview of Voice over IP (VoIP) operations on the Cisco uBR924 cable access router. It also describes how to configure the Cisco uBR924 router for basic VoIP operation in both bridging and routing modes. This chapter contains the following sections:
![]() |
Note The configurations shown in this chapter can be combined with most of the data-only configurations shown in "Advanced Data-Only Configurations." All voice configurations assume that the CMTS and associated servers, gateways, and gatekeepers have been configured accordingly. |
The Cisco uBR924 router has two voice ports that support two simultaneous voice and fax calls from each subscriber site, but multiple telephones and fax devices can be connected to each of the two VoIP telephone lines (provided that the 5 REN limit for each telephone line is not exceeded). Telephones at each subscriber site must support touch-tone dialing; rotary dialing is not supported. Special telephone features such as call waiting, forwarding, and conferencing are supported only when using Cisco IOS images that support those features.
![]() |
Note Fax devices---standard Group III and computer-based Group III machines up to 14,400 baud---are supported in Cisco IOS Release 12.0(5)T and higher images that support VoIP. However, in general, fax/modem cards are not supported over VoIP links. You must be using a Cisco IOS image that supports voice and have purchased the appropriate feature license before being able to make voice calls using the Cisco uBR924 router. |
The Cisco uBR924 router uses packets to transmit and receive digitized voice over an IP network. Voice traffic is supported in both the DOCSIS-bridging and routing modes.
![]() |
Note When the router is acting in DOCSIS-bridging mode, a voice call originating from the router's Ethernet interface cannot terminate on another device attached to that same Ethernet interface; it must terminate on a device that is reached through the cable interface. The router must be operating in routing mode to allow calls to both originate and terminate on the Ethernet interface. |
Voice signals are packetized and transported in compliance with the following protocols:
![]() |
Note In Cisco IOS Release 12.1(3)T, the MGCP 0.1 and SGCP 1.1 protocols have been merged on the Cisco uBR924 router so that the router can respond efficiently to either protocol. The MGCP and SGCP protocols cannot be used if the H.323v2 protocol is used. |
Figure 4-1 illustrates a broadband cable system that supports VoIP transmission.

The CMTS at the headend routes IP telephony calls from the point of origination to the destination, transmitting them along with other traffic (both voice and data). To route voice calls across the local IP network to a destination on the Internet or the public switched telephone network (PSTN), the Cisco uBR924 router and CMTS deploy IP telephony as a local-loop bypass service. One of the following routing methods is then used, depending on the protocol being used:
The gateway at the destination typically interconnects the IP network to the public switched telephone network (PSTN) so that calls can be made to any phone, not just those that are part of the IP telephony network.
Voice calls are digitized, encoded, compressed, and packetized in an originating gateway; and then, decompressed, decoded, and reassembled in the destination gateway. A server maintains subscriber profiles and policy information. See the Cisco service provider voice documentation set if you have Cisco gatekeeper, gateway, or other applicable products.
With IP telephony, telephone calls can be delivered at rates as low as 8 kbps in a packet format using compression algorithms. Depending on the software release used, the Cisco uBR924 cable access router supports the following algorithms:
To achieve acceptable voice quality and reduce network bandwidth usage, several voice processing techniques are used. Digital Signal Processors (DSPs) provide the stream-to-packet and packet-to-stream conversion, as well as voice processing capabilities. Typical voice processing services include echo cancellation, voice compression, Voice Activity Detection (VAD) or silence compression, and Dual Tone Multi-Frequency (DTMF) tone detection and generation.
Data traffic typically is sent only on a "best effort" basis, and if a packet is lost or delayed, it can be easily retransmitted without significantly affecting the connection. Such delays and losses are unacceptable, however, for real-time traffic such as voice calls.
For this reason, the CMTS and Cisco uBR924 router assign separate service identifiers (SIDs) for the voice and data traffic flows. Each SID has a separate class of service (CoS) that determines how its traffic flow is handled, allowing voice traffic to have a higher priority than the data traffic.
The CMTS and router can use different traffic shaping mechanisms to ensure that the higher priority voice traffic always has the bandwidth it needs. This allows voice calls (and other real-time traffic) to share the same channel as data traffic, without the quality of the voice calls being degraded by bursty data transmissions.
![]() |
Note Separate CoS flows are available only when the router is connected to a CMTS that supports multiple classes of service per router. In addition, the router's configuration file must enable multiple classes of service. The DOCSIS 1.0 specification does not support multiple CoS flows, so this flow technique is not available when the Cisco uBR924 router interoperates with a DOCSIS 1.0 CMTS. In this situation, voice and data traffic are both transmitted on a "best effort" basis. This may cause poorer voice quality and lower data throughput when calls are being made from the router's telephone ports. |
The Cisco uBR924 router supports the following service classes:
In architectures using the VoIP H.323v2 protocol stack, the session application manages two call legs for each call: a telephony leg managed by the voice telephony service provider and the VoIP leg managed by the cable system operator---the VoIP service provider. Use of the H.323v2 protocol typically requires a dial plan and mapper at the headend or other server location to map IP addresses to telephone numbers.
When both legs of the call have been setup, the session application creates a conference between them. The opposite leg's transmit routine for voice packets is given to each provider. The CMTS router passes data to the gateway and gatekeeper. The H.323v2 protocol stack provides signaling via H.225 and feature negotiation via H.245.
![]() |
Note For more information on using H.323v2, see the document H.323 Version 2 Support , available on CCO and the Documentation CD-ROM. |
To make and receive H.323 calls, the Cisco uBR924 router must be configured for the following:
![]() |
Note To support voice configurations involving Cisco gatekeeper products using RAS, Cisco IOS Release 12.0(5)T or higher images with gatekeeper support are required. The headend must have IP multicast enabled. The cable interface must be designated as the default for RAS to discover the gatekeeper. The gatekeeper then resolves all dialed destinations sent to the RAS protocol. |
When using a Cisco IOS Release 12.0(5)T or higher image with voice support, the Cisco uBR924 router supports the Simple Gateway Control Protocol (SGCP). When using a Cisco IOS Release 12.1(3)T or higher image with voice support, the Cisco uBR924 router also supports the MGCP protocol, which is intended to eventually supersede the SGCP protocol. Both MGCP and SGCP are signaling protocols that interact with a remote call agent (CA) to provide call setup and teardown for VoIP calls.
Using the call agent, SGCP and MGCP communicate with the voice gateways, dynamically resolving and routing calls. This creates a distributed system that enhances performance, reliability, and scalability while still appearing as a single VoIP gateway to external clients.
The remote call agent also provides the signaling and feature negotiation that would otherwise be provided by the Cisco uBR924 router when using the H.323v2 protocol. Similarly, the call agent also provides the mapping of IP addresses to telephone numbers, eliminating the dial plan mapper and static configurations that are required on the router when using the H.323v2 protocol.
The SGCP and MGCP protocols implement the gateway functionality using both trunk and residential gateways. The Cisco uBR924 router functions in this mode as a residential gateway with two endpoints.
SGCP and MGCP can preserve Signaling System 7 (SS7) style call control information as well as additional network information such as routing information and authentication, authorization, and accounting (AAA) security information. SGCP and MGCP allow voice calls to originate and terminate on the Internet, as well as allowing one end to terminate on the Internet and the other to terminate on a telephone on the PSTN.
![]() |
Note The Cisco uBR924 cable access router supports both H.323 and SGCP/MGCP call control, but only one method can be active at a time. |
When the Cisco uBR924 router is running in DOCSIS-bridging mode and using a Cisco IOS image with voice support, it can route voice calls using an H.323v2 static dialing map. This requires the following minimum configuration:
![]() |
Note The voice ports on the Cisco uBR924 router support only FXS devices. |
These functions are done using the dial-peer command, as shown in the following table:
| Command | Purpose | |
|---|---|---|
Step 1 | To configure incoming calls on voice port V1: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 2 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 3 | uBR924(config-dial-peer)# port 0 | Specify that voice port V1 is attached to this telephony equipment. |
Step 4 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 5 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 6 | To configure incoming calls on voice port V2: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 7 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 8 | uBR924(config-dial-peer)# port 1 | Specify that voice port V2 is attached to this telephony equipment. |
Step 9 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 10 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 11 | Repeat for each possible outgoing destination: uBR924(config)# dial-peer voice id-number voip | Specify a unique id-number for this outgoing dial-peer and enter dial-peer configuration mode. |
Step 12 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this dial-peer. |
Step 13 | uBR924(config-dial-peer)# session target [ ipv4:ipaddress | dns:hostname ] | Specify the destination IP address or hostname for this dial-peer. This could be the IP address or hostname for either an IP telephone or another router or host providing voice services. |
Step 14 | uBR924(config-dial-peer)# ip precedence number | (Optional) Specify an IP packet precedence level (1-5) for packets carrying calls to this dial peer (1-5, where 5 is the highest precedence for normal IP flows). |
Step 15 | uBR924(config-dial-peer)# code [ g711alaw | g711ulaw | g729r8 ] | (Optional) Specify the codec algorithm to be used for these calls. The default is g711r8 (8Kbps compression; A-Law and Mu-Law are 64Kbps compression). |
Step 16 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 17 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 18 | uBR924# copy running-config startup-config | Save the configuration to nonvolatile memory so that it will not be lost in the event of a reset, power cycle, or power outage. |
Step 19 | uBR924# show startup-config | Display the configuration file that was just created. |
![]() |
Note The ID numbers assigned using the dial-peer voice command must be unique but they are local to the Cisco uBR924 router. These numbers are used only when configuring each particular dial peer and have no meaning when dialing numbers or routing calls. |
The following example shows a Cisco uBR924 router set up to support bridging and a static H.323 dial map with the following characteristics:
The commands that set up the H.323v2 dial map are shown in bold:
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ubr924 ! clock timezone - 3 ip subnet-zero no ip routing ! ! voice-port 0 input gain -3 ! voice-port 1 input gain -3 ! dial-peer voice 1 pots destination-pattern 4123 port 0 ! dial-peer voice 2 pots destination-pattern 4124 port 1 ! dial-peer voice 1001 voip destination-pattern 6... session target ipv4:10.1.71.65 dtmf-relay cisco-rtp h245-signal h245-alphanumeric ! dial-peer voice 1002 voip destination-pattern 7... ip precedence 5 codec g711ulaw session target ipv4:10.1.71.75 dtmf-relay cisco-rtp h245-signal h245-alphanumeric ! ! interface Ethernet0 no ip directed-broadcast no ip route-cache bridge-group 59 bridge-group 59 spanning-disabled ! interface cable-modem0 ip address dhcp no ip directed-broadcast no ip route-cache cable-modem downstream saved channel 537000000 26 bridge-group 59 bridge-group 59 spanning-disabled ! ! ip classless no ip http server no service finger ! ! line con 0 exec-timeout 0 0 transport input none line vty 0 4 login end
When the Cisco uBR924 router is operating in routing mode, the configuration of an H.323v2 static dial map uses the same commands as those given in the "H.323v2 Static Bridging Configuration" section. The only difference is that calls can terminate and originate on the Ethernet interface, which is not possible in DOCSIS-bridging mode.
The following sample configuration shows a Cisco uBR924 router set up for a static H.323v2 dial map with the following characteristics:
The commands related to the dial map are in bold.
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime ! hostname ubr924 ! ! ! class-map class-default match any ! ! ! clock timezone - 3 ip subnet-zero ! ! ! ! voice-port 0 ! voice-port 1 ! dial-peer voice 1 pots destination-pattern 6101 port 0 ! dial-peer voice 2 pots destination-pattern 6102 port 1 ! dial-peer voice 101 voip destination-pattern 62.. session target ipv4:10.1.71.62 dtmf-relay cisco-rtp ! dial-peer voice 102 voip destination-pattern 6101 session target ipv4:24.1.61.5 ! dial-peer voice 103 voip destination-pattern 6102 session target ipv4:24.1.61.5 dtmf-relay cisco-rtp ! ! interface Ethernet0 ip address 24.1.61.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache ! interface cable-modem0 ip address dhcp no ip directed-broadcast no ip mroute-cache cable-modem downstream saved channel 537000000 27 no cable-modem compliant bridge ! router rip version 2 network 10.0.0.0 network 24.0.0.0 no auto-summary ! no ip classless ip route 0.0.0.0 0.0.0.0 10.1.71.1 no ip http server no service finger ! ! line con 0 exec-timeout 0 0 transport input none line vty 0 4 login ! ! end
![]() |
Note The above configuration assumes that the DHCP server assigns an IP address to the cable interface that is in the class A private network (10.0.0.0). |
When using a Cisco IOS image that supports voice, the Cisco uBR924 router supports using the Registration, Admission, and Status (RAS) protocol to allow a remote gatekeeper to translate phone numbers (E.164 addresses) to the IP addresses of specific dial peers. This allows the gatekeeper to maintain a central database of dial peers, so that this information does not have to be entered into static dial maps on every router that is acting as a voice gateway.
![]() |
Note The Cisco uBR924 router can use H.323v2 dynamic mapping in either DOCSIS-bridging mode or routing mode. |
The example shown in this section assumes that Cisco Network Registrar (CNR) version 3.0 or higher is being used as the DHCP server. CNR assigns the E.164 addresses to local voice ports and uses DHCP to define the E.164 addresses-to-port assignments.
The gatekeeper can be a Cisco router, such as the Cisco 3620, with a Cisco IOS image that supports the gatekeeper function. The Cisco uBR924 router acts as the H.323v2 gateway and creates the dial peers, starts H.323 RAS gateway support, and registers the E.164 addresses with the gatekeeper. The gatekeeper resolves the remote peers' IP addresses when the router sends a request using RAS.
![]() |
Note Support for RAS and H.323v2 in Cisco gatekeeper products is found in Cisco IOS Release 12.0(5)T or higher. Support for multiple classes of service when using Cisco uBR7200 CMTS equipment is found in Cisco 12.0(4)XI or higher. If you are not using CNR or Cisco gatekeeper products running Cisco IOS Release 12.0(5)T software, use a static dial-map as shown in the previous H.323 configurations ("H.323v2 Static Bridging Configuration" and "H.323v2 Static Routing Configuration"). |
You must do the following to configure the Cisco uBR924 router for dynamic mapping:
These functions are done using the commands shown in the following table:
| Command | Purpose | |
|---|---|---|
Step 1 | To configure incoming calls on voice port V1: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 2 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 3 | uBR924(config-dial-peer)# port 0 | Specify that voice port V1 is attached to this telephony equipment. |
Step 4 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 5 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 6 | To configure incoming calls on voice port V2: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 7 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 8 | uBR924(config-dial-peer)# port 1 | Specify that voice port V2 is attached to this telephony equipment. |
Step 9 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 10 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 11 | Repeat for each possible outgoing destination: uBR924(config)# dial-peer voice id-number voip | Specify a unique id-number for this outgoing dial-peer and enter dial-peer configuration mode. |
Step 12 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this dial-peer. |
Step 13 | uBR924(config-dial-peer)# session target ras | Specify that RAS will be used to resolve the destination for the dial-peer. |
Step 14 | uBR924(config-dial-peer)# dtmf-relay [cisco-rtp] [h245-signal] [h245-alphanumeric] | Optionally configure the dial peer to support out of band signaling of DTMF tones. |
Step 15 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 16 | uBR924(config)# gateway | Enable the VoIP gateway on the Cisco uBR924 router. |
Step 17 | uBR924(config)# interface cable-modem 0 | Enter interface configuration mode for the cable interface. |
Step 18 | uBR924(config-if)# (enter appropriate cable interface configuration commands) | Enter whatever commands are needed to configure the cable interface such as IP address, downstream channel, whether DOCSIS-bridging is enabled, and so forth. |
Step 19 | uBR924(config-if)# h323-gateway voip interface | Specify that the cable interface is the H.323 Gateway VoIP interface. |
Step 20 | uBR924(config-if)# h323-gateway voip id gatekeeper-id ipaddr IP-address port-number | Identify the RAS gatekeeper by specifying its gatekeeper ID (which must match the ID configured on the gatekeeper), its IP address, and the port number which services gateway requests. |
Step 21 | uBR924(config-if)# h323-gateway voip h323-id interface-id | Specify the H.323 ID for this interface. This ID is any string that uniquely identifies this gateway to the gatekeeper. Typically, this is the gateway's name and domain (such as "ubr924@cisco.com"). |
Step 22 | uBR924(config-if)# h323-gateway voip tech-prefix prefix | (Optional) Specify a technology prefix to identify the type of service this gateway can provide. If more than one service is being provided, give this command for each separate technology prefix. (The prefix is defined at the gatekeeper and can up to 11 characters long, with the pound sign (#) as the last character.) |
Step 23 | uBR924(config-if)# exit | Exit interface configuration mode. |
Step 24 | uBR924# copy running-config startup-config | Save the configuration to nonvolatile memory so that it will not be lost in the event of a reset, power cycle, or power outage. |
Step 25 | uBR924# show startup-config | Display the configuration file that was just created. |
![]() |
Note For additional information on the gateway configuration commands, see the document Configuring H.323 VoIP Gateway for Cisco Access Platforms, available on CCO and the Document CD-ROM. |
The following configuration shows a Cisco uBR924 router configured for routing mode and using RAS dynamic mapping with the following characteristics:
The commands related to the dial mapping are in bold.
version 12.1 service config no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname uBR924 ! clock timezone - 4 ip subnet-zero ip host-routing ! voice-port 0 ! voice-port 1 ! dial-peer voice 1 pots destination-pattern 1000 port 0 ! dial-peer voice 2 pots destination-pattern 1001 port 1 ! dial-peer voice 10 voip destination-pattern 1001 codec g711ulaw session target ras ! dial-peer voice 20 voip destination-pattern 1000 codec g711ulaw session target ras ! dial-peer voice 30 voip destination-pattern 2000 codec g711ulaw session target ras ! dial-peer voice 40 voip destination-pattern 2001 codec g711ulaw session target ras ! gateway ! ! interface Ethernet0 ip address 24.1.0.1 255.255.0.0 no ip directed-broadcast no ip mroute-cache ! interface cable-modem0 ip address dhcp no ip directed-broadcast no ip mroute-cache no keepalive cable-modem downstream saved channel 477000000 56 no cable-modem compliant bridge h323-gateway voip interface h323-gateway voip id gatekeeper3620 ipaddr 10.1.70.50 1719 h323-gateway voip h323-id uBR924 h323-gateway voip tech-prefix 1# ! router rip version 2 network 10.0.0.0 network 24.0.0.0 ! ip classless no ip http server no service finger ! ! line con 0 transport input none line vty 0 4 ! end
![]() |
Note The above configuration assumes that the DHCP server assigns an IP address to the cable interface that is in the class A private network (10.0.0.0). |
When using Cisco IOS Release 12.0(7)T or higher and a software image that supports voice, the Cisco uBR924 router can use the SGCP protocol for routing voice calls. This transfers the dial mapping to an external call agent, so that the VoIP gateways do not have to be individually configured with the dial mappings.
![]() |
Note The Cisco uBR924 router can use SGCP in either DOCSIS-bridging mode or routing mode. |
You must do the following to configure the Cisco uBR924 router for a dynamic mapping configuration:
![]() |
Note No configuration of remote dial-peers is needed when using SGCP. |
These functions are done using the commands shown in the following table:
| Command | Purpose | |
|---|---|---|
Step 1 | To configure incoming calls on voice port V1: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 2 | uBR924(config)# application SGCPAPP | Specify that this dial-peer is handled as an SGCP application. |
Step 3 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 4 | uBR924(config-dial-peer)# port 0 | Specify that voice port V1 is attached to this telephony equipment. |
Step 5 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 6 | To configure incoming calls on voice port V2: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 7 | uBR924(config)# application SGCPAPP
| Specify that this dial-peer is handled as an SGCP application. |
Step 8 | uBR924(config-dial-peer)# destination-pattern digits | Specify the telephone number(s) associated with this voice port. |
Step 9 | uBR924(config-dial-peer)# port 1 | Specify that voice port V2 is attached to this telephony equipment. |
Step 10 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 11 | ubr924(config)# sgcp | Enable SGCP operations on the router. |
Step 12 | ubr924(config)# sgcp call-agent ip-address [ port ] | Specify the IP address and optional UDP port number for the SGCP call-agent. If no port number is given, the default of 2427 (the well-known SGCP port number) is used. |
Step 13 | uBR924(config)# snmp-server enable traps xgcp | (Optional) If SNMP management is used for this router, specify that SGCP and related traps be sent to the SNMP manager. |
Step 14 | uBR924# copy running-config startup-config | Save the configuration to nonvolatile memory so that it will not be lost in the event of a reset, power cycle, or power outage. |
Step 15 | uBR924# show startup-config | Display the configuration file that was just created. |
The following configuration shows a Cisco uBR924 router configured in DOCSIS-bridging mode that uses SGCP for the routing of its voice calls. The relevant commands are shown in bold.
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ubr924 ! ! clock timezone - 0 6 ip subnet-zero no ip routing ip domain-name cisco.com ip name-server 4.0.0.32 ! sgcp sgcp call-agent 10.186.1.36 ! xgcp snmp sgcp ! ! voice-port 0 ! voice-port 1 ! dial-peer voice 100 pots application SGCPAPP destination-pattern 5551212 port 0 ! dial-peer voice 101 pots application SGCPAPP destination-pattern 5551213 port 1 ! process-max-time 200 ! interface Ethernet0 no ip directed-broadcast no ip route-cache no ip mroute-cache bridge-group 59 bridge-group 59 spanning-disabled ! interface cable-modem0 ip address dhcp no ip directed-broadcast no ip route-cache no ip mroute-cache cable-modem downstream saved channel 699000000 27 bridge-group 59 bridge-group 59 spanning-disabled ! ip classless no ip http server no service finger ! ! line con 0 transport input none line vty 0 4 login ! end
When using Cisco IOS Release 12.1(3)T and higher software images that support voice, the Cisco uBR924 router can use the MGCP protocol for routing voice calls. This transfers the dial mapping to an external call agent or to a Media Gateway Controller, so that the VoIP gateways do not have to be individually configured with the dial mappings.
![]() |
Note The Cisco uBR924 router can use MGCP in either DOCSIS-bridging mode or routing mode. |
You must do the following to configure the Cisco uBR924 router for MGCP routing of voice calls:
![]() |
Note No configuration of remote dial-peers is needed when using MGCP. |
These functions are done using the commands shown in the following table:
| Command | Purpose | |
|---|---|---|
Step 1 | To configure incoming calls on voice port V1: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 2 | uBR924(config)# application MGCPAPP | Specify that this dial-peer is handled as an MGCP application. |
Step 3 | uBR924(config-dial-peer)# port 0 | Specify that voice port V1 is attached to this telephony equipment. |
Step 4 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 5 | To configure incoming calls on voice port V2: uBR924(config)# dial-peer voice id-number pots | Specify a unique id-number for this incoming dial-peer and enter dial-peer configuration mode. |
Step 6 | uBR924(config)# application MGCPAPP
| Specify that this dial-peer is handled as an MGCP application. |
Step 7 | uBR924(config-dial-peer)# port 1 | Specify that voice port V2 is attached to this telephony equipment. |
Step 8 | uBR924(config-dial-peer)# exit | Exit dial-peer configuration mode. |
Step 9 | ubr924(config)# mgcp | Enable MGCP operations on the router. |
Step 10 | ubr924(config)# mgcp call-agent ip-address [ port ] [ service-type sgcp | mgcp ] | Specify the IP address and optional UDP port number for the MGCP call-agent. If no port number is given, the default is 2427. The default service-type is mgcp, but sgcp can be specified to ignore RSIP error messages. |
Step 11 | ubr924(config)# mgcp dtmf-relay { codec | low-bit-rate } mode { cisco | out-of-band } | (Optional) Enables the accurate forwarding of touchtone digits during a voice call. Use codec to specify the G.711 codec or low-bit-rate to specify the G.729 codec. Use a mode of cisco to transmit the tones with the Cisco proprietary method; if the remote gateway is not a Cisco router, use out-of-band instead. |
Step 12 | ubr924(config)# mgcp ip-tos { high-reliability | high-throughput | low-cost | low-delay | precedence value } | (Optional) Enable IP Type of Services (TOS) for the voice connections, and specify the value for the IP precedence bit (the default IP precedence is 3). |
Step 13 | ubr924(config)# mgcp max-waiting-delay value | (Optional) Specify the number of milliseconds to wait after a restart (default of 3000) before connecting with the call agent. If used, these values should be staggered among gateways to avoid having large numbers of gateways connecting with the call agent at the same time after a mass restart. |
Step 14 | ubr924(config)# mgcp modem passthru { cisco | ca } | (Optional) Enable the transmission and reception of modem and fax data. If the remote gateway is a Cisco router, specify cisco; otherwise, specify ca (default) to allow the data to pass-through the call-agent. |
Step 15 | ubr924(config)# mgcp package-capability { line-package | dtmf-package | gm-package | rtp-package } | (Optional) Specify that the Cisco uBR924 router supports a particular package capability. Give this command multiple times to enable multiple packages. Use this command before using the mgcp default-package command. |
Step 16 | ubr924(config)# mgcp default-package { line-package | dtmf-package | gm-package } | (Optional) Specify the default package type for the media gateway; defaults to line-package. |
Step 17 | ubr924(config)# mgcp playout { adaptive init-value min-value max-value | fixed init-value } | (Optional) Change the jitter buffer packet size in milliseconds for MGCP calls, using either an adaptive range or a fixed value. The default is adaptive 60 4 200. |
Step 18 | ubr924(config)# mgcp request retries count | (Optional) Specify the number of times a call request message is transmitted to a call agent before timing out. The default is 3 times. |
Step 19 | ubr924(config)# mgcp request timeout timeout | (Optional) Specify the number of milliseconds to wait for a response to a request before retransmitting or timing out the request. The default is 500 milliseconds. |
Step 20 | ubr924(config)# mgcp restart-delay value | (Optional) Specify the value (in seconds) used in Restart in Progress (RSIP) messages to indicate the delay before the connection is torn down. The default delay is 0 seconds. |
Step 21 | ubr924(config)# mgcp vad | (Optional) Enable Voice Activity Detection (VAD) to turn silence suppression on. The default disables VAD. |
Step 22 | uBR924# copy running-config startup-config | Save the configuration to nonvolatile memory so that it will not be lost in the event of a reset, power cycle, or power outage. |
Step 23 | uBR924# show startup-config | Display the configuration file that was just created. |
The following configuration shows a Cisco uBR924 router configured in DOCSIS-bridging mode that uses MGCP for controlling its voice calls. The relevant commands are shown in bold.
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ubr924 ! ! clock timezone - 0 6 ip subnet-zero no ip routing ip domain-name cisco.com ip name-server 10.0.0.32 ! mgcp mgcp call-agent 10.186.1.36 mgcp modem passthru ca mgcp package-capability dtmf-package mgcp package-capability line-package mgcp default-package line-package ! xgcp snmp sgcp ! ! voice-port 0 ! voice-port 1 ! dial-peer voice 100 pots application MGCPAPP port 0 ! dial-peer voice 101 pots application MGCPAPP port 1 ! process-max-time 200 ! interface Ethernet0 no ip directed-broadcast no ip route-cache no ip mroute-cache bridge-group 59 bridge-group 59 spanning-disabled ! interface cable-modem0 ip address dhcp no ip directed-broadcast no ip route-cache no ip mroute-cache bridge-group 59 bridge-group 59 spanning-disabled ! ip classless no ip http server no service finger ! ! line con 0 transport input none line vty 0 4 login ! end
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jul 20 18:42:20 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.