[asterisk-users] Dahdi 2.6.1 with OSLEC support

Satria Anamarta anam.satria67 at gmail.com
Sat Jun 2 23:16:30 CDT 2012


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 at 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 at callcenter dahdi]# asterisk -rvvv
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
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: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120603/032e77b8/attachment.htm>


More information about the asterisk-users mailing list