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.
CUCM1.cisco.com ---------> VoiceGateway (SITEA.cisco.com)
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.
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
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
option 150 ip 10.1.250.5
ip domain name cisco.com
ip name-server 10.1.90.5
ip ips po max-events 100
no ftp-server write-enable
dsp services dspfarm
ccm-manager config server 10.1.251.5
ip address 192.168.0.101 255.255.255.0
ip address 192.168.101.101 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.0.100
ip http server
no ip http secure-server
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 ccm group 1
associate ccm 1 priority 1
associate profile 1 register CONF_B
dial-peer voice 1 pots
dial-peer voice 2 pots
line con 0
line aux 0
line vty 0 4
exec-timeout 0 0
line vty 5 15
exec-timeout 0 0
scheduler allocate 20000 1000
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
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
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.
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.
*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
*Nov 22 22:52:57.703: MGCP Packet received from 10.1.251.5:2427-
*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
*Nov 22 22:52:59.195: MGCP Packet received from 10.1.251.5:2427-
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.
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.
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!
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.
Thanks for the reply!
No dice though,
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
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)
*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
*Nov 22 22:59:52.083: MGCP Packet received from 10.1.251.5:2427-
*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
*Nov 22 22:59:54.215: MGCP Packet received from 10.1.251.5:2427-
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.
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
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.