[asterisk-users] ISDN PRI configuration

Vieri rentorbuy at yahoo.com
Wed Dec 7 15:55:20 CST 2011


Hi,

A telco has recently installed a new line in our building and I need to connect it to my Asterisk server with a Digium PRI card.

It's not the first time I set up and configure a PRI link but I'm failing to make this one work.

The only information I got from the telco is:
"
Line Coding [HDB3] 
Framing [CRC4]
Encapsultation [hdlc 
Isdn switch-type primary-[net5]
"

Is "crc4" actually a "framing" parameter as stated by the telco, or is it just an "optional line coding parameter"?

I searched the web and not knowing exactly which parameters to use, I tried the following zaptel/dahdi config:

# TE120P (PRI):
span=1,1,0,ccs,hdb3,crc4
# as E1
bchan=1-15
dchan=16
bchan=17-31

switchtype = euroisdn
signalling = pri_cpe

However, the link doesn't work and I get this:

*CLI show status:
Description                              Alarms     IRQ        bpviol     CRC4
Wildcard TE120P Card 0                   RED        1          0          0

# cat /proc/zaptel/1
Span 1: WCT1/0 "Wildcard TE120P Card 0" (MASTER) HDB3/CCS/CRC4 RED
        IRQ misses: 1

           1 WCT1/0/1 Clear (In use) RED
           2 WCT1/0/2 Clear (In use) RED
           3 WCT1/0/3 Clear (In use) RED
           4 WCT1/0/4 Clear (In use) RED
           5 WCT1/0/5 Clear (In use) RED
           6 WCT1/0/6 Clear (In use) RED
           7 WCT1/0/7 Clear (In use) RED
           8 WCT1/0/8 Clear (In use) RED
           9 WCT1/0/9 Clear (In use) RED
          10 WCT1/0/10 Clear (In use) RED
          11 WCT1/0/11 Clear (In use) RED
          12 WCT1/0/12 Clear (In use) RED
          13 WCT1/0/13 Clear (In use) RED
          14 WCT1/0/14 Clear (In use) RED
          15 WCT1/0/15 Clear (In use) RED
          16 WCT1/0/16 HDLCFCS (In use) RED
          17 WCT1/0/17 Clear (In use) RED
          18 WCT1/0/18 Clear (In use) RED
          19 WCT1/0/19 Clear (In use) RED
          20 WCT1/0/20 Clear (In use) RED
          21 WCT1/0/21 Clear (In use) RED
          22 WCT1/0/22 Clear (In use) RED
          23 WCT1/0/23 Clear (In use) RED
          24 WCT1/0/24 Clear (In use) RED
          25 WCT1/0/25 Clear (In use) RED
          26 WCT1/0/26 Clear (In use) RED
          27 WCT1/0/27 Clear (In use) RED
          28 WCT1/0/28 Clear (In use) RED
          29 WCT1/0/29 Clear (In use) RED
          30 WCT1/0/30 Clear (In use) RED
          31 WCT1/0/31 Clear (In use) RED

Placing a call through the Zap/Dahdi trunk in Asterisk doesn't work and I get the following message in the log:

chan_dahdi.c: No D-channels available!  Using Primary channel 16 as D-channel anyway!
logger.c:     -- Attempting call on Zap/g1/999xxxxxx for 999xxxxxx at custom-TESTCALL:1 (Retry 1)
channel.c: Unable to request channel Zap/g1/999xxxxxx
pbx_spool.c: Call failed to go through, reason (8) Congestion (circuits busy)
chan_dahdi.c: No D-channels available!  Using Primary channel 16 as D-channel anyway!

Am I missing some information here?
I'm *supposing* it should be E1 (and that I can use 16 as dchan), euroisdn (not "national"), but my telco states "hdlc Isdn switch-type primary-[net5]" and I don't know how to translate it to zaptel/dahdi...

Also, my telco hasn't mentioned anything about ccs but I tried it anyway because I wouldn't know what else to use.

I also tried 
signalling = pri_net
but still got the same RED alerts.

Any suggestions?

Thanks

Vieri





More information about the asterisk-users mailing list