11-07-2014 04:23 PM - edited 03-17-2019 12:51 AM
Hi guys
I have been racking my brain trying to understand why my MGCP lab is not functioning and throwing the error "500" MGCP Endpoint is unknown.
I will try to be a detailed as possible. I do not believe this is a domain name issue, and have read 100's of articles and rebooted 20 times everything.
LAB Setup
CUCM1.cisco.com ---------> VoiceGateway (SITEA.cisco.com)
10.1.251.5 192.168.0.101
1. Is DNS + IP connectivity functioning properly = Yes
2. Is the WIC card placed correctly? = Yes
3. Is the endpoint subscribed? = Yes
4. Why are you stuck registering MR MGCP? You can also see the domain name here for the gateway
5. Lets check the domain name on the CUCM1 Server = Fine
6. Here is the config of the Router if anyone needs to take a look.
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SITEA
!
boot-start-marker
boot-end-marker
!
!
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
!
!
ip cef
ip dhcp excluded-address 192.168.101.101
ip dhcp excluded-address 192.168.101.1
ip dhcp excluded-address 192.168.101.5
ip dhcp excluded-address 192.168.101.10
!
ip dhcp pool VOICE_VLAN101
network 192.168.101.0 255.255.255.0
default-router 192.168.101.101
option 150 ip 10.1.250.5
domain-name wr
!
!
ip domain name cisco.com
ip name-server 10.1.90.5
ip ips po max-events 100
no ftp-server write-enable
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 10.1.251.5
ccm-manager config
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description DMZ_MGT
ip address 192.168.0.101 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
description POE_SWITCH
ip address 192.168.101.101 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.100
!
ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
mgcp
mgcp call-agent CUCM1.cisco.com 2427 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000 action notify
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
sccp local FastEthernet0/0
sccp ccm 10.1.250.5 identifier 1 version 4.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register CONF_B
!
!
dial-peer voice 1 pots
application mgcpapp
port 0/0/0
!
dial-peer voice 2 pots
application mgpapp
port 0/0/1
!
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 0 0
login local
line vty 5 15
exec-timeout 0 0
login local
!
scheduler allocate 20000 1000
!
end
7. Lets take a look at wireshark and inspect the packets. I found the debug mgcp to be of limited information
Any suggestions? I am totally tapped out of idea's.
The website threw and error when I tried to use the correct category, Im sure this post will get moved.
Thanks in advance
11-09-2014 03:55 AM
Looks like a discrepancy between your current config and state of respective MGCP processes.
Have you tried to cycle them?
no mgcp & mgcp
next restart the gateway from CCMAdmin
11-21-2014 01:37 PM
Sorry for the late reply, been AFK.
Yes, I have power cycled all the equipment at least 20 times now.
Ran the command "No mgcp", over 50 times when tweaking MGCP values forcing a restart.
Thanks for replying though.
11-21-2014 02:31 PM
Have you tried a "debug mgcp packets" yet? Just curious as to see what the gateway is throwing back.
11-22-2014 02:05 PM
Yes, The logging does not show myself anything additional. I can just see error 500's coming back, The same that I see in wireshark. Googling reveals little answers.
SITEA(config)#mgcp
SITEA(config)#
*Nov 22 22:52:57.699: send_mgcp_msg, MGCP Packet sent to 10.1.251.5:2427 --->
*Nov 22 22:52:57.699: RSIP 2 *@SITEA.cisco.com MGCP 0.1
RM: restart
<---
*Nov 22 22:52:57.703: MGCP Packet received from 10.1.251.5:2427-
500 2
*Nov 22 22:52:59.195: send_mgcp_msg, MGCP Packet sent to 10.1.251.5:2427 --->
*Nov 22 22:52:59.195: RSIP 1 *@SITEA.cisco.com MGCP 0.1
RM: restart
<---
*Nov 22 22:52:59.195: MGCP Packet received from 10.1.251.5:2427-
500 1
11-22-2014 05:34 PM
Ok this might sound really stupid but are those FXS ports actually up i.e. dormant onhook? I don't see them anywhere in the config....
EDIT: Nevermind I see the voice-ports there now. Try shutting no shutting them.
11-22-2014 05:47 PM
hmm... EDIT EDIT EDIT lol...part of me not being in the game today. I keep going back to check your configs and finding you did it already. I read something about mgcpapp needing to be in caps o some IOS's, might give that a whirl.
11-22-2014 09:03 PM
I inputted them in CAPS, on both my 2811's running different IOS versions as a testing measure.
The IOS config, auto-converts MGCPAPP back to lower case.
Thanks for taking the time to respond!
11-22-2014 09:23 PM
Well, the last thing you could try would be to swap the slot number with another.
11-25-2014 10:54 PM
Thanks for replying,
I have already tried them in my second 2811 in another slot.
Second 2811 produced the same Endpoint Unknown 500 Error.
A Second CUCM server was also created, to determine if the CUCM was corrupt. Second subscriber CUCM Server had the same issue.
11-21-2014 02:00 PM
Calem, try to shutdown SCCP protocol by issuing ( no sccp ) command. and restart the device.
Saif Musa
11-22-2014 02:12 PM
Thanks for the reply!
No dice though,
SITEA(config)#no sccp
SITEA(config)#do wr
Building configuration...
[OK]
SITEA(config)#do reload
SITEA#show ccm-manager
MGCP Domain Name: SITEA.cisco.com
Priority Status Host
============================================================
Primary Registering with CM CUCM1.cisco.com (10.1.251.5)
First Backup None
Second Backup None
Current active Call Manager: None
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 22:56:49 UTC Nov 22 2014 (elapsed time: 00:02:15)
Last MGCP traffic time: 22:58:49 UTC Nov 22 2014 (elapsed time: 00:00:16)
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
Configuration Auto-Download Information
=======================================
Current version-id: 1415438870-bed34ef4-70d1-4ead-b367-a087d60c00f4
Last config-downloaded:00:01:33
Current state: Waiting for commands
Configuration Download statistics:
Download Attempted : 1
Download Successful : 1
Download Failed : 0
Configuration Attempted : 1
Configuration Successful : 1
Configuration Failed(Parsing): 0
Configuration Failed(config) : 0
Last config download command: New Registration
Configuration Error History:
FAX mode: cisco
I am still getting error 500 (Resets)
SITEA(config)#mgcp
SITEA(config)#
*Nov 22 22:59:52.079: send_mgcp_msg, MGCP Packet sent to 10.1.251.5:2427 --->
*Nov 22 22:59:52.079: RSIP 2 *@SITEA.cisco.com MGCP 0.1
RM: restart
<---
*Nov 22 22:59:52.083: MGCP Packet received from 10.1.251.5:2427-
500 2
*Nov 22 22:59:54.215: send_mgcp_msg, MGCP Packet sent to 10.1.251.5:2427 --->
*Nov 22 22:59:54.215: RSIP 1 *@SITEA.cisco.com MGCP 0.1
RM: restart
<---
*Nov 22 22:59:54.215: MGCP Packet received from 10.1.251.5:2427-
500 1
11-26-2014 04:11 AM
Hello
Can you try binding the MGCP with its source interface and try.
mgcp bind media source-interface XX
mgcp bind controll source-interface xx
thereafter please provide the show ccm-manager output and also show ccm host output.
11-26-2014 09:46 PM
Thanks for replying.
Those commands have already been tried unsuccessfully.
They do not appear in the above configuration, because I stripped off every single MGCP command originally typed and followed the Jeremy Ciaroa CBT Nugget.
Both failed with the same result
12-14-2014 03:17 PM
Replying back, with the solution. It is now working.
The ports under MGCP need to be configured BEFORE it can register. I was thrown off by the IP address unknown under Device -> Gateway.
Without configuring the ports it does not appear register at all and throws a 500 Error message.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: