for MGCP
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-4,16 service mgcp
ccm-manager fallback-mgcp
ccm-manager mgcp
ccm-manager music-on-hold
mgcp
mgcp call-agent 192.168.1.2 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode cisco
mgcp sdp simple
mgcp bind control source-interface Loopback0
mgcp bind media source-interface Loopback0
dial-peer voice 1 pots
application mgcpapp
port 3/0:15
interface Serial3/0:15
no ip address
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
thats router config, u have to configure MGCP gateway on CCM.
GOOD LUCK