Añadir un MGCP Gateway a CUCM

MGCP es un protocolo de señalización en VOIP. Es del tipo cliente/servidor. Vamos a ver la configuración de un Gateway esclavo, en este caso un Cisco 2801 en CUCM.

Ingredientes para esta receta:

1 CUCM virtualizado en un PC con VMware.
1 Router Cisco 2801 con Cisco IOS Software, 2801 Software (C2801-ADVIPSERVICESK9-M), Version 15.1(3)T, RELEASE SOFTWARE (fc1)
2 recursos DSP: 2 módulos PVDM que proporcionan 16 canales cada uno.
1 tarjeta VWIC-2MFT-T1

CUCM:

Cisco Unified CM Administracion > Device > Gateway y añadimos nuevo.

gw_mgcp1

Elegimos el router Cisco 2801, protocolo MGCP, como Domain Name el hostname del Cisco 2801. Módulo, en mi caso el router tiene una tarjeta VWIC-2MFT-T1 en el slot 3.

 

gw_mgcp2

Global ISDN Switch Type: NI2

gw_mgcp3

Device Protocol: Digital Access PRI

gw_mgcp4

Marca Enable Status Poll.

gw_mgcp5

Significant Digits: 4 en mi caso.

Calling Party Presentation: Allowed

gw_mgcp6

Marca Display IE Delivery.

gw_mgcp7

gw_mgcp8

 

En router Cisco 2801:

Router#configure terminal
Router(config)#hostname GW1
GW1(config)#end
GW1#show ip interface brief
FastEthernet0/0 10.10.0.3 YES manual up up

GW1#show controller t1
T1 0/3/0 is down.

GW1#configure terminal
GW1(config)#isdn switch-type primary-ni
GW1(config)#network-clock-participate wic 3
GW1(config)#ccm-manager config server 10.10.0.11
GW1(config)#ccm-manager config

The MGCP process is currently active.

Interface 0/3/0:23(1), changed state to up
Interface 0/3/0:23(2), changed state to up
Interface 0/3/0:23(3), changed state to up
Interface 0/3/0:23(4), changed state to up
Interface 0/3/0:23(5), changed state to up
Interface 0/3/0:23(6), changed state to up
Interface 0/3/0:23(7), changed state to up
Interface 0/3/0:23(8), changed state to up
Interface 0/3/0:23(9), changed state to up
Interface 0/3/0:23(10), changed state to up
Interface 0/3/0:23(11), changed state to up
Interface 0/3/0:23(12), changed state to up
Interface 0/3/0:23(13), changed state to up
Interface 0/3/0:23(14), changed state to up
Interface 0/3/0:23(15), changed state to up
Interface 0/3/0:23(16), changed state to up
Interface 0/3/0:23(17), changed state to up
Interface 0/3/0:23(18), changed state to up
Interface 0/3/0:23(19), changed state to up
Interface 0/3/0:23(20), changed state to up
Interface 0/3/0:23(21), changed state to up
Interface 0/3/0:23(22), changed state to up
Interface 0/3/0:23(23), changed state to up

GW1#show ccm-manager
MGCP Domain Name: GW1
Priority Status Host
============================================================
Primary Domain Name Unresolvable CUCMLABORATORIO
First Backup None
Second Backup None
Current active Call Manager: None    (Esto es un error. Para solucionarlo mirad el link de bajo. Estamos utilizando el nombre del Call Manager en vez de la IP)
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 19:09:46 UTC Feb 17 2015 (elapsed time: 00:26:54)
Last MGCP traffic time: 19:35:36 UTC Feb 17 2015 (elapsed time: 00:01:04)
Last failover time: None
Last switchback time: None
Switchback mode: Graceful
MGCP Fallback mode: Not Selected
Last MGCP Fallback start time: None
Last MGCP Fallback end time: None
MGCP Download Tones: Disabled
TFTP retry count to shut Ports: 2
Backhaul/Redundant link is down
Configuration Auto-Download Information
=======================================
Current version-id: 1424201248-38f90bfe-5e97-47c3-ab52-a20f7d06a85f
Last config-downloaded:00:00:00
Current state: Waiting for commands
Configuration Download statistics:
Download Attempted : 1
Download Successful : 1
Download Failed : 0
TFTP Download Failed : 0
Configuration Attempted : 1
Configuration Successful : 1
Configuration Failed(Parsing): 0
Configuration Failed(config) : 0
Last config download command: New Registration
FAX mode: disable
Configuration Error History:

