Hi all,
After migrating from FreePBX 17 from 16 and restoring from backup, Dahdi Config cannot “see” my BRI card(s).
PBX Version: 17.0.19.30
PBX Distro: 12.7.8-2408-1.sng12
Asterisk Version: 22.4.1
I installed FreePBX 17 using the ISO and choosing the PUB spice on the same system that v16 was installed which is basically a PC. Installation is physical, not virtual.
- I can see the cards with command
lspciat the bottom of the list.
root@sangoma-freepbx-12-10-0-2504-2:~# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
04:01.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11)
04:02.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)
- dahdi lists the cards with command
dahdi_hardware
root@sangoma-freepbx-12-10-0-2504-2:~# dahdi_hardware
pci:0000:04:01.0 wctdm24xxp- d161:8005 Wildcard TDM410P
pci:0000:04:02.0 wcb4xxp- 1397:08b4 BeroNet BN2S0
But when I try to dahdi_genconf it creates empty files.
root@sangoma-freepbx-12-10-0-2504-2:~# dahdi_genconf -vvv
Default parameters from /etc/dahdi/genconf_parameters
Empty configuration -- no spans
Generating /etc/dahdi/assigned-spans.conf
Empty configuration -- no spans
Generating /etc/dahdi/system.conf
Empty configuration -- no spans
Generating /etc/asterisk/dahdi-channels.conf
I initially assumed it is a permissions problem but I am not sure about that, it seems ok at first glance.
root@sangoma-freepbx-12-10-0-2504-2:~# ls -ld /etc/dahdi/
drwxr-xr-x 2 asterisk asterisk 4096 Jul 31 13:19 /etc/dahdi/
root@sangoma-freepbx-12-10-0-2504-2:~# ls -l /etc/dahdi/
total 60
-rw-r–r-- 1 asterisk asterisk 149 Jul 31 13:19 assigned-spans.conf
-rw-r–r-- 1 asterisk asterisk 149 Jul 22 00:58 assigned-spans.conf.bak
-rw-r–r-- 1 asterisk asterisk 1617 Jul 21 15:17 assigned-spans.conf.sample
-rw-r–r-- 1 asterisk asterisk 6095 Jul 22 00:22 genconf_parameters
-rw-r–r-- 1 asterisk asterisk 771 Jul 22 00:21 init.conf
-rwxr-xr-x 1 asterisk asterisk 1428 Jul 22 01:10 modules
-rw-r–r-- 1 asterisk asterisk 232 Jul 21 14:53 modules.bak
-rw-r–r-- 1 asterisk asterisk 1766 Jul 21 15:17 modules.sample
-rw-r–r-- 1 asterisk asterisk 820 Jul 21 15:17 span-types.conf.sample
-rw-r–r-- 1 asterisk asterisk 310 Jul 31 13:19 system.conf
-rw-r–r-- 1 asterisk asterisk 443 Jul 31 13:11 system.conf.bak
-rw-r–r-- 1 asterisk asterisk 11673 Jul 21 15:17 system.conf.sample
I have old configs and screenshots, but that doesn’t help if dahdiconfig creates empty files.
Any ideas how to troubleshoot it?
Thank you.
