I put this here primarily for my reference. I always end up forgetting one of the global commands when configuring a voice gateway for MGCP...this assumes a Cisco CallManager @ 172.30.100.104:
Router(config)#mgcp
Router(config)#mgcp call-agent 172.30.100.104
Router(config)#ccm-manager mgcp
!Now, the redundant CCM hosts:
Router(config)#ccm-manager redundant-host 172.30.100.105 172.30.100.106
!Now, the TFTP server configuration...gateway should be configured in CCM by this point.
Router(config)#ccm-manager config server 172.30.100.104
Router(config)#ccm-manager config
!In newer IOS/CCM versions, voice dial-peers are created automatically...older versions need this to place each port under MGCP control.
Router(config)#dial-peer voice 5000 pots
Router(config-dial-peer)#port 0/0/0 !FXS port
Router(config-dial-peer)#service MGCPAPP !or application MGCPAPP on older IOS versions
