Summary: | ASTERISK-14039: hpec echo cancellation not working in Asterisk 1.4.24/dahdi-latest | ||
Reporter: | Papadomitsos Panagiotis (priestjim) | Labels: | |
Date Opened: | 2009-04-29 16:15:47 | Date Closed: | 2009-05-03 03:03:08 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_dahdi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Ubuntu 9.04 (happened to 8.10 also) Linux 2.6.23.17 & 2.6.28 from source Asterisk 1.4.24.1 from source Asterisk Addons 1.4.8 dahdi-linux-complete-2.1.0.4+2.1.0.2 Digium TDM410P & TDM400 Echo cancellation is not working when hpec is selected. dahdi initializes properly, license is verified and everything is ok. When making placing a call however, I get horrible echo which I did not get before switching from zaptel/asterisk 1.4.21 to dahdi/asterisk 1.4.24. Debugging got me this: [Apr 29 23:44:54] DEBUG[4538]: chan_dahdi.c:2294 dahdi_call: Dialing '4001' [Apr 29 23:44:54] DEBUG[4538]: chan_dahdi.c:2372 dahdi_call: Deferring dialing... [Apr 29 23:44:55] DEBUG[4538]: chan_dahdi.c:5036 __dahdi_exception: Exception on 15, channel 1 [Apr 29 23:44:55] DEBUG[4538]: chan_dahdi.c:4131 dahdi_handle_event: Got event Hook Transition Complete(12) on channel 1 (index 0) [Apr 29 23:44:55] DEBUG[4538]: chan_dahdi.c:4871 dahdi_handle_event: Sent deferred digit string: T4001w [Apr 29 23:44:56] DEBUG[4538]: chan_dahdi.c:5036 __dahdi_exception: Exception on 15, channel 1 [Apr 29 23:44:56] DEBUG[4538]: chan_dahdi.c:4131 dahdi_handle_event: Got event Dial Complete(9) on channel 1 (index 0) [Apr 29 23:44:56] DEBUG[4538]: chan_dahdi.c:1780 dahdi_enable_ec: Enabled echo cancellation on channel 1 [Apr 29 23:44:56] DEBUG[4538]: chan_iax2.c:3826 iax2_answer: Answering IAX2 call [Apr 29 23:44:56] DEBUG[4538]: chan_dahdi.c:5462 dahdi_indicate: Requested indication 20 on channel DAHDI/1-1 [Apr 29 23:44:57] DEBUG[4530]: chan_iax2.c:7625 socket_process: Ooh, voice format changed to 4 [Apr 29 23:44:57] DEBUG[4524]: chan_iax2.c:7576 socket_process: Received iseqno 5 not within window 6->6 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [Apr 29 23:44:57] DEBUG[4538]: chan_dahdi.c:5361 my_dahdi_write: Write returned -1 (Resource temporarily unavailable) on channel 1 [..] [Apr 29 23:44:59] DEBUG[4538]: chan_dahdi.c:2811 dahdi_hangup: dahdi_hangup(DAHDI/1-1) [Apr 29 23:44:59] DEBUG[4538]: chan_dahdi.c:2844 dahdi_hangup: Hangup: channel: 1 index = 0, normal = 15, callwait = -1, thirdcall = -1 [Apr 29 23:44:59] DEBUG[4538]: chan_dahdi.c:1812 dahdi_disable_ec: disabled echo cancellation on channel 1 [Apr 29 23:44:59] DEBUG[4538]: chan_dahdi.c:3280 dahdi_setoption: Set option TDD MODE, value: OFF(0) on DAHDI/1-1 Any help would be appreciated. I tried to provide any relevant information I could think of, please notify me if you need anything more. ****** ADDITIONAL INFORMATION ****** TDM400P and TDM410P configs are on different systems but identical unless on device specific options. /etc/dahdi/system.conf loadzone=gr defaultzone=gr fxsks=1 channels=1 echocanceller=hpec,1 /etc/dahdi/modules wctdm24xxp dahdi_dummy dmesg (/usr/sbin/dahdihpec_enable symlink to zaphpec_enable): dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.1.0.4 ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 24 (level, low) -> IRQ 24 Port 1: Installed -- AUTO FXO (FCC mode) Port 2: Not installed Port 3: Not installed Port 4: Not installed VPM100: Not Present Found a Wildcard TDM: Wildcard TDM410P (4 modules) dahdi_dummy: RTC rate is 1024 dahdi: Registered tone zone 13 (Greece) dahdi_echocan_hpec: Registered echo canceler 'HPEC' Digium High-Performance Echo Canceller, version 10.04.001 Optimized for "nocona" CPU architecture Coypright (C) 2006-2007 Digium, Inc. and Adaptive Digital Technologies, Inc. This module is supplied under a commercial license granted by Digium, Inc. Please see the full license text supplied by the accompanying "register" utility, or ask for a copy from Digium. hpec_license_check: License granted for 1 channels dahdi_dummy: RTC rate is 1024 dahdi_echocan_hpec: Registered echo canceler 'HPEC' Digium High-Performance Echo Canceller, version 10.04.001 Optimized for "nocona" CPU architecture Coypright (C) 2006-2007 Digium, Inc. and Adaptive Digital Technologies, Inc. This module is supplied under a commercial license granted by Digium, Inc. Please see the full license text supplied by the accompanying "register" utility, or ask for a copy from Digium. hpec_license_check: License granted for 1 channels /etc/asterisk/chan_dahdi.conf [trunkgroups] [channels] language=gr signalling=fxs_ks transfer=yes canpark=yes cancallforward=yes echocancel=1024 echocancelwhenbridged=no context=from-zap-1 channel => 1 context=default | ||
Comments: | By: Papadomitsos Panagiotis (priestjim) 2009-04-29 16:26:50 I forgot to mention that I am running hpec-10.04.001-nocona By: snuffy (snuffy) 2009-05-03 03:03:07 Hello priestjim, This issue with HPEC will have to go through support@digium.com since its a supported product by digium. You could test if echo cancellation works at all by trying 'mg2' as well, report that as well when you email digium for support. thanks |