DAHDI config not showing A101

I have a system with an A101 card that had been working for years. Customer called indicating PRI was down. I went to dahdi config and it just shows undefined. I ran the setup-sangoma and the system seems the card but even after going to the setup process it shows as undefined.

image

[root@freepbx ~]# asterisk -rx ‘pri show spans’
No such command '‘pri' (type 'core show help ‘pri' for other possible commands)
[root@freepbx ~]# dahdi show status
-bash: dahdi: command not found
[root@freepbx ~]# service dahdi stop
Stopping dahdi (via systemctl):                            [  OK  ]
[root@freepbx ~]# service asterisk stop
Stopping asterisk (via systemctl):                         [  OK  ]
[root@freepbx ~]# /etc/init.d/dahdi status
[root@freepbx ~]# echo $?
0
[root@freepbx ~]# ls /proc/dahdi
[root@freepbx ~]# /usr/sbin/lsdahdi

Did your kernel get updated?
Is dahdi loaded?

rasterisk -x 'module show like dahd'

will it reload

rasterisk -x 'module reload chan_dahdi'
[root@freepbx ~]# rasterisk -x 'module show like dahd'
Module                         Description                              Use Count  Status      Support Level
app_dahdiras.so                DAHDI ISDN Remote Access Server          0          Running          extended
chan_dahdi.so                  DAHDI Telephony w/PRI & SS7 & MFC/R2     0          Running              core
codec_dahdi.so                 Generic DAHDI Transcoder Codec Translato 0          Running              core
res_timing_dahdi.so            DAHDI Timing Interface                   0          Running              core
4 modules loaded
[root@freepbx ~]# rasterisk -x 'module reload chan_dahdi'
Module 'chan_dahdi' reloaded successfully.

I’ve run a yum update and everything is up to date

so now dahdi show status and dahdi show channels are good?

*CLI> dahdi show status
Description                              Alarms  IRQ    bpviol CRC    Fra Codi Options  LBO
*CLI> dahdi show channels
   Chan Extension       Context         Language   MOH Interpret        Blocked    In Service Description
 pseudo                 default                    default                         Yes

Those are Asterisk commands, not shell commands.

1 Like

dahdi status should show spans defined in /etc/dahdi/system.conk which the sangoma setup should fill

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2024-03-22
#Dahdi Channels Configurations 
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us

#Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
span=1,1,0,esf,b8zs
bchan=1-23
echocanceller=mg2,1-23
hardhdlc=24

Never used the gui but

dahdi-cfg -vv
DAHDI Tools Version - 2.11.1

DAHDI Version: 2.11.1
Echo Canceller(s):
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 23)
Channel 24: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 24)

24 channels to configure.

DAHDI_SPANCONFIG failed on span 1: No such device or address (6)

Well wancfg is not providing a loadable module, maybe install dahdi v3 and do it over? otherwise, I’m out of ideas

I’ll give it a shot. Thank you for your help!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.