Jump to content

MGCP Analogue Ports

From wiki.oeser.name
Revision as of 20:12, 9 November 2016 by Udo (talk | contribs) (Created page with "This document contains commands for registering analogue ports on a Ciso IOS gateway to Cisco UCM using MGCP. ==Advantages:== * T.38 Support * more option for special device...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document contains commands for registering analogue ports on a Ciso IOS gateway to Cisco UCM using MGCP.

Advantages:

  • T.38 Support
  • more option for special devices (like door opener)

Disadvantages:

  • each port needs to be configured individual on the CUCM, bulk tool support is limited
  • no feature access codes supported

==Commands:

If the CUCM is using FQDN for server names the MGCP gateway must be able to resolve DNS names:

ip domain name MyDomain.com
ip name-server DNS Server IP
ip name-server DNS Server IP

Host name and domain must match the CUCM config!


I prefer to use MGCP "auto config". For this the gateway has to be created on CUCM first. Mind the correct FQDN for the gateway! Here are the commands to enable MGCP using CUCM "automatically configuration":

ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server CUCM TFTP Server IP 
ccm-manager config
!
mgcp

You can check the successful registration with:

show ccm-manager

Voice Port configuration for FAX devices:

!
voice-port 0/0
 compand-type a-law
 cptone DE
 timeouts initial 60
 timeouts interdigit 60
 timeouts ringing infinity
!

To make sure T.38 is working correctly:

no mgcp fax t38 inhibit
mgcp package-capability fxr-package
mgcp default-package fxr-package

To spoof SG3 tones try:

mgcp fax-relay sg3-to-g3
!
mgcp fax-relay ans-disable

If the gatewa uses multiple interfaces bind MGCP to the right interface:

mgcp bind {control | media} source-interface interface-id