[asterisk-users] E1 conection to a Cisco2600

Rafael RGV rafael.risco at gmail.com
Wed Jan 28 16:40:10 CST 2009


Hi
I am trying to connect asterisk with a Cisco GW 2600 with E1 pri using a
Digium, Inc. Wildcard TE210P dual-span T1/E1/J1 card 3.3V (rev 02),

Errors:

[Jan 28 17:32:33] VERBOSE[6182] logger.c:   == Primary D-Channel on span 1
up
[Jan 28 17:32:33] WARNING[6182] chan_dahdi.c: PRI Error on span 0: We think
we're the CPE, but they think they're the CPE too.

[Jan 28 17:32:34] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:35] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:36] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:37] VERBOSE[6182] logger.c:   == Primary D-Channel on span 1
down
[Jan 28 17:32:37] WARNING[6182] chan_dahdi.c: No D-channels available!
Using Primary channel 16 as D-channel anyway!
[Jan 28 17:32:42] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Abort (6)
on Primary D-channel of span 1
[Jan 28 17:32:43] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:44] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:45] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:32:51] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1

please someone help me,
rafael

Configuration details:

Cisco cisco 2650XM (Version 12.2(15)T14)
--------------------------------------------
!
isdn switch-type primary-net5
!
!
voice call send-alert
voice call convert-discpi-to-prog
voice call carrier capacity active
voice rtp send-recv
!
voice service voip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
!
!
controller E1 1/0
 framing NO-CRC4
 pri-group timeslots 1-31
!
!
!
interface FastEthernet0/0
 ip address 192.168.12.210 255.255.255.0
 ip route-cache same-interface
 no ip route-cache
 no ip mroute-cache
 load-interval 30
 speed 100
 full-duplex
!
interface Serial1/0:15
 no ip address
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice data
 isdn bchan-number-order ascending
 no cdp enable
!
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.12.100
!
!
call rsvp-sync
!
voice-port 1/0:15
 echo-cancel coverage 32
 playout-delay nominal 150
 playout-delay minimum low
 cptone PE
 bearer-cap 3100Hz
!
!
dial-peer voice 10 pots
 destination-pattern .T
 no digit-strip
 direct-inward-dial
 port 1/0:15
 forward-digits all
!
gateway
 timer receive-rtcp 5
!
--------------------------------------------


* Running Asterisk Version : Asterisk 1.4.23.1
* Asterisk Source Version  : 1.4.23.1
* Zaptel Source Version    : 1.4.12.1
* Libpri Source Version    : 1.4.9
* Addons Source Version    : 1.4.7

pbx*CLI> pri show span 1
------------------------
Primary D-channel: 16
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
Logical Channel Mapping: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3

pbx*CLI>
  == Primary D-Channel on span 1 up
  == Primary D-Channel on span 1 down
pbx*CLI>


debug /var/log/asterisk/full:
-------------------------------
[Jan 28 17:22:03] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:22:05] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Abort (6)
on Primary D-channel of span 1
[Jan 28 17:22:06] VERBOSE[6182] logger.c:   == Primary D-Channel on span 1
up
[Jan 28 17:22:06] WARNING[6182] chan_dahdi.c: PRI Error on span 0: We think
we're the CPE, but they think they're the CPE too.

[Jan 28 17:22:10] VERBOSE[6182] logger.c:   == Primary D-Channel on span 1
down
[Jan 28 17:22:10] WARNING[6182] chan_dahdi.c: No D-channels available!
Using Primary channel 16 as D-channel anyway!
[Jan 28 17:22:12] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:22:13] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:22:14] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1
[Jan 28 17:22:15] NOTICE[6182] chan_dahdi.c: PRI got event: HDLC Bad FCS (8)
on Primary D-channel of span 1



/etc/zaptel.conf
-------------------
# Autogenerated by /usr/src/zaptel/kernel/xpp/utils/genzaptelconf -- do not
hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47

# Global data

loadzone        = us
defaultzone     = us



zapata.conf
------------
[channels]
language=en
context=default
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to
unknown.
pridialplan=unknown
prilocaldialplan=unknown
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

group = 1
channel => 1-15
channel => 17-31

group = 2
channel => 32-46
channel => 48-62
#include zapata-channels.conf


zapata-channels.conf
-------------------
; Autogenerated by /usr/src/zaptel/kernel/xpp/utils/genzaptelconf -- do not
hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
group=
context=default

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
group=
context=default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090128/5e694ecf/attachment.htm 


More information about the asterisk-users mailing list