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?<br>
<br>[root@callcenter ~]# dahdi_cfg -vvv<br>DAHDI Tools Version - 2.6.1<br><br>DAHDI Version: 2.6.1<br>Echo Canceller(s): HWEC<br>Configuration<br>======================<br><br><br>Channel map:<br><br>Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)<br>
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)<br>Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)<br>Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)<br>
Channel 05: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 05)<br>Channel 06: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 06)<br>Channel 07: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 07)<br>
Channel 08: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 08)<br>Channel 09: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 09)<br>Channel 10: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 10)<br>
Channel 11: FXS Kewlstart (Default) (Echo Canceler: oslec)(Slaves: 11)<br>Channel 12: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 12)<br>Channel 13: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 13)<br>
Channel 14: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 14)<br>Channel 15: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 15)<br>Channel 16: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 16)<br>
<br>16 channels to configure.<br><br>Setting echocan for channel 1 to oslec<br>DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)<br><br>I try to change to /etc/dahdi/system.conf to<br>fxsks=1<br>echocanceller=hwec,1<br>
<br>Still doesn't work and this error still occured: DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)<br><br>[root@callcenter dahdi]# asterisk -rvvv<br>Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.<br>
Created by Mark Spencer <<a href="mailto:markster@digium.com">markster@digium.com</a>><br>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.<br>
This is free software, with components licensed under the GNU General Public<br>License version 2 and other licenses; you are welcome to redistribute it under<br>certain conditions. Type 'core show license' for details.<br>
=========================================================================<br> == Parsing '/etc/asterisk/asterisk.conf': == Found<br> == Parsing '/etc/asterisk/extconfig.conf': == Found<br>Connected to Asterisk 1.8.7.0 currently running on callcenter (pid = 6908)<br>
Verbosity is at least 3<br>callcenter*CLI> dahdi show channel 1<br>Channel: 1<br>File Descriptor: 12<br>Span: 1<br>Extension:<br>Dialing: no<br>Context: from-pstn<br>Caller ID:<br>Calling TON: 0<br>Caller ID name:<br>Mailbox: none<br>
Destroy: 0<br>InAlarm: 0<br>Signalling Type: FXS Kewlstart<br>Radio: 0<br>Owner: <None><br>Real: <None><br>Callwait: <None><br>Threeway: <None><br>Confno: -1<br>Propagated Conference: -1<br>Real in conference: 0<br>
DSP: no<br>Busy Detection: no<br>TDD: no<br>Relax DTMF: yes<br>Dialing/CallwaitCAS: 0/0<br>Default law: ulaw<br>Fax Handled: no<br>Pulse phone: no<br>Gains (RX/TX): 0.00/0.00<br>Dynamic Range Compression (RX/TX): 0.00/0.00<br>
DND: no<br><b>Echo Cancellation:<br> 128 taps<br> (unless TDM bridged) currently OFF</b><br>Wait for dialtone: 0ms<br>Actual Confinfo: Num/0, Mode/0x0000<br>Actual Confmute: No<br>Hookstate (FXS only): Offhook<br>
callcenter*CLI><br><br><br>