Re: i4l dtmf errors

From: Matti Aarnio (
Date: Thu Dec 12 2002 - 07:10:04 EST

  This is possibly more of list thing,
  than linux-kernel per se.

On Thu, Dec 12, 2002 at 11:45:26AM +0100, Roy Sigurd Karlsbakk wrote:
> hi
> it seems isdn4linux detects DTMF tones from normal speach. This is rather
> annoying when using i4l for voice with This is tested on all
> recent kernels
> see thread "[MGCP] Asterisk/D-Link phones generates ugly DTMF tones!!!" at
> for more info.

  Quick reading of drivers/isdn/isdn_audio.c(*) shows that it does use
  fixed-point Görtzel (Goertzel in english) algorithm for detecting
  tones, but it does _not_ do comparison of received overall signal
  power vs. detected DTMF tone powers.

  When there is signal power outside the DTMF channels, signal should
  not be detected. Also, DTMF tone powers should be roughly equal,
  and exactly two tones should be present for valid detection.

  Adding those power tests should be fairly trivial, but I leave it
  to Somebody Else...

(*) kernel version I looked upon was 2.4.16-0.11custom -- some RH kernel

> roy
> --
> Roy Sigurd Karlsbakk, Datavaktmester
> ProntoTV AS -
> Tel: +47 9801 3356

/Matti Aarnio
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:24 EST