Showing posts with label ISDN. Show all posts
Showing posts with label ISDN. Show all posts

Thursday, February 9, 2012

Basic MGCP router configuration using ccm-manager config server command

After configuring UCM MGCP configuration, on router you can config the MGCP feature with ease.  There is a feature called "ccm-manager config server" which configs the MGCP gateway automatically, by pulling configuration file from UCM as well as automatically config the router controller, voice-port and serial interfaces.  The basic settings that you need are as follows:

mgcp bind control source-interface gi0/0
mgcp bind media source-interface gi0/0
ccm-manager config server 192.168.20.2 192.168.20.1 ! UCM IP addresses, you can specify sub as primary and pub as backup
ccm-manager config

Then you can see the console messages showing the ISDN interface and other MGCP features are configured automatically.

Do a "show ccm-manager" and "show isdn status" to verify if it is configured properly.  If not, check out this post:
http://pandaeatsbamboo.blogspot.com/2012/02/isdn-shows-teiassigned-status-on-mgcp.html

If you make any changes that is different from the UCM configuration (e.g. config a partial T1 instead of using all channels), remember to no ccm-manager config server otherwise your configuration will be override after reloading the router

ISDN shows TEI_ASSIGNED status on MGCP gateway

My environment:  IOS 12.4(23)T3 advanced enterprise, 2821

When I try to config the MGCP using the ccm-manager config server, in "show ccm-manager" it shows the gateway is registered to UCM successfully:

Priority        Status                   Host
============================================================
Primary         Registered               192.168.20.2
First Backup    Backup Ready             192.168.20.1
Second Backup   None                     

However when I do "show isdn status", the Layer 2 status shows:

State = TEI_ASSIGNED

A router reload solved the problem, you should see

State = MULTIPLE_FRAME_ESTABLISHED

in "show isdn status" Layer 2 status.


Allow sending calling name to PSTN

To display calling name:

interface serial0/0/0:15
  isdn outgoing display-ie

This display name is the "name" config in ephone-dn or voice register dn in CME

ephone-dn 1
  name panda  ! this is the calling name

ISDN B-channel selection algorithm

The default behavior is in descending order (e.g. 15 -> 14 -> 13).  To change this behavior:

interface serial0/0/0:15
   isdn bchan-number-order ascending ! i.e. 1 -> 2 -> 3