2002-12-16 17:47:20

by Wolfgang Fritz

[permalink] [raw]
Subject: [PATCH] (Was: i4l dtmf errors)

<ver?ffentlicht & per Mail versendet>

Kai Germaschewski wrote:

> On Sat, 14 Dec 2002, Wolfgang Fritz wrote:
>
>> > it seems isdn4linux detects DTMF tones from normal speach. This is
>> > rather annoying when using i4l for voice with Asterisk.org. This is
>> > tested on all recent kernels
>>
>> The DTMF detection is broken since kernel 2.0.x. I have a patch for a
>> 2.2 kernel which may manually be applied 2.4 kernels with some manual
>> work. It fixes an overflow problem in the goertzel algorithm (which
>> does the basic tone detection) and changes the algorithm to detect
>> the DTMF pairs. If interested, I can try to recover that patch.
>
> If you dig out that patch and submit it (to me), I'm pretty sure
> there's a good chance of it going into the official kernel. ISTR there
> was talk about that earlier, but nothing ever happened.
>
> --Kai
>

Here is the patch against 2.4.20.

Wolfgang
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


Attachments:
dtmf.patch (4.72 kB)

2003-01-06 09:48:58

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: Re: [PATCH] (Was: i4l dtmf errors)

hi

thanks for the patch, but sorry - it really didn't help anything. still
meep-meep's all over ...

roy

On Monday 16 December 2002 18:44, Wolfgang Fritz wrote:
> <ver?ffentlicht & per Mail versendet>
>
> Kai Germaschewski wrote:
> > On Sat, 14 Dec 2002, Wolfgang Fritz wrote:
> >> > it seems isdn4linux detects DTMF tones from normal speach. This is
> >> > rather annoying when using i4l for voice with Asterisk.org. This is
> >> > tested on all recent kernels
> >>
> >> The DTMF detection is broken since kernel 2.0.x. I have a patch for a
> >> 2.2 kernel which may manually be applied 2.4 kernels with some manual
> >> work. It fixes an overflow problem in the goertzel algorithm (which
> >> does the basic tone detection) and changes the algorithm to detect
> >> the DTMF pairs. If interested, I can try to recover that patch.
> >
> > If you dig out that patch and submit it (to me), I'm pretty sure
> > there's a good chance of it going into the official kernel. ISTR there
> > was talk about that earlier, but nothing ever happened.
> >
> > --Kai
>
> Here is the patch against 2.4.20.
>
> Wolfgang
>
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-kernel" in the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/

--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.