[Home]

Summary:DAHLIN-00302: "Failed to apply echo can changes on channel 243 00107001!" in /var/log/syslog.
Reporter:ibercom (ibercom)Labels:
Date Opened:2012-10-01 11:43:48Date Closed:2012-10-04 15:27:55
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:wct4xxp
Versions:2.6.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Attachments:( 0) 0001-wct4xxp-EC-channel-calculation-in-TONEDETECT-assumes.patch
Description:I have the card:

pci: 0000:12:02.0 wct4xxp + D161: 0410 Wildcard TE410P (4th Gen)

running with Asterisk 1.8.17.0-rc1. Everything fine until I updated the version of DAHDI drivers:

DAHDI Version: 2.6.1 Echo Canceller: HWEC

The earlier version (2.4.0) hadn't errors. Now, with the same configuration and all the same, I have the following errors in /var/log/syslog:

Oct  1 14:24:34 asterisk kernel: [4506977.218546] Failed to apply echo can chan
ges on channel 243 00107001!
Oct  1 14:24:34 asterisk kernel: [4506977.218549] Failed to apply dtmf mute cha
nges on channel 243!
Oct  1 14:24:34 asterisk kernel: [4506977.218552] Failed to apply echo can chan
ges on channel 241 00107001!
Oct  1 14:24:34 asterisk kernel: [4506977.218555] Failed to apply dtmf mute cha
nges on channel 241!

Oct  1 14:27:56 asterisk kernel: [4507179.695537] Failed to apply echo can chan
ges on channel 251 00107001!
Oct  1 14:27:56 asterisk kernel: [4507179.695540] Failed to apply dtmf mute cha
nges on channel 251!

Oct  1 14:34:36 asterisk kernel: [4507579.707541] Failed to apply echo can chan
ges on channel 249 00107001!
Oct  1 14:34:36 asterisk kernel: [4507579.707544] Failed to apply dtmf mute cha
nges on channel 249!

The system only have 128 channels, why 243, 241, 251 or 249 ?
Errors sometimes occur in twos and sometimes in fours.

I think it happens when 'Native bridging DAHDI' channels.
Comments:By: ibercom (ibercom) 2012-10-01 12:07:09.310-0500

I have chan_dahdi.conf with:

  echocancel=yes
  echocancelwhenbridged=no

The dahdi config is simple /etc/dahdi/system.conf:

#
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
hardhdlc=16
echocanceller=hwec,1-15,17-31

#
span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
hardhdlc=47
echocanceller=hwec,32-46,48-62

#
span=3,0,0,ccs,hdb3,crc4
bchan=63-77,79-93
hardhdlc=78
echocanceller=hwec,63-77,79-93

#
span=4,0,0,ccs,hdb3,crc4
bchan=94-108,110-124
hardhdlc=109
echocanceller=hwec,94-108,110-124

# Global data

loadzone        = es
defaultzone     = es


By: Shaun Ruffell (sruffell) 2012-10-01 14:17:27.400-0500

ibercom: I think I see the problem.  Care to try the attached patch?

You should be able to apply it to your DAHDI sources like:

{noformat}
wget "https://issues.asterisk.org/jira/secure/attachment/44788/0001-wct4xxp-EC-channel-calculation-in-TONEDETECT-assumes.patch" -O - | patch -p 1
{noformat}

By: ibercom (ibercom) 2012-10-02 08:07:14.131-0500

I applied the patch. Now, the system hasn't errors, the patch works ok.
Thank you.


By: Russ Meyerriecks (rmeyerriecks) 2012-10-04 15:27:55.264-0500

Patch applied to trunk
http://svnview.digium.com/svn/dahdi?view=revision&revision=10733

By: Alec Davis (alecdavis) 2013-03-03 20:36:33.752-0600

This patch also needs to be applied to the 2.6 branch.

We were running SVN-branch-2.6-r10457, only have 64 channels, and are seeing these and other channels with errors;
Feb 25 09:45:52 astrid kernel: [8435358.999174] Failed to apply echo can changes on channel 248 00107001!
Feb 25 09:45:52 astrid kernel: [8435358.999177] Failed to apply dtmf mute changes on channel 248!
Feb 25 09:56:24 astrid kernel: [8435990.817644] Failed to apply echo can changes on channel 240 00107001!
Feb 25 09:56:24 astrid kernel: [8435990.817647] Failed to apply dtmf mute changes on channel 240!

By: Russ Meyerriecks (rmeyerriecks) 2013-03-04 11:05:09.241-0600

Alec,
 Could you switch to the git repo at:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary

branch 2.6.y has the patch you need.