MGCP Analog Gateway Events and IOS Commands#

MGCP Analog Gateway Events

Default IOS Commands

Available Variables

HcsAddAnalogGatewayEVT Adds an Analog MGCP Gateway.

conf t
hostname {{pwf.GatewayDAT.domainName}}
ccm-manager config server {{ fn.one macro.HcsCucmsAssociatedToNDLRMCR}}
ccm-manager config
mgcp call-agent {{ fn.one macro.HcsCucmsAssociatedToNDLRMCR}} 2427 service-type mgcp version 1.0
ccm-manager mgcp
! ccm-manager redundant-host
ccm-manager switchback Graceful
ccm-manager fallback-mgcp
mgcp bind control source-int {{ pwf.GatewayDAT.networkInterface }}
mgcp bind media source-int {{ pwf.GatewayDAT.networkInterface }}
mgcp dtmf-relay voip codec all mode out-of-band
mgcp modem passthrough voip mode nse
mgcp package-capability sst-package
no mgcp package-capability sst-package
end

pwf.GatewayDAT.networkInterface- returns the Network Interface based on the configuration in the Gateway.

Default IOS Commands

Available Variables

HcsAddAnalogGatewayEndpointEVT Adds an Endpoint for the Analog MGCP Gateway.

conf t
voice-port {{ pwf.PORT_NUM }}
timeouts call-disconnect {{ fn.as_string pwf.GatewayDAT.disconnectTimeout }}
cptone {{ pwf.GatewayDAT.cpTone }}
signal {{macro.HcsIosCmdAnalogGwSignalMCR}}
ring frequency 25
description {{ fn.sub_string macro.HcsAnalogGatewayIOSCmdDesc, 0, 63 }}
timing hookflash-in 250 80
no shutdown
exit
dial-peer voice {{ pwf.DIAL_PEER_NO }} pots
service mgcpapp
port {{ pwf.PORT_NUM }}
end

pwf.GatewayDAT.cpTone - This is the call progress tone of the country that supports each analog device in the gateway.

pwf.DIAL_PEER_NO - returns the dial peer number that is used to generate the dial peer. It starts from 4 for the first dial peer, and increase by 1 for the next one.

Default IOS Commands

Available Variables

HcsAddAnalogMGCPGatewayEndpointModEVT Adds an Endpoint Module for the Analog MGCP gateway.

conf t
voice-port {{ pwf.PORT_NUM }}
timeouts call-disconnect {{ fn.as_string pwf.GatewayDAT.disconnectTimeout }}
cptone {{ pwf.GatewayDAT.cpTone }}
signal {{macro.HcsIosCmdAnalogGwSignalMCR}}
ring frequency 25
description {{ fn.sub_string macro.HcsAnalogGatewayIOSCmdDesc, 0, 63 }}
timing hookflash-in 250 80
no shutdown
exit
dial-peer voice {{ pwf.DIAL_PEER_NO }} pots
service mgcpapp
port {{ pwf.PORT_NUM }}
end

pwf.PORT_NUM - This is the FXS port number of the analog gateway device.

pwf.GatewayDAT.disconnectTimeout - Time in seconds for which a connection is maintained after the completion of a communication exchange.

pwf.GatewayDAT.cpTone - This is the call progress tone of the country that supports each analog device in the gateway.

pwf.DIAL_PEER_NO - returns the dial peer number we use to generate dial peer. It starts from 4 for the first dial peer, and increase by 1 for the next one.

Default IOS Commands

Available Variables

HcsDeleteAnalogGatewayEVT Deletes an Analog MGCP Gateway.

conf t
no mgcp call-agent {{ fn.one macro.HcsCucmsAssociatedToNDLRMCR}} 2427 service-type mgcp version 1.0
no ccm-manager config server {{ fn.one macro.HcsCucmsAssociatedToNDLRMCR}}
mgcp
no ccm-manager mgcp
! no ccm-manager redundant-host
no ccm-manager switchback Graceful
no ccm-manager fallback-mgcp
no mgcp bind control source-int {{ pwf.GatewayDAT.networkInterface }}
no mgcp bind media source-int {{ pwf.GatewayDAT.networkInterface }}
no mgcp dtmf-relay voip codec all mode out-of-band
no mgcp modem passthrough voip mode nse no ccm-manager music-on-hold
no ccm-manager config
no mgcp package-capability rtp-package
no  mgcp package-capability sst-package
no  mgcp default-package mt-package
no mgcp timer receive-rtcp
no  mgcp sdp simple
no mgcp fax t38 inhibit
no mgcp
end

pwf.GatewayDAT.networkInterface - This is the physical device network interface (Ethernet Port) for the analog gateway.

Default IOS Commands

Available Variables

HcsDeleteAnalogGatewayEndpointEVT Deletes an Endpoint for the Analog MGCP Gateway.

conf t
voice-port {{ pwf.PORT_NUM }}
no timeouts call-disconnect
default cptone
default timing hookflash-in
default description
no signal
default ring frequency
shutdown
exit
no dial-peer voice {{ pwf.DIAL_PEER_NO }} pots
end

pwf.PORT_NUM - This is the FXS port number of the analog gateway device.

pwf.DIAL_PEER_NO - returns the dial peer number we use to generate dial peer. It starts from 4 for the first dial peer, and increase by 1 for the next one.

Default IOS Commands

Available Variables

HcsDeleteAnalogMGCPGatewayEndpointModEVT Deletes an Endpoint Module for the Analog MGCP Gateway.

conf t
voice-port {{ pwf.PORT_NUM }}
no timeouts call-disconnect
default cptone
default timing hookflash-in
default description
no signal
default ring frequency
shutdown
exit
no dial-peer voice {{ pwf.DIAL_PEER_NO }} pots
end

pwf.PORT_NUM - This is the FXS port number of the analog gateway device.

pwf.DIAL_PEER_NO - returns the dial peer number we use to generate dial peer. It starts from 4 for the first dial peer, and increase by 1 for the next one.

Default IOS Commands

Available Variables

HcsUpdateAnalogGatewayEVT Updates the Analog MGCP Gateway.

conf t
hostname {{pwf.GatewayDAT.domainName}}
no mgcp bind control source-int {{ pwf.previousGatewayDAT.networkInterface }}
mgcp bind control source-int {{ pwf.GatewayDAT.networkInterface }}
no mgcp bind media source-int {{ pwf.previousGatewayDAT.networkInterface }}
mgcp bind media source-int {{ pwf.GatewayDAT.networkInterface }}
end

pwf.GatewayDAT.networkInterface - This is the physical device network interface (Ethernet Port) for the analog gateway.

Default IOS Commands

Available Variables

HcsUpdateAnalogGatewayEndpointEVT Updates the Endpoint for the Analog MGCP Gateway.

conf t
voice-port {{ pwf.PORT_NUM }}
no signal
signal {{macro.HcsIosCmdAnalogGwSignalMCR}}
no timeouts call-disconnect
timeouts call-disconnect {{ fn.as_string pwf.GatewayDAT.disconnectTimeout }}
no cptone
cptone {{ pwf.GatewayDAT.cpTone }}
no shutdown
end

pwf.PORT_NUM - This is the FXS port number of the analog gateway device.

pwf.GatewayDAT.disconnectTimeout - Time in seconds for which a connection is maintained after the completion of a communication exchange.

pwf.GatewayDAT.cpTone - This is the call progress tone of the country that supports each analog device in the gateway.