5-116 Compact T1 - Release 6.1
CLI Commands
set
set (router) mgcp gatewayid
Use the set (router) mgcp gatewayid command to set the gateway name or IP address to
be used in MGCP command header lines and the SDP. By default, the gateway ID that will
be used is the domain name of the CMG if DNS is enabled or the IP address of the LAN or
WAN interface used to communicate with the call agent. The user may set an explicit name
or address by entering it in the command. The domain name form can only be used if DNS
has been enabled. This command applies to the CMG Router card only.
Syntax: set {cmg_card-addr} mgcp gatewayid
{default|ip-addr|"domain-name"}
Example: set 1 mgcp gatewayid "gateway1.carrieraccess.com"
The example will set the gateway ID to "gateway1.carrieraccess.com" for the
CMG card in slot 1.
{cmg_card-addr}
The slot number (1-6) that contains the CMG card.
{default|ip-addr|"domain-name"}
default Use the DNS domain name or the IP address configured for the WAN
or LAN interface
ip-addr Use the IP address for the gateway ID in the MGCP header. In the
form of xxx.xxx.xxx.xxx, where xxx is between 0-255.
domain-name Use the name for the gateway ID in the MGCP header. Name has a
maximum of 43 characters and is enclosed in quotes.