05-18-2008 02:45 AM - edited 03-18-2019 08:57 PM
Hello, i'm having problems registering a Cisco 2811 Gateway with a VWIC2-1MFT-E1 interface card with Cisco CallManager 4.3.
The error displayed when debugging mgcp is the following:
//-1/xxxxxxxxxxxx/MGCP/mgcp_mp_get_not_entity(828):[lvl=2]
Invalid parameter (pkt 0x4708C5E8 pkt->mgcp_parm_lines 0x00000000)
I configured mgcp by the following:
mgcp
mgcp call-agent VOIPSVR1 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 restart-delay 300
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp validate call-agent source-ipaddr
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
!
dial-peer voice 100 pots
service mgcpapp
direct-inward-dial
port 0/0/0:15
Previously, the gateway downloaded xml config files from the Cisco CallManager without problems and, in addition, when trying to add a Route Group (in the CallManager) this Gateway does not appear
in the list of Available Devices although
I have added it through the Device->Gateway Menu.
Need some advice and help. Thank you in advance.
05-18-2008 10:24 AM
have you tried just deleting and re-adding the GW in the CUCM?
or a no mgcp / mgcp in the GW?
if the GW does not show up is most probably because the GW is already being used in a route pattern or a route group.
HTH
javalenc
if this helps, please rate
05-18-2008 11:12 AM
Yes, I've tried to re-add it several times, while rebooting the GW, and/or disabling and enabling mgcp in the same GW.
Relating to the addition of the GW to a Route Group, the CUCM is recently installed and haven't added any GW yet.
I don't know if the trouble comes from the GW or CUCM config (or both) but the result got by #show ccm-manager is:
Current Active Call Manager: None
Although Primary and Backup servers are detected (but changing the status between registering and backup ready)
05-18-2008 12:14 PM
You said
Although Primary and Backup servers are detected (but changing the status between registering and backup ready)
This means you have an issue with your bindings..check your bindings
Cesar Fiestas
05-18-2008 12:23 PM
Also try replacing VOIPSVR1 for the actual ip address of callmanager
mgcp call-agent VOIPSVR1 2427 service-type mgcp version 0.1.
Also in your VG check your configuration of the command ip domain name, does it match what you have in ccm ?, is this the correct domain name?
Also check your vg details in callmanager
meaning that in normal circunstances you will have in your gateway details in ccm.
[your vg hostname].[domain name]
try removing the [domain name] and just leave the vg host name and reset the gateway from ccm.
hope this tips helps
Cesar Fiestas
05-18-2008 05:37 PM
can you post the whole config??
do you have the isdn bind-l3 ccm-manager command?
if you do a sh isdn status what does it show for layer 2 and 3?
HTH
javalenc
if this helps, please rate
05-19-2008 02:06 AM
Ok, here you have it.
I finally reconfigured the GW to include isdn bind-l3 ccm-manager command but I've got the same results. Firstly I've use #service MGCPAPP at dial-peer config, and I removed it afterwards because I read that in Cisco IOS 12.3 and later, we should not include that under dial-peers for ISDN interfaces that will use backhaul.
On the other hand, I've checked the system name resolution pinging from Call Manager Servers and from the GW to host names as well as FQDN names. Everyting went OK.
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname prigw
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
enable password cisco
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 0
!
!
ip cef
!
!
ip domain name necomvoip.local
!
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
controller E1 0/0/0
pri-group timeslots 1-31 service mgcp
!
!
!
!
interface FastEthernet0/0
ip address
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0:15
!
ccm-manager redundant-host VOIPSVR2
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server VOIPSVR1
ccm-manager config
!
mgcp
mgcp call-agent VOIPSVR1 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
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp validate call-agent source-ipaddr
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
!
dial-peer voice 100 pots
port 0/0/0:15
!
!
!
!
!
end
I'll show you the #debug ccm-manager errors in the next post
05-19-2008 02:15 AM
#debug-ccm-manager events
**************************
*May 19 10:11:31.843: cmapp_mgr_process_ev_active_host_failed: Active host 0 (192.168.10.200) failed
*May 19 10:11:31.843: cmapp_mgr_check_hostlist: Active host is 0 (192.168.10.200)
*May 19 10:11:31.843: cmapp_mgr_switchover: New actv host will be 1 (192.168.10.201)
*May 19 10:11:31.843: cmapp_host_fsm: Processing event GO_STANDBY for host 0 (192.168.10.200) in state REGISTERING
*May 19 10:11:31.843: cmapp_stop_host_tmr: for host 0 (192.168.10.200)
*May 19 10:11:31.843: cmapp_mgcp_send_rsip: ip_addr=192.168.10.200 port=2427 if_type=-1, slot=0,subunit=0 rst_type=1
*May 19 10:11:31.843: cmapp_start_host_tmr: Host 0 (192.168.10.200), tmr 0, duration 15000
*May 19 10:11:31.843: cmapp_open_new_link: Open link for [0]:192.168.10.200
*May 19 10:11:31.843: cmbh_open_tcp_link: Opening TCP link with Rem IP 192.168.10.200, Local IP 192.168.10.254, port 2428
*May 19 10:11:31.843: cmapp_open_new_link: Open initiated OK: Host 0 (192.168.10.200), session_id=46871158
*May 19 10:11:31.843: cmapp_host_fsm: New state STANDBY_OPENING for host 0 (192.168.10.200)
*May 19 10:11:31.843: cmapp_host_fsm: Processing event GO_ACTIVE for host 1 (192.168.10.201) in state STANDBY_READY
*May 19 10:11:31.843: cmapp_mgr_send_rehome: new addr=192.168.10.201,port=2427
*May 19 10:11:31.843: cmapp_host_fsm: New state REGISTERING for host 1 (192.168.10.201)
*May 19 10:11:31.843: cmapp_try_fallback(set_to_mode=ON)
*May 19 10:11:31.843: cmapp_shut_backhaul: backhaul link shutdown is not configured
*May 19 10:11:31.843: cmapp_try_fallback: fallback is not configured
*May 19 10:11:31.847: cmapp_host_fsm: Processing event REGISTRATION_NEEDED for host 1 (192.168.10.201) in state REGISTERING
*May 19 10:11:31.847: cmapp_mgcp_send_rsip: ip_addr=192.168.10.201 port=2427 if_type=-1, slot=0,subunit=0 rst_type=3
*May 19 10:11:31.847: cmapp_start_host_tmr: Host 1 (192.168.10.201), tmr 1, duration 30000
*May 19 10:11:31.851: cmbh_tcp_open_ind: TCP open succeeded for 192.168.10.200,calling callback.
*May 19 10:11:31.855: cmapp_host_fsm: Processing event CONN_OPEN for host 0 (19.168.10.200) in state STANDBY_OPENING
*May 19 10:11:31.855: cmapp_stop_host_tmr: for host 0 (192.168.10.200)
*May 19 10:11:31.855: cmapp_host_fsm: New state STANDBY_READY for host 0 (192.168.10.200)
*May 19 10:11:31.855: cmapp_mgr_process_event: Host 0 (192.168.10.200) is standby ready
*May 19 10:11:31.855: cmapp_mgr_check_hostlist: Active host is 1 (192.168.10.201)
*May 19 10:12:01.847: cmapp_mgr_process_ev_active_host_failed: Active host 1 (192.168.10.201) failed
*May 19 10:12:01.847: cmapp_host_fsm: Processing event GO_DOWN for host 1 (192.168.10.201) in state REGISTERING
*May 19 10:12:01.847: cmapp_stop_host_tmr: for host 1 (192.168.10.201)
*May 19 10:12:01.847: cmapp_mgr_send_rehome: new addr=0.0.0.0,port=2427
*May 19 10:12:01.847: cmapp_mgcp_send_rsip: ip_addr=192.168.10.201 port=2427 if_type=-1, slot=0,subunit=0 rst_type=2
*May 19 10:12:01.847: cmapp_mgcpapp_go_down: Setting mgc status to NO_RESPONSE
*May 19 10:12:01.847: cmapp_host_fsm: New state DOWN for host 1 (192.168.10.201)
*May 19 10:12:01.847: cmapp_mgr_check_hostlist: Active host is 1 (192.168.10.201)
*May 19 10:12:01.847: cmapp_mgr_switchover: New actv host will be 0 (192.168.10.200)
*May 19 10:12:01.847: cmapp_host_fsm: Processing event GO_STANDBY for host 1 (192.168.10.201) in state DOWN
*May 19 10:12:01.847: cmapp_start_host_tmr: Host 1 (192.168.10.201), tmr 0, duration 15000
*May 19 10:12:01.847: cmapp_open_new_link: Open link for [1]:192.168.10.201
*May 19 10:12:01.847: cmbh_open_tcp_link: Opening TCP link with Rem IP 192.168.10.201, Local IP 192.168.10.254, port 2428
*May 19 10:12:01.847: cmapp_open_new_link: Open initiated OK: Host 1 (192.168.10.201), session_id=46870F28
05-19-2008 03:36 AM
is this the actual config on the gw???
controller E1 0/0/0
pri-group timeslots 1-31 service mgcp
if so, you're lacking configuration i don't even think the E1 is up
you lack the framing, the linecode, clock source
do a sh isdn status, if you see at layer 2 TEI_UNASSIGNED or something else other than MULTIPLE_FRAME_ESTABLISHED i'd recommend you to call your telco so they can give you those parameters. if your E1 is not even up it will never register
HTH
javalenc
if this helps, please rate
05-19-2008 05:41 AM
Althoug those parameters do not appear I specified them on CLI GW but It's true that isdn is not up. Here you have some config summaries,
prigw#show controller e1
E1 0/0/0 is up.
Applique type is Channelized E1 - balanced
No alarms detected.
alarm-trigger is not set
Version info Firmware: 20060711, FPGA: 13, spm_count = 0
Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.
CRC Threshold is 320. Reported from firmware is 320.
Data in current interval (439 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
10 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
10 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Total Data (last 5 15 minute intervals):
0 Line Code Violations, 0 Path Code Violations,
108 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
108 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
prigw#show isdn status
Global ISDN Switchtype = primary-net5
%Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 1. Layer 3 output may not apply
ISDN Serial0/0/0:15 interface
dsl 1, interface ISDN Switchtype = primary-net5
L2 Protocol = Q.921 0x0000 L3 Protocol(s) = CCM MANAGER 0x0003
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 1 CCBs = 0
The Free Channel Mask: 0xFFFF7FFF
Number of L2 Discards = 0, L2 Session ID = 8
Total Allocated ISDN CCBs = 0
As you can see isdn status at layer 2 is in state TEI_UNASSIGNED. I specified #frame crc4 #linecode hdb3 and #clock source line.
It could be a telco issue or is most probably a GW config mistake?
05-19-2008 05:50 AM
actually it could be any of those, the GW should take the commands and it's not taking them.
try shutting down the controller and voice-port and add the config again. then do a no shut on it to see if that way the config takes
HTH
javalenc
if this helps, please rate
05-19-2008 06:11 AM
Well the fact that your E1 is not up could be there reason why you were having issues with your callmanager and the gateway, although I think your issues are related to the configuration of your controller.
Do a debug isdn q921 then term mon
and see if you are getting a RX back from your provider
05-19-2008 06:25 AM
Try the following
ccm-manager fallback-mgcp
ccm-manager redundant-host VOIPSVR2
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config
mgcp
mgcp call-agent VOIPSVR1 2427 service-type mgcp version 0.1
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 package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax rate 14400
no mgcp fax t38 ecm
mgcp fax t38 inhibit
no mgcp fax-relay sg3-to-g3
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface GigabitEthernet0/0
mgcp bind media source-interface GigabitEthernet0/0
also according to your config your ip domain name is necomvoip.local..
so in call manager you should have
prigw.necomvoip.local right?
if you have it like that and its not working change it to just to prigw at the callmanager.
also..your gateway will not show registred with callmanager until your PRI is up.
05-20-2008 01:41 AM
At last, I got the Primary link state MULTIPLE_FRAME_ESTABLISHED but gateway keeps without completily registering against CCM.
The current running config is:
Current configuration : 1803 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname prigw
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
enable password cisco
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 0
!
ip cef
!
ip domain name necomvoip.local
ip name-server
!
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!
voice service pots
!
controller E1 0/0/0
pri-group timeslots 1-31
!
interface FastEthernet0/0
ip address
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
ip http server
no ip http secure-server
!
control-plane
!
voice-port 0/0/0:15
!
ccm-manager redundant-host VOIPSVR2
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server
ccm-manager config
!
mgcp
mgcp call-agent VOIPSVR1 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
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp validate domain-name
mgcp validate call-agent source-ipaddr
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
dial-peer voice 100 pots
service mgcpapp
port 0/0/0:15
!
scheduler allocate 20000 1000
!
end
And have no Current Active Call Manager.
I also have a problem adding the Gateway in the CCM. I could add the Gateway but when I try to manage the endpoint (for example, assigning a Device Pool) I get a script error when clicking Insert button which is:
'gclear' is not defined
I'm frustrated, can you please help me? Thank you
05-20-2008 08:11 AM
"prigw.necomvoip.local" needs to be your gateway name in call manager. If you have a domain specified on your gateway, you need it specified in call manager.
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: