cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3168
Views
0
Helpful
11
Replies

unable to register mgcp gateway on cucm 7.x

EDDY MULDER
Level 1
Level 1

I am trying to to an very easy  job which i cant understand why it is not working

                  

On the router i have :

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

ccm-manager config server 192.168.120.XXX

ccm-manager config

!

mgcp

mgcp call-agent 192.168.120.XXX 2427 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode out-of-band

mgcp rtp unreachable timeout 1000 action notify

mgcp modem passthrough voip mode nse

mgcp package-capability rtp-package

mgcp package-capability sst-package

mgcp package-capability pre-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp validate domain-name

mgcp fax t38 inhibit

no mgcp explicit hookstate

!

mgcp profile default

when checking on the cli the following shown

vgw01#sh ccm-manager
MGCP Domain Name: vgw01.demuldriaan.org
Priority        Status                   Host
============================================================
Primary         Registering with CM      192.168.120.XXX
First Backup    None
Second Backup   None

Current active Call Manager:    None

on cucm:

cucm gw naming.png

please give me an hint what i should change to get the gateway on the cucm.

when debugging mgcp packet it reports code 500

vgw01#debug mgcp packet
Media Gateway Control Protocol packets debugging for all endpoints is on
vgw01#
000336: Oct 24 21:01:08: MGCP Packet sent to 192.168.120.200:2427--->
RSIP 448544066 *@vgw01.demuldriaan.org MGCP 0.1
RM: restart
<---

000337: Oct 24 21:01:08: MGCP Packet received from 192.168.120.200:2427--->
500 448544066
<---

This normally means that the naming is incorrect  but i cant see the name mismatch.

Message was edited by: EDDY MULDER added the mgcp debug packet output

11 Replies 11

Amine Nouasri
Level 3
Level 3

Would be easier to figure out the issue using a debug ccm-manager events. Please share the debug here.

Please rate helpful answers!

The output of debug ccm-manager events:

vgw01#
000952: Oct 24 21:51:41: cmapp_mgr_process_ev_active_host_failed: Active host 0 (192.168.120.xxx) failed
000953: Oct 24 21:51:41: cmapp_mgr_check_hostlist: Active host is 0 (192.168.120.xxx)
000954: Oct 24 21:51:41: cmapp_try_fallback(set_to_mode=ON)
000955: Oct 24 21:51:41: cmapp_shut_backhaul: backhaul link shutdown is not configured
000956: Oct 24 21:51:41: cmapp_try_fallback: fallback is already ON

000957: Oct 24 21:51:41: cmapp_host_fsm: Processing event REGISTRATION_NEEDED for host 0 (192.168.120.xxx) in state REGISTERING
000958: Oct 24 21:51:41: cmapp_mgcp_send_rsip: ip_addr=192.168.120.xxx port=2427 if_type=-1, slot=0,subunit=0 rst_type=3
000959: Oct 24 21:51:41: cmapp_start_host_tmr: Host 0 (192.168.120.xxx), tmr 0, duration 30000

vgw01(config)#
001778: Oct 24 22:09:41: cmapp_mgr_process_ev_active_host_failed: Active host 0 (192.168.120.xxx) failed
001779: Oct 24 22:09:41: cmapp_mgr_check_hostlist: Active host is 0 (192.168.120.xxx)
001780: Oct 24 22:09:41: cmapp_try_fallback(set_to_mode=ON)
001781: Oct 24 22:09:41: cmapp_shut_backhaul: backhaul link shutdown is not configured
001782: Oct 24 22:09:41: cmapp_try_fallback: fallback is already ON

001783: Oct 24 22:09:41: cmapp_host_fsm: Processing event REGISTRATION_NEEDED for host 0 (192.168.120.xxx) in state REGISTERING
001784: Oct 24 22:09:41: cmapp_mgcp_send_rsip: ip_addr=192.168.120.xxx port=2427 if_type=-1, slot=0,subunit=0 rst_type=3
001785: Oct 24 22:09:41: cmapp_start_host_tmr: Host 0 (192.168.120.xxx), tmr 0, duration 30000
001786: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcpapp_process_sys_msg(208):[lvl=0]MGCP sys msg: (EXTERNAL_EVENT)
001787: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/xlate_mgcp_sys_ev(69):[lvl=0]xlate sys msg: (EXTERNAL_EVENT, 4A0BC924)
001788: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcpapp_process_sys_msg(217):[lvl=0]sys msg values: (INVALID MGCP EVENT, 0,  , 3645, CALL_IDLE)
001789: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_handle_cmapp_event(441):[lvl=0]process
001790: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_cmapp_send_rsip(406):[lvl=1]Send-RSIP: Sending gw host is vgw01.demuldriaan.org, endpt is *
001791: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_root_get_profile(1905):[lvl=0]Entered
001792: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_send_rsip_msg(737):[lvl=0]Entered
001793: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/MGCP_NEDB_get_next_addr(1211):[lvl=1]
NOTIFY ENTITY = 192.168.120.xxx
next->192.168.120.xxx
     
