Dahdi 2.6.1 with OSLEC support

Home » Asterisk Users » Dahdi 2.6.1 with OSLEC support
Asterisk Users No Comments

In order solve my incoming caller ID problem, I upgrade the dahdi to
version 2.6.1 from version 2.4.x. After upgrade, I found the echo
cancellation doesn’t working (I’m using Digium AEX800B PCI Express card). I
can hear my self talking on the phone. How to solve this? I think I need to
recompile dahdi 2.6.1 with OSLEC support? how?

[root@callcenter ~]# dahdi_cfg -vvv
DAHDI Tools Version – 2.6.1

DAHDI Version: 2.6.1
Echo Canceller(s): HWEC
Configuration
======================

Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: FXS Kewlstart (Default) (Echo Canceler: oslec)(Slaves: 11)
Channel 12: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 16)

16 channels to configure.

Setting echocan for channel 1 to oslec
DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)

I try to change to /etc/dahdi/system.conf to
fxsks=1
echocanceller=hwec,1

Still doesn’t work and this error still occured: DAHDI_ATTACH_ECHOCAN
failed on channel 1: Invalid argument (22)

[root@callcenter dahdi]# asterisk -rvvv
Asterisk 1.8.7.0, Copyright (C) 1999 – 2011 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for
detail
s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type ‘core show license’ for details.
=========================================================================
== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
Connected to Asterisk 1.8.7.0 currently running on callcenter (pid = 6908)
Verbosity is at least 3
callcenter*CLI> dahdi show channel 1
Channel: 1
File Descriptor: 12
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner:
Real:

Callwait:

Threeway:

Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Gains (RX/TX): 0.00/0.00
Dynamic Range Compression (RX/TX): 0.00/0.00
DND: no
*Echo Cancellation:
128 taps
(unless TDM bridged) currently OFF*
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook
callcenter*CLI>