Configuring MGCP Gateways
Configuring MGCP on a aperture depends on what blazon of aperture you are configuring.
Residential aperture agreement is done in dial-peer agreement mode, admitting a
trunking aperture is configured beneath the ambassador interface.
Chapter 5: Examining VoIP Gateways and Aperture Ascendancy Protocols 285
Note Afterwards configuring the gateway, the aperture charge be added to the alarm agent.
To configure MGCP on a gateway, accomplish the tasks in the afterward sections.
MGCP Residential Aperture Agreement Example
MGCP is invoked with the mgcp command. If the alarm abettor expects the aperture to use
the absence anchorage (UDP 2427), the mgcp command is acclimated afterwards any parameters. If the
call abettor requires a altered port, the anchorage charge be configured as a constant in the
mgcp command; for example, mgcp 5036 would acquaint the aperture to use anchorage 5036
instead of the absence port.
You can accomplish the afterward accomplish to configure a RGW:
Step 1. Initiate the MGCP application.
Step 2. Specify the alarm agent’s IP abode or area name, port, and aperture control
service type.
At atomic one mgcp call-agent command is appropriate afterwards the mgcp command.
The command identifies the alarm abettor by an IP abode or a hostname. Using
a hostname adds a admeasurement of accountability altruism in a arrangement that has multiple
call agents. Back the aperture asks the DNS for the IP abode of the call
agent, the DNS ability accommodate added than one address, in which case the gateway
can use either one. If assorted instances of the mgcp call-agent command
are configured, the aperture uses the aboriginal alarm abettor to respond.
Step 3. Set up the punch associate for a articulation port.
■ Specify the MGCP appliance to run on the articulation port.
■ Specify the articulation anchorage to bind with MGCP.
When the ambit of the MGCP aperture are configured, the alive voice
ports (endpoints) are associated with MGCP. Punch associate 1, in Archetype 5-7,
illustrates an appliance mgcpapp subcommand. This command binds the
voice anchorage (1/0/0 in this case) to MGCP. Also, apprehension that the punch associate does
not acquire a destination pattern. A destination arrangement is not used, because the
relationship amid the punch cardinal and the anchorage is maintained by the call
agent.
Step 4. (Optional) Specify the accident bales that are accurate on the residential
gateway. The absence amalgamation is line-package.
The agreement archetype illustrated in Figure 5-20 and Archetype 5-7 illustrates the commands
required to configure an MGCP residential gateway, including the commands to
identify the bales that the aperture expects the alarm abettor to use back it communicates
with the gateway.
286 Authorized Self-Study Guide: Cisco Articulation over IP (CVOICE)
IP
V
Cisco UCM
172.20.5.20
Residential
Gateway
1/0/0
1/0/1
Figure 5-20 MGCP Residential Aperture Topology
Example 5-7 MGCP Residential Aperture Configuration
Router(config)#ccm-manager mgcp
Router(config)#mgcp
Router(config-mgcp)#mgcp call-agent 172.20.5.20 service-type mgcp
Router(config)#dial-peer articulation 1 pots
Router(config-dialpeer)#application mgcpapp
Router(config-dialpeer)#port 1/0/0
Router(config)#dial-peer articulation 2 pots
Router(config-dialpeer)#application mgcpapp
Router(config-dialpeer)#port 1/0/1
Router(config-dialpeer)#exit
Router(config)#mgcp package-capability dtmf-package
Router(config)#mgcp package-capability gm-package
Router(config)#mgcp package-capability line-package
Router(config)#mgcp package-capability rtp-package
Router(config)#mgcp default-package line-package
Configuring an MGCP Block Aperture Example
Figure 5-21 and Archetype 5-8 allegorize commands for configuring an MGCP trunk
gateway.
Figure 5-21 MGCP Block Aperture Topology
Example 5-8 MGCP Block Aperture Agreement Example
Chapter 5: Examining Vo