[Asterisk-Users] No D-channels available!

Rikard Westlund
2005-03-29T06:08:20Z

Hi all,

I?ve ran into a problem regarding D-channels. I have setup Asterisk
(CVS-HEAD-03/21/05-16:41:57) on RH Fedora Core 3(2.6.10-1.770_FC3) I also have a
digium wcte11xp card for connetivity to the PSTN(E1). When I start zttool i see
that Current Alarms changes between Recovering and Blue Alarm/Recovering.
I started to see these problems after i moved the digiumcard from one PCI slot
to another, this was to solve a IRQ missmatch.

Please let me know if you need anymore info

Best regards

Rikard Westlund

My zaptel.conf looks like this:
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
loadzone = se
defaultzone=se

This is the output from lsmod:
Module                  Size  Used by
wcte11xp               40096  0
zaptel                204676  1 wcte11xp
md5                     4033  1
ipv6                  231681  12
autofs4                23493  0
sunrpc                156325  1
dm_mod                 55637  0
i2c_i801                8141  0
i2c_core               20801  1 i2c_i801
hisax                 517149  0
crc_ccitt               2113  2 zaptel,hisax
isdn                  131905  1 hisax
slhc                    6849  1 isdn
tg3                    84933  0
floppy                 57841  0
ext3                  116297  3
jbd                    69977  1 ext3

This is from /var/log/messages
Mar 29 14:19:18 sepbx kernel: PCI: Assigned IRQ 9 for device 0000:03:01.0
Mar 29 14:19:18 sepbx kernel: Controller version: 24
Mar 29 14:19:18 sepbx kernel: FALC version: 00000000
Mar 29 14:19:18 sepbx kernel: TE110P: Setting up global serial parameters for E1
FALC V1.2
Mar 29 14:19:18 sepbx kernel: TE110P: Successfully initialized serial bus for
card
Mar 29 14:19:18 sepbx kernel: Found a Wildcard: Digium Wildcard TE110P T1/E1
Mar 29 14:19:18 sepbx kernel: Registered tone zone 16 (Sweden)
Mar 29 14:19:18 sepbx kernel: TE110P: Span configured for CCS/HDB3/CRC4
Mar 29 14:19:18 sepbx kernel: Calling startup (flags is 4099)
Mar 29 14:19:18 sepbx kernel: TE110P: Span configured for CCS/HDB3/CRC4
Mar 29 14:19:18 sepbx kernel: Calling startup (flags is 4099)
Mar 29 14:19:18 sepbx kernel: Registered tone zone 16 (Sweden)
Mar 29 14:19:18 sepbx zaptel: Running ztcfg:  succeeded
Mar 29 14:19:19 sepbx kernel: NMF workaround on!
Mar 29 14:19:19 sepbx kernel: wcte1xxp: Setting yellow alarm

This is from more /proc/zaptel/1
Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" HDB3/CCS/CRC4
RECOVERING

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

When I start Asterisk(asterisk -vvvvvvvvvc) I get this:
Mar 29 15:02:15 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:17 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:18 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:19 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:21 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:22 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:23 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:25 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:26 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:27 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:29 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:31 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:32 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:34 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:35 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!
  == Primary D-Channel on span 1 down
Mar 29 15:02:36 WARNING[4557]: chan_zap.c:2049 pri_find_dchan: No D-channels
available!  Using Primary on channel anyway 16!

This is from /proc/interrupts
           CPU0
  0:    2373144          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
  9:    2315535          XT-PIC  t1xxp
 10:      46848          XT-PIC  eth0
 14:       5535          XT-PIC  ide0
 15:      21104          XT-PIC  ide1
NMI:          0
ERR:          0



-------------- next part --------------
An HTML attachment was scrubbed...