001794: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_endpt_record_rsip(615):[lvl=0]Entered
001795: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_send_rsip_msg(882):[lvl=1]Manually recroding RSIP method
001796: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_endpt_record_rsip(615):[lvl=0]Entered
001797: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_enq_retx_rsip_msg(396):[lvl=0]Entered
001798: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_add_trans_id_rec(1170):[lvl=1]Add trans id (448544340, 4C5EB9B8) record
001799: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_stw_timer_start(393):[lvl=0]timer type 0, duration 500
001800: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_stw_timer_start(393):[lvl=0]timer type 15, duration 20000
001801: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_count_active_mgc_msg_stat(239):[lvl=1]MGC stat - 192.168.120.xxx, total=184, succ=3, failed=180
001802: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcpapp_process_mgcp_msg(3534):[lvl=0] :
001803: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_msg_ack(6876):[lvl=0]Entered
001804: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_count_active_mgc_msg_stat(239):[lvl=1]MGC stat - 192.168.120.xxx, total=184, succ=3, failed=181
001805: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_check_for_redirection(6737):[lvl=1]endpt * was not redirected
001806: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_msg_ack(6948):[lvl=1]Removing msg : RSIP 448544340 *@vgw01.demuldriaan.org MGCP 0.1
RM: restart

001807: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_msg_ack(7020):[lvl=0] Received ACK for RSIP, setting the restart method to NONE
001808: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_check_and_send_pending_rsip(2116):[lvl=0]Entered
001809: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcp_check_endpt_ext_and_free_rsip_info(3328):[lvl=0]Entered
001810: Oct 24 22:09:41: //-1/xxxxxxxxxxxx/MGCP/mgcpapp_process_socket(3645):[lvl=0]Entered

The following modules are installed.

vgw01#sh inv
NAME: "2821 chassis", DESCR: "2821 chassis"
PID: CISCO2821         , VID: V01 , SN:

NAME: "PVDMII DSP SIMM with four DSPs on Slot 0 SubSlot 4", DESCR: "PVDMII DSP SIMM with four DSPs"
PID: PVDM2-64          , VID: NA  , SN:

NAME: "High Density Analog Voice Network Module on Slot 1", DESCR: "High Density Analog Voice Network Module"
PID: NM-HD-2V          , VID: V01 , SN:

NAME: "2nd generation two port FXS voice interface daughtercard on Slot 1 SubSlot 0", DESCR: "2nd generation two port FXS voice interface daughtercard
"
PID: VIC2-2FXS         , VID: V01 , SN:

NAME: "Four port FXS DID voice interface daughtercard on Slot 1 SubSlot 1", DESCR: "Four port FXS DID voice interface daughtercard"
PID: VIC-4FXS/DID=     , VID: 3.1, SN:


vgw01#

Hi

1- Please check the cable which connected from your gateway to the LAN , maybe there is flapping.

2-On the your gateway , please add the below commands:-

mgcp bind media source-interface (name of interface )

mgcp bind control source-interface (name of interface )

no mgcp

mgcp

3-Try to register your gateway without domain name

  A-no ip domain name

  B-On CUCM , try to register without FQDN , just name of router.

  C-No mgcp , mgcp

Thank you

Please rate all useful information

Amine Nouasri
Level 3
Level 3

Looks like to me the GW is trying to register and times out. You sure about IP connectivity or firewall, access-lists maybe blocking MGCP packets?

Sent from Cisco Technical Support iPhone App

Keep in mind you need two ports open for this to be succesfull.

UDP 2427

TCP 2428

If one of this ports is blocked, the port will not register.

Hi Eddy,

can u try entering command ip host PUBLISHER HOSTNAME IPadress of PUB in router  and check?

like ip host CUCMPUB 10.1.1.1

If possible, please share the complete show run of router?

regds,

aman

amansin74
Level 1
Level 1

1. You should have your controllers up and configured on Router. Without this, it will not register.

2. You should have MGCP bind commands

Example:

mgcp bind control source loopback 0

mgcp bind media source loopback 0

3. Give the command again:

no mgcp

mgcp call-agent 192.168.120.XXX 2427 service-type mgcp version 0.1

mgcp

4. Please try above commands suggested by amanso

5. On CUCM most important is to configure Controllers correctly.

Check: show inventory

and verify you have added the right controllers. It is the Controller ports that gets registered to CUCM not the whole router.

--

Aman

“If you have knowledge, let others light their candles in it.”

“If you have knowledge, let others light their candles in it.”

Hi Aman,

Initially I was also thinking of Controllers being UP but the show inventory posted by Eddy does not have any E1 cards.

regds,

aman

Hi Aman & Eddy,

Without any FXO , FXS or T1/E1 port, Router will not register as MGCP gateway in CUCM.

There is no way to use MGCP without t1e1 or analog ports.

MGCP protocol controls the controller ports not the router.

You can make a H323 Gateway or SIP Trunk VoIP dial-peers.

Would like to know what is the requirement of a voice gateway here.

--

Aman

“If you have knowledge, let others light their candles in it.”

“If you have knowledge, let others light their candles in it.”

I AM bouncing my head against a solid brick wall as THE solution is so simpel,and mentioned in an other Thread.

"Configure THE fxs port on THE gateway config on THE call-manager".

For sure i Will not forgot this anymore....

NeXT step is to get vic2-2fxo interface so i can connect a normal pstn line to it.

Regards

Eddy

Hey Eddy,

It's a very common issue that the GW will show unregistered to CUCM if the T1/E1 card is connected but not up. As mentioned before you need to have some type of active voice card for the GW to be registered,