суть есть Астериск установлен на Ubuntu 20.4 (server). С репозитория. Тупо apt install astertisk. Версия астериск 16.2.1.
есть плата openvox a800p/ lspci -v показывает:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device 9500:0003
Flags: bus master, medium devsel, latency 32, IRQ 20
I/O ports at 1100
Memory at f0900000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: netjet
Kernel modules: netjet, opvxa1200
Subsystem: Device 9500:0003
Flags: bus master, medium devsel, latency 32, IRQ 20
I/O ports at 1100
Memory at f0900000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: netjet
Kernel modules: netjet, opvxa1200
Ссылки которые лежат в мануале к ней старые и битые. Плата рабочая и работала до недавнего времени в другой версии астериска.
Наскачивал кучу версий драйверов и последнего dahdi-linux-complete-3.1.0+3.1.0
Распаковываю. Делаю make
получаю длинную установку с ошибка из разряда
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c: In function ‘x200_d100m_probe’:
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c:366:4: warning: ISO C90 forbids variable length array ‘stmp’ [-Wvla]
366 | unsigned char stmp[detect_loopcnt+1];
| ^~~~~~~~
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c: In function ‘x200_fxo200m_probe’:
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c:453:5: warning: ISO C90 forbids variable length array ‘stmp’ [-Wvla]
453 | unsigned char stmp[detect_loopcnt+1];
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c:366:4: warning: ISO C90 forbids variable length array ‘stmp’ [-Wvla]
366 | unsigned char stmp[detect_loopcnt+1];
| ^~~~~~~~
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c: In function ‘x200_fxo200m_probe’:
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/x200_bus.c:453:5: warning: ISO C90 forbids variable length array ‘stmp’ [-Wvla]
453 | unsigned char stmp[detect_loopcnt+1];
и
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
nux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/fxo200m.o
LD [M] /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/fxs200m.o
Building modules, stage 2.
MODPOST 40 modules
WARNING: could not find /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
LD [M] /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x/oct612x.ko
LD [M]
LD [M] /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/opvxx200/fxs200m.o
Building modules, stage 2.
MODPOST 40 modules
WARNING: could not find /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
LD [M] /123/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/oct612x/oct612x.ko
LD [M]
в конце
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
configure: *** dahdi-tools build successfully configured ***
make -C tools all
make[1]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools'
cd . && /bin/bash /usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools/auxdir/missing automake-1.13 --foreign
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools/auxdir/missing: line 81: automake-1.13: command not found
WARNING: 'automake-1.13' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [Makefile:662: Makefile.in] Error 1
make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools'
make: *** [Makefile:11: all] Error 2
make -C tools all
make[1]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools'
cd . && /bin/bash /usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools/auxdir/missing automake-1.13 --foreign
/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools/auxdir/missing: line 81: automake-1.13: command not found
WARNING: 'automake-1.13' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [Makefile:662: Makefile.in] Error 1
make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0+3.1.0/tools'
make: *** [Makefile:11: all] Error 2
а при попытке установить dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
root@ats:/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1# make
make -C linux all
make[1]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/firmware'
make -C /lib/modules/5.4.0-107-generic/build KBUILD_EXTMOD=/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-107-generic'
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.o
In file included from /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.c:28:
/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/include/dahdi/kernel.h:62:10: fatal error: linux/pci-aspm.h: No such file or directory
62 | #include <linux/pci-aspm.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.build:270: /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.o] Error 1
make[3]: *** [scripts/Makefile.build:519: /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x] Error 2
make[2]: *** [Makefile /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-107-generic'
make[1]: *** [Makefile:74: modules] Error 2
make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux'
make: *** [Makefile:9: all] Error 2
make -C linux all
make[1]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/firmware'
make -C /lib/modules/5.4.0-107-generic/build KBUILD_EXTMOD=/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-107-generic'
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
CC [M] /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.o
In file included from /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.c:28:
/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/include/dahdi/kernel.h:62:10: fatal error: linux/pci-aspm.h: No such file or directory
62 | #include <linux/pci-aspm.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.build:270: /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x/oct612x-user.o] Error 1
make[3]: *** [scripts/Makefile.build:519: /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi/oct612x] Error 2
make[2]: *** [Makefile /usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-107-generic'
make[1]: *** [Makefile:74: modules] Error 2
make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1/linux'
make: *** [Makefile:9: all] Error 2
Есть какой ни будь мануал, как завести эту чертову плату. Что я делаю не так, что еще надо поставить что бы эта штука заработала?