Install asterisk-dahdi by entering the following commands in the terminal:
sudo apt update sudo apt install asterisk-dahdi
DAHDI devices support for the Asterisk PBX
Asterisk is an Open Source PBX and telephony toolkit. . This package includes the DAHDI channel driver (chan_dahdi.so) and a number of other Asterisk modules that require DAHDI support. They will not be useful without kernel-level DAHDI support. . For more information about the Asterisk PBX, have a look at the Asterisk package.