11-03-2016 03:36 AM - edited 03-19-2019 11:47 AM
Hello Guys
i need some help i am trying to set up MGCP and H323 in same cube, i configured 1 T1 with MGCP and this is working ok, but the other T1 as i tired to connect with H323 . but not able to make it working, the layer 1 of this T1 always deactivated.
i made the loopback diag to check the hardware and its ok, layer 1 came to active state.
here the running config attached
T1 :
framing esf
linecode b8zs
BB#sh isdn status
Global ISDN Switchtype = primary-ni
%Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0. Layer 3 output may not apply
ISDN Serial0/0/0:23 interface
******* Network side configuration *******
dsl 0, interface ISDN Switchtype = primary-ni
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 = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 107
ISDN Serial0/2/0:23 interface
******* Network side configuration *******
dsl 1, interface ISDN Switchtype = primary-ni
Layer 1 Status:
DEACTIVATED
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: 0x00000000
Number of L2 Discards = 0, L2 Session ID = 182
Total Allocated ISDN CCBs = 0
BB#sh controller t1 0/2/0
T1 0/2/0 is down.
Applique type is Channelized T1
Cablelength is long 0db
Transmitter is sending remote alarm.
Receiver has loss of frame.
alarm-trigger is not set
Soaking time: 3, Clearance time: 10
AIS State:Clear LOS State:Clear LOF State:Failure
Version info Firmware: 20100222, FPGA: 13, spm_count = 0
Framing is ESF, Line Code is B8ZS, Clock Source is Line.
CRC Threshold is 320. Reported from firmware is 320.
Data in current interval (193 seconds elapsed):
1580863 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 193 Unavail Secs
Data in Interval 1:
7371900 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs
Data in Interval 2:
7371900 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs
Data in Interval 3:
7371900 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs
11-03-2016 04:00 AM
Looks to be a cable issue as layer 1 is showing as deactivated and since you already verified that the Loop diag results are positive, it is very less chance of gateway being at fault.
Also, there are too many line code violations.
Replace the cable with a working pri and then test.
11-03-2016 05:06 AM
Hi Hitesh
thanks for your reply, i changed the cable but still the same issue, also make a loop with wire i mean hardware loop then it is showing active .
it seems not the hardware issue.
thanks
11-03-2016 05:49 AM
What if you swap the cables between the 2 ports? This will allow you to identify if the issue is the port on router or far end. Are you suppose to be defined as network side? What are you connected to? Perhaps the other connection requires cross-over PRI cable.
11-03-2016 02:42 PM
Hi Chris
i swapped the cable between T1 0/0/0 and T1 0/2/0 as T1 0/0/0 working perfectly for MGCp for both cables. but T1 0/2/0 showing layer 1 deactivated for both cables.
and this is cross over pri, the other side i connected a cube router.
thanks
11-03-2016 02:55 PM
Perhaps controller 0/2/0 is shutdown?
Can you post full "sh run"?
11-03-2016 03:18 PM
Controller no shut didnt make any difference here the
BB#sh run
Building configuration...
Current configuration : 4666 bytes
!
! Last configuration change at 07:14:26 UTC Wed Nov 2 2016 by arif
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BB
!
boot-start-marker
boot system flash:c2800nm-adventerprisek9-mz.151-4.M10.bin
warm-reboot
boot-end-marker
!
!
card type t1 0 0
card type t1 0 2
logging buffered 6400000
enable secret 5 $1$Hsyk$Fj1YhCjG9tnRU/1r3goWW.
!
aaa new-model
!
!
aaa authentication login LOCALONLY local
!
!
!
!
!
aaa session-id common
!
network-clock-participate wic 0
network-clock-participate wic 2
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
isdn logging
isdn gateway-max-interworking
!
!
!
voice service voip
allow-connections h323 to h323
h323
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
!
!
voice-card 0
dspfarm
dsp services dspfarm
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2821 sn FHK1309F3BQ
license accept end user agreement
username arif privilege 15 secret 5 $1$BTaC$9lmL8FXyCpJNtwfAK9icx/
!
redundancy
!
!
controller T1 0/0/0
cablelength long 0db
pri-group timeslots 1-24 service mgcp
!
controller T1 0/2/0
cablelength long 0db
pri-group timeslots 1-24
!
controller T1 0/2/1
cablelength long 0db
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 152.1.56.100 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 152.1.56.100
!
interface Loopback1
ip address 172.26.1.200 255.255.255.255
!
interface GigabitEthernet0/0
ip address 157.26.1.254 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.150.22 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn protocol-emulate network
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
interface Serial0/1/0
description connected router a
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay intf-type dce
frame-relay route 101 interface Serial0/3/1 101
frame-relay route 201 interface Serial0/3/0 201
!
interface Serial0/2/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
interface Serial0/3/0
description connect to router c
no ip address
encapsulation frame-relay
logging event dlci-status-change
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 201 interface Serial0/1/0 201
!
interface Serial0/3/1
description connected t orouter b
no ip address
encapsulation frame-relay
logging event dlci-status-change
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 101 interface Serial0/1/0 101
!
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
ip route 10.61.254.0 255.255.255.0 192.168.150.1
!
!
!
!
!
!
!
!
!
control-plane
!
!
voice-port 0/2/0:23
!
voice-port 0/0/0:23
!
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 157.26.1.11
ccm-manager config
!
mgcp
mgcp call-agent 157.26.1.11 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 timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp bind control source-interface Loopback1
mgcp bind media source-interface Loopback1
!
mgcp profile default
!
!
dial-peer voice 200 pots
destination-pattern 3...
incoming called-number .
port 0/0/0:23
!
dial-peer voice 100 voip
preference 1
destination-pattern 6...
session protocol sipv2
session target ipv4:157.26.1.11
voice-class codec 1
dtmf-relay rtp-nte
!
dial-peer voice 300 pots
destination-pattern 6...
incoming called-number .
port 0/2/0:23
!
dial-peer voice 400 voip
preference 2
destination-pattern 6...
session target ipv4:157.26.1.11
voice-class h323 1
dtmf-relay h245-alphanumeric
!
!
!
!
!
line con 0
session-timeout 60
exec-timeout 60 0
logging synchronous
login authentication LOCALONLY
line aux 0
line vty 0 4
session-timeout 90
exec-timeout 90 0
privilege level 15
login authentication LOCALONLY
transport input all
!
scheduler allocate 20000 1000
end
BB#
BB#
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