Table of Contents

MGCP

Endpoint Indentifier

PRI BackHaul

Channel Selection Order

Configuration Server

Configuration CUCM

MGCP Gateway

MGCP Endpoints

MGCPRouter# show inventory

NAME: "chassis", DESCR: "2801 chassis"
PID: CISCO2801         , VID: V05 , SN: FHK1244F23Y

NAME: "WIC/VIC/HWIC 1", DESCR: "WAN Interface Card - HWIC Serial 2T"
PID: HWIC-2T           , VID: V02 , SN: FOC14324S4N

NAME: "WIC/VIC/HWIC 3", DESCR: "VWIC2-1MFT-T1/E1 - 1-Port RJ-48 Multiflex Trunk - T1/E1"
PID: VWIC2-1MFT-T1/E1  , VID: V01 , SN: FOC124101BJ

NAME: "VIC 0", DESCR: "MFT-EC-32 - 32 Channel Hardware Echo Canceller"
PID: EC-MFT-32         , VID: V01 , SN: FOC12302R0G

NAME: "PVDM 0", DESCR: "PVDMII DSP SIMM with Two DSPs"
PID: PVDM2-32          , VID: V01 , SN: FOC1431436B

NAME: "PVDM 1", DESCR: "PVDMII DSP SIMM with one DSP"
PID: PVDM2-16          , VID: V01 , SN: FOC10443V5U

ccie-srst-gw#

MGCPRouter#

Configuration Gateway

Common Steps

hostname mgcp-gw
ip domain name iptel.in.telstra.com.au
ccm-manager config server <CUCM_TFTP_IP>
ccm-manager config

Manual method

controller T1 0/1/0
  pri-group time-slots 1-10, 24 service mgcp
interface Serial0/1/0:23
  isdn bind-l3 ccm-manager
ccm-manager mgcp
ccm-manager redundant-host <cucm-pub>
mgcp call-agent <cucm-sub>
ccm-manager switchback immediate
mgcp bind control source-interface lo0
mgcp bind media source-interface lo0
mgcp dtmf-relay voip codec all mode out-of-band 
mgcp

Busy Out Ports

Debug

Router# debug mgcp packets

Sep 25 08:00:48.247: MGCP Packet sent to 10.80.101.72:2427--->
RSIP 855851633 *@ccie-srst-gw.iptel.in.telstra.com.au MGCP 0.1
RM: restart
<---
Sep 25 08:00:48.251: MGCP Packet received from 10.80.101.72:2427--->
200 855851633 
<---
Sep 25 08:00:48.255: MGCP Packet received from 10.80.101.72:2427--->
AUEP 24 S0/SU3/DS1-0/1@ccie-srst-gw.iptel.in.telstra.com.au MGCP 0.1
F: X, A, I
<---

...
...

Sep 25 08:00:48.323: MGCP Packet sent to 10.80.101.72:2427--->
NTFY 855851635 *@ccie-srst-gw.iptel.in.telstra.com.au MGCP 0.1
X: 0
O: 
<---
Sep 25 08:00:48.327: MGCP Packet received from 10.80.101.72:2427--->
200 855851635 
<---
Sep 25 08:00:50.258: MGCP Packet sent to 10.80.101.72:2427--->
RSIP 855851632 *@ccie-srst-gw.iptel.in.telstra.com.au MGCP 0.1
RM: restart
<---
Sep 25 08:00:50.258: MGCP Packet received from 10.80.101.72:2427--->
200 855851632 
<---

...
...
Router# 
I've seen this is a common problem of everyone.
There are other methods but this method seems to be efficient enough to fix it without rebooting the router.

Assumptions; you'r ccm is properly bounded to loopback0 [confirm it using show mgcp command], your config are pointed to ccm properly.

Problem;
---------
show isdn status layer3 doesn't come up[multiple frames established], instead State = TEI_ASSIGNED

summary;
config t
int loopback0
shut
controller t1 0/2/0
shut

no mgcp

then once all those 3 are shut, no shut them one by one;
e.g.
int loop0
no shut
controller t1 0/2/0
no shut

conf t
mgcp