[asterisk-users] ISDN-BRI issue

Frédéric Blaise FBL at visionitgroup.com
Fri Oct 27 03:40:42 MST 2006


Hello all

Asterisk 1.2.10
BRIstuff PRE-1s
Debian sarge

I have an issue with my ISDN-BRI line. Asterisk tells me my D-Channel is
down, no matter is I have an actual line plugged in or not.

  == Primary D-Channel on span 1 down

 I somehow got it to work once! The config tools do not indicate any
errors whatsoever. Here is a rundown of various listings I can think
about. (some things may show some FXO stuff, but I took the card out to
make sure that it wasn't interfering).

I am at a loss. It seems that I get the same result whether the ISDN
signal is on or off. However, the LED on my card is red when no signal,
and well green when there's a signal.

Please help! Any hints, advices... anything is welcome. Thank you.

cat /proc/zaptel/* (when a line is in, one of them shows ACTIVATED)
==================
Span 1: ztqoz/2/1 "quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0) Layer
1 DEACTIVATED (F3)"

           1 ztqoz2/1/1 Clear (In use)
           2 ztqoz2/1/2 Clear (In use)
           3 ztqoz2/1/3 HDLCFCS (In use)
Span 2: ztqoz/2/2 "quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0) Layer
1 DEACTIVATED (F3)"

           4 ztqoz2/2/1 Clear (In use)
           5 ztqoz2/2/2 Clear (In use)
           6 ztqoz2/2/3 HDLCFCS (In use)
Span 3: ztqoz/2/3 "quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0) Layer
1 DEACTIVATED (F3)"

           7 ztqoz2/3/1 Clear (In use)
           8 ztqoz2/3/2 Clear (In use)
           9 ztqoz2/3/3 HDLCFCS (In use)
Span 4: ztqoz/2/4 "quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0) Layer
1 DEACTIVATED (F3)"

          10 ztqoz2/4/1 Clear (In use)
          11 ztqoz2/4/2 Clear (In use)
          12 ztqoz2/4/3 HDLCFCS (In use)

ztcfg -vv
=========
Zaptel Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 399-533 feet (DSX-1)
SPAN 3: CCS/HDB3 Build-out: 399-533 feet (DSX-1)
SPAN 4: CCS/HDB3 Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: D-channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)

12 channels configured.

pro show span 1:
================
asterisk*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE (PtMP)
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3
asterisk*CLI>
asterisk*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE (PtMP)
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3

zapata.conf
===========
;;; ISDN channel
; p2mp TE mode (for connecting ISDN lines in point-to-multipoint mode)
usecallerid = yes
signalling = bri_cpe_ptmp
switchtype = euroisdn
echocancel = yes
echocancelwhenbridged = yes
echotraining = 100
;callerid = "Vision IT Group <26 44 36 1>"
;resetinterval=never
context=isdn-incoming
group = 1

; S/T port 1-4
;channel => 25-26
;channel => 28-29
;channel => 31-32
;channel => 34-35
channel => 1-2
channel => 4-5
channel => 7-8
channel => 10-11

zaptel.conf
===========
### ISDN span config ###
span=1,1,3,ccs,hdb3
span=2,2,3,ccs,hdb3
span=3,3,3,ccs,hdb3
span=4,0,3,ccs,hdb3

#BRI's:
#bchan=25,26
#dchan=27
#bchan=28,29
#dchan=30
#bchan=31,32
#dchan=33
#bchan=34,35
#dchan=36
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12


### FXO span config ###
#fxoks=13-24

loadzone=fr
defaultzone=fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061027/5df43d6e/attachment-0001.pgp


More information about the asterisk-users mailing list