dahdi_genconf errors

Hi all,

I am trying to configure a TE133 T1 card on 5.211.65-7 distro version. Each time I try to run the command dahdi_genconf, I get the follow error message:

dahdi_genconf -vvvvvvv

Default parameters from /etc/dahdi/genconf_parameters
Empty configuration – no spans
Generating /etc/dahdi/span-types.conf
/usr/sbin/dahdi_span_types: Missing ‘/sys/bus/dahdi_devices/devices’ (DAHDI driver unloaded?)
Command failed (status=256): ‘dahdi_span_types dumpconfig > /etc/dahdi/span-types.conf’ at /usr/local/share/perl5/Dahdi/Config/Gen/Spantypes.pm line 40.

If I look at dahdi_span_types, it detects the card:

dahdi_span_types list

PRI span types (E1/T1/J1)

1:T1 [1TE133F_-DF04140364357-B1-_20140123] @PCI_Bus_01_Slot_01
Any ideas on why I am unable to generate the config?

Thank you!

The key in that output we were looking for is “(In use)” which means it is configured and Asterisk is using it. You will note the span is in alarm so no calls will go out obviously.

What version of dahdi do you have? Also I suggest using the DAHDI module in FreePBX not dahdi_genconf

DAHDI Version: 2.8.0

After giving up on the dahdi_genconf, I went to the DAHDI module in FreePBX. With those error messages, I am not sure if the T1 card is configured correctly.

Can you post the output of the following console command:

cat /proc/dahdi/*

[root@localhost ~]# cat /proc/dahdi/*
Span 1: WCT13x/0 “Wildcard TE133 Card 0” (MASTER) ESF/B8ZS BLUE RED
E-bit error count: 56

       1 WCT13x/0/1 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       2 WCT13x/0/2 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       3 WCT13x/0/3 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       4 WCT13x/0/4 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       5 WCT13x/0/5 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       6 WCT13x/0/6 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       7 WCT13x/0/7 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       8 WCT13x/0/8 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
       9 WCT13x/0/9 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      10 WCT13x/0/10 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      11 WCT13x/0/11 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      12 WCT13x/0/12 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      13 WCT13x/0/13 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      14 WCT13x/0/14 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      15 WCT13x/0/15 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      16 WCT13x/0/16 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      17 WCT13x/0/17 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      18 WCT13x/0/18 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      19 WCT13x/0/19 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      20 WCT13x/0/20 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      21 WCT13x/0/21 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      22 WCT13x/0/22 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      23 WCT13x/0/23 Clear (In use) RED (EC: VPMOCT032 - INACTIVE)
      24 WCT13x/0/24 HDLCFCS (In use) RED (EC: VPMOCT032 - INACTIVE)

Thank you James for the comments. There is no service at the PRI circuit currently which is why it’s has alarm. I just wanted everything to be right before turning up the circuit and keep down time < 5 minutes.