Hi Asterisk gurus!
I have installed and configured dahdi 3.4.0 on my Debian 12 machine with Asterisk 18.22… However, i am unable to make it work after plugging in the telephone line (RJ11) from the vendor in my sangoma PCI-e enabled analog voip card with FXS and FXO modules. This is being used to make breakout calls within UAE becuase voip calls are banned here…
I have the following VoIP card installed:
Ethernet controller: Digium, Inc. Wildcard AEX410 4-port analog card (PCI-Express) (rev 11)
Subsystem: Digium, Inc. Wildcard AEX410 4-port analog card (PCI-Express)
Flags: bus master, medium devsel, latency 64, IRQ 5, IOMMU group 1
I/O ports at 6000 [size=256]
Memory at fbff0000 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at fbf00000 [virtual] [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
these are the outputs of the various dahdi commands:
**/sbin/lsmod | grep dahdi**
dahdi 258048 2 wct4xxp,oct612x
**lspci -v | grep Digium**
05:08.0 Ethernet controller: Digium, Inc. Wildcard AEX410 4-port analog card (PCI-Express) (rev 11)
Subsystem: Digium, Inc. Wildcard AEX410 4-port analog card (PCI-Express)
**dmesg | grep -i dahdi**
[ 29.070843] dahdi: loading out-of-tree module taints kernel.
[ 29.070936] dahdi: module verification failed: signature and/or required key missing - tainting kernel
[ 29.073236] dahdi: Version: 3.4.0
[ 29.073644] dahdi: Telephony Interface Registered on major 196
[ 31.497439] dahdi_ioctl_chanconfig: No channel for number 1
[ 9391.066612] dahdi_ioctl_chanconfig: No channel for number 1
[ 9626.744163] dahdi_ioctl_chanconfig: No channel for number 1
[ 9630.134678] dahdi_ioctl_chanconfig: No channel for number 1
[ 9637.552163] dahdi: Telephony Interface Unloaded
[ 9637.630830] dahdi: Version: 3.4.0
[ 9637.631477] dahdi: Telephony Interface Registered on major 196
[ 9637.663106] dahdi_ioctl_chanconfig: No channel for number 1
[ 9649.110279] dahdi_ioctl_chanconfig: No channel for number 1
**dahdi_genconf -vvvvvvvvvvvvvvvv**
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
**dahdi_hardware**
pci:0000:05:08.0 wctdm24xxp- d161:8006 Wildcard AEX410P
**dahdi_scan**
root@server:~#
**lsdahdi**
root@server:~#
Following are my dahdi config files:
#cat /etc/asterisk/chan_dahdi.conf
[channels]
usecallerid=yes
callwaiting=yes
callreturn=yes
cancallforward=yes
canpark=yes
transfer=yes
threewaycalling=yes
callwaitingcallerid=yes
usecallingpres=yes
echocancelwhenbridged=yes
echocancel=yes
group=1
callgroup=1
pickupgroup=1
hanguponpolarityswitch=yes
busydetect=yes
#include dahdi-channels.conf
And dahdi-channels.conf:
#cat /etc/asterisk/dahd-channels.conf
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
;;; line="2 WCTDM/4/1 FXSKS (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default
;;; line="3 WCTDM/4/2 FXSKS (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
;;; line="4 WCTDM/4/3 FXSKS (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
next, extensions.conf is:
[globals]
TRUNK=DAHDI/g0
[macro-recording]
[from-pstn3]
exten => s,1,NoOp(Caller-ID: ${CALLERID(all)})
exten => s,2,Set(CALLERID(all)="S6-76"<${CALLERID(num)}>)
exten => s,3,Goto(default,12345679.1);
exten => s,4,hangup
[from-pstn2]
exten => s,1,NoOp(Caller-ID: ${CALLERID(all)})
exten => s,2,Set(CALLERID(all)="S6-68"<${CALLERID(num)}>)
exten => s,3,Goto(default,12345677.1);
exten => s,4,hangup
[from-pstn1]
exten => s,1,NoOp(Caller-ID: ${CALLERID(all)})
exten => s,2,Set(CALLERID(all)="S7-53"<${CALLERID(num)}>)
exten => s,3,Goto(default,12345676.1);
exten => s,4,hangup
[from-pstn]
exten => s,1,NoOp(Caller-ID: ${CALLERID(all)})
exten => s,2,Set(CALLERID(all)="S7-53"<${CALLERID(num)}>)
exten => s,3,Goto(default,12345675.1);
exten => s,4,hangup
Any hint of what might be the issue?
it is copatibility issue of the dahdi 3.4.0 with the current OS and its kernels? or is it some configurational issues?
P.S: I am working with Dahdi for the first time so please let me know if any other detail is required…
best,
Hisham