I am getting low results with dahdi_test (92%), and garbled voice with a D210P card.
The card is an OpenVox D210P, serial number D21PHJ1N0WSL
The system is an Intel DH61WW motherboard, with the following software:
CentOS 5.7
Elastix-2.3.0
Asterisk-1.8.11.0
Dahdi-2.4.1.2
/etc/dahdi/system.conf:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31
# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62
# Global data
loadzone = us
defaultzone = us
/etc/asterisk/dahdi-channels.conf:
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
dmesg after loading wct4xxp driver:
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.4.1.2
wct4xxp 0000:02:00.0: Found TE2XXP at base address fe400000, remapped to ffffc20000032000
wct4xxp 0000:02:00.0: DMA memory base of size 2048 at ffff81001ff22000. Read: ffff81001ff22400 and Write ffff81001ff22000
wct4xxp 0000:02:00.0: Firmware Version: c01a0000
wct4xxp 0000:02:00.0: Burst Mode: On
wct4xxp 0000:02:00.0: FALC Framer Version: 3.1
wct4xxp 0000:02:00.0: Board ID: 00
wct4xxp 0000:02:00.0: Reg 0: 0x1ff22400
wct4xxp 0000:02:00.0: Reg 1: 0x1ff22000
wct4xxp 0000:02:00.0: Reg 2: 0xfe400008
wct4xxp 0000:02:00.0: Reg 3: 0x00000000
wct4xxp 0000:02:00.0: Reg 4: 0x00000000
wct4xxp 0000:02:00.0: Reg 5: 0xfe400014
wct4xxp 0000:02:00.0: Reg 6: 0xc01a0000
wct4xxp 0000:02:00.0: Reg 7: 0x00001f00
wct4xxp 0000:02:00.0: Reg 8: 0x00000000
wct4xxp 0000:02:00.0: Reg 9: 0x00000000
wct4xxp 0000:02:00.0: Reg 10: 0xfe400028
wct4xxp 0000:02:00.0: Found a Wildcard: Wildcard TE210P
wct4xxp 0000:02:00.0: TE2XXP: Launching card: 0
dahdi_echocan_oslec: Registered echo canceler 'OSLEC'
dahdi: Registered tone zone 0 (United States / North America)
wct4xxp 0000:02:00.0: TE2XXP: Span 1 configured for CCS/HDB3
wct4xxp 0000:02:00.0: SPAN 1: Primary Sync Source
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0081
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: VPM450: Not Present
wct4xxp 0000:02:00.0: TE2XXP: Span 2 configured for CCS/HDB3
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: SPAN 2: Secondary Sync Source
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0081
wct4xxp 0000:02:00.0: VPM450: Not Present
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is fe400014
dahdi_test:
Opened pseudo dahdi interface, measuring accuracy...
91.953% 92.180% 92.753% 92.145% 92.412% 92.368% 92.340% 92.323%
91.845% 91.719% 92.756% 92.494% 92.053% 91.762% 91.874% 92.468%
91.816%
--- Results after 17 passes ---
Best: 92.756 -- Worst: 91.719 -- Average: 92.191799, Difference: 107.808201
Asterisk CLI error:
PRI Span: 2 TEI=0 MDL-ERROR (A): Got supervisory frame with F=1 in state 7(Multi-frame established)
cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 3704998 0 0 0 IO-APIC-edge timer
1: 9 0 0 0 IO-APIC-edge i8042
5: 0 0 0 0 IO-APIC-edge parport0
8: 1 0 0 0 IO-APIC-edge rtc
9: 0 0 0 0 IO-APIC-level acpi
12: 4 0 0 0 IO-APIC-edge i8042
66: 270 0 0 0 PCI-MSI hda_intel
82: 61 0 0 192774 PCI-MSI eth0
177: 5479 3213408 0 0 IO-APIC-level ehci_hcd:usb1, wct2xxp
201: 59 0 0 0 IO-APIC-level ehci_hcd:usb2
217: 5193 0 12759 0 PCI-MSI ahci
NMI: 357 270 144 148
LOC: 3704797 3704726 3704653 3704580
ERR: 0
MIS: 0
The system insists on sharing interrupt 177 with ehci_hcd:usb1 module. We unload it with command "rmmod ehci_hcd", but garbled voice and low dahdi_test results are not fixed.
Please advise on the cause of problem.