GW1#show voice port summary
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
=============== == ============ ===== ==== ======== ======== ==
0/3/0:23 01 xcc-voice up down none none y
0/3/0:23 02 xcc-voice up down none none y
0/3/0:23 03 xcc-voice up down none none y
0/3/0:23 04 xcc-voice up down none none y
0/3/0:23 05 xcc-voice up down none none y
0/3/0:23 06 xcc-voice up down none none y
0/3/0:23 07 xcc-voice up down none none y
0/3/0:23 08 xcc-voice up down none none y
0/3/0:23 09 xcc-voice up down none none y
0/3/0:23 10 xcc-voice up down none none y
0/3/0:23 11 xcc-voice up down none none y
0/3/0:23 12 xcc-voice up down none none y
0/3/0:23 13 xcc-voice up down none none y
0/3/0:23 14 xcc-voice up down none none y
0/3/0:23 15 xcc-voice up down none none y
0/3/0:23 16 xcc-voice up down none none y
0/3/0:23 17 xcc-voice up down none none y
0/3/0:23 18 xcc-voice up down none none y
0/3/0:23 19 xcc-voice up down none none y
0/3/0:23 20 xcc-voice up down none none y
0/3/0:23 21 xcc-voice up down none none y
0/3/0:23 22 xcc-voice up down none none y
0/3/0:23 23 xcc-voice up down none none y

PWR FAILOVER PORT PSTN FAILOVER PORT
================= ==================

GW1#

Link de ayuda:
MGCP Gateway Integration with CUCM and PSTN Service Provider

Para solucionar el error:
Domain Name Unresolvable

Un buen link:

MGCP Gateway Setup

 

Solucionando el error:

GW1#configure terminal
GW1(config)#mgcp
The MGCP process is currently active.
It must be disabled with ‘no mgcp’ before restarting.
GW1(config)#no mgcp
WARNING: no mgcp: Teardown MGCP application may take a while to clean up resources
GW1(config)#

MGCP_SHUTDOWN_COMPLETE: MGCP Shutdown has completed

 

GW1(config)#mgcp call-agent 10.10.0.11 2427 service-type mgcp version 0.1
GW1(config)#mgcp
GW1(config)#
Loading GW1.cnf.xml from 10.10.0.11 (via FastEthernet0/0): !
[OK – 4782 bytes]

GW1#show ccm-manager
MGCP Domain Name: GW1
Priority Status Host
============================================================
Primary Registered 10.10.0.11
First Backup None
Second Backup None

Current active Call Manager: 10.10.0.11
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 09:11:44 UTC Feb 19 2015 (elapsed time: 00:00:13)
Last MGCP traffic time: 09:11:44 UTC Feb 19 2015 (elapsed time: 00:00:13)
Last failover time: None
Last switchback time: None
Switchback mode: Graceful
MGCP Fallback mode: Not Selected
Last MGCP Fallback start time: None
Last MGCP Fallback end time: None
MGCP Download Tones: Disabled
TFTP retry count to shut Ports: 2

Backhaul Link info:
Link Protocol: TCP
Remote Port Number: 2428
Remote IP Address: 10.10.0.11
Current Link State: OPEN
Statistics:
Packets recvd: 2
Recv failures: 0
Packets xmitted: 2
Xmit failures: 0
PRI Ports being backhauled:
Slot 0, VIC 3, port 0
Configuration Auto-Download Information
=======================================
Current version-id: 1424201248-38f90bfe-5e97-47c3-ab52-a20f7d06a85f
Last config-downloaded:00:00:00
Current state: Waiting for commands
Configuration Download statistics:
Download Attempted : 2
Download Successful : 2
Download Failed : 0
TFTP Download Failed : 3
Configuration Attempted : 1
Configuration Successful : 1
Configuration Failed(Parsing): 0
Configuration Failed(config) : 0
Last config download command: New Registration
FAX mode: disable
Configuration Error History:
GW1#

GW1#show mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE – Cause Code NONE
MGCP call-agent: 10.10.0.11 2427 Initial protocol service is MGCP 0.1
MGCP validate call-agent source-ipaddr DISABLED
MGCP validate domain name DISABLED
….

 

Comments are closed.