03-01-2005 12:27 AM - edited 03-13-2019 08:11 AM
Hi,
I am trying to install CCM v4.0(1). Now within the Firewall, at the LAN, my IP Phones are working. However, I cannot call out to the PSTN.
My gateway is a Cisco2611XM. When I do
sh ccm-manager, it displayed as below
TWG2651#sh ccm-manager
MGCP Domain Name: TWG2651
Priority Status Host
============================================================
Primary Backup Ready 172.16.28.102
First Backup Registering with CM 172.16.28.101
Second Backup None
Current active Call Manager: None
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 08:00:00 MALAYSIA Mar 1 1993 (elapsed time: 00:46:42)
Last MGCP traffic time: 08:00:20 MALAYSIA Mar 1 1993 (elapsed time: 00:46:22)
Last failover time: 08:46:20 MALAYSIA Mar 1 1993 from (172.16.28.102)
Last switchback time: 08:45:50 MALAYSIA Mar 1 1993 from (172.16.28.101)
Switchback mode: Graceful
MGCP Fallback mode: Enabled/OFF
Last MGCP Fallback start time: None
Last MGCP Fallback end time: None
Configuration Auto-Download Information
=======================================
No configurations downloaded
Current state: Downloading XML file
Configuration Download statistics:
Download Attempted : 1
Download Successful : 0
Download Failed : 0
Configuration Attempted : 0
Configuration Successful : 0
Configuration Failed(Parsing): 0
Configuration Failed(config) : 0
Last config download command:
Configuration Error History:
FAX mode: cisco
Therefore, would it be my NTP settings at the gateway is incorrect?
And what is the correct setting if it's something to do with NTP settings.
Rgds
03-01-2005 06:57 AM
What is the status in the CCM for the GW? Reason I ask is this "Current state: Downloading XML file". It appears that the GW is reregistering or trying to register.
Can you post the show run from the GW & a screen print of the GW config in the CCM?
Mike Lay
03-01-2005 11:07 AM
try restarting the MGCP, by "no mgcp" and then by "mgcp"
03-01-2005 01:24 PM
When you added the MGCP gateway to Callmanger, did you ensure that the MGCP Domain Name allocated to the endpoint matches the hostname and domain name that configured on the router.
From the show ccm-callmanager it would appear that your router is configured with the domain name TWG2651, is this the MGCP domain name created in CallManager.
It would appear the gateway has failed to register with CallManager, the backhaul has not established hence fail calls.
Verify that the file TWG2651.cnf.xml has been added to the publisher TFTP path found at c:\program files\cisco\tftp. You may have to disable caching on the TFTP service parameters to be able to view all files.
If this file does not exist, then this is a large part of the problem, and consequently the gateway is unable to download the xml file.
Have you configured the appropriate MGCP commands on the gateway:
ccm-manager mgcp
ccm-manager config server
ccm-manager config
If you have the above in your configuration, you can attempt to force a config download by running the following command:
ccm-manager config-download check-configuration reset.
03-01-2005 01:35 PM
Hi,
Can you please post your configuration?
(at least the lines with ccm-manager, mgcp and dial-peer)
And check if your CallManager config is ok, domain name, module, port.
rgrds
03-01-2005 08:21 PM
Hi I am replying on behalf of chewshk@my.ibm.com
Printscreens of the gateway config on CM
[url=http://img51.exs.cx/my.php?loc=img51ℑ=gwconfig8kj.jpg][img=http://img51.exs.cx/img51/5838/gwconfig8kj.th.jpg][/url]
[url=http://img26.exs.cx/my.php?loc=img26ℑ=gwconfig25er.jpg][img=http://img26.exs.cx/img26/8163/gwconfig25er.th.jpg][/url]
CM publisher IP : 172.16.28.101
CM subscriber IP : 172.16.28.102
Here's the sh run on the gateway
no voice hpi capture buffer
no voice hpi capture destination
!
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 172.16.28.101
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 172.16.28.101
ccm-manager config
mta receive maximum-recipients 0
!
!
controller E1 0/2
framing NO-CRC4
pri-group timeslots 1-31 service mgcp
description ISDN PRI Gateway
!
voice-port 0/2:15
!
mgcp
mgcp call-agent 172.16.28.102 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 package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1 pots
application mgcpapp
port 0/2:15
--More--
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1 pots
application mgcpapp
port 0/2:15
!
!
03-02-2005 07:56 AM
status is not registered.
do you have a domain name configured on your router????
If so, add it to the name of the MGCP gateway (on the MGCP configuration area on CallManager). This would be in the area where you currently have the gateway name as "TWG2651". Replace it with the full domain name.
I'm assuming you have a command on the router as such... "ip domain-name whatever.com"
Your gateway's name is TWG2651.
If you have configured the domain name as whatever.com.
Then the proper domain name of the MGCP gateway should be "TGW2651.whatever.com".
If you don't do this, it won't register properly.
hope this helps.
Paul
03-02-2005 09:01 AM
I have tried configuring the domain name on the router and also in the configuration area on CallManager. It still does not work.
Any idea why CM cannot grab the IP address of the gateway?
Is the mgcp config on the router & CM correct?
03-02-2005 09:26 AM
Have you looked at my previous post ? Have you verified the aspects that I mentioned ?
Thanks
Allan.
03-03-2005 01:29 PM
CallManager does not "grab" the ip address of the gateway. Actually the gateway registers with callmanager.
Paul
03-02-2005 11:28 AM
Hi,
You mentioned a firewall, is that between the gateway and the callmanager?
You need TCP2427 and UDP2428 open for signalling
And run these debugs:
debug ccm-manager config-download all
debug ccm-manager backhaul events
debug ccm-manager errors
debug ccm-manager events
debug mgcp parser
debug mgcp errors
then do a no mgcp followed by mgcp
Maybe you can find useful information in it!
good luck
03-02-2005 07:26 PM
Hi
I would like to know if by enabling
fixup protocol mgcp 2427
fixup protocol mgcp 2428
in the firewall have similar effect?
Rgds
03-02-2005 07:30 PM
Hi,
Thanks. I actually enabled "ALL" inside-outside and "ALL" outside-inside just for the testing purposes. However, it still doesn't work.
But the funny thing is, when I did the above, especially when I enable ALL UDP, my link from the internal network to the Router's fa0/0 (after the PIX) will have a intermittent down and up time.
I will enable these ports only for now. Do I need to enable it for outside-to-inside also?
What about the NAT? To use same ip address, or is a static NAT necessary?
Is NTP on the router any influence on this?
Rgds
Simon
03-03-2005 11:45 AM
..you're not NAT-ing right????
NTP is not influencing anything,
only handy for your debug timestamps..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide