[ previous ] [ next ] [ threads ]
 To :  Yate mailing list <yate@v...>
 From :  Paul Chitescu <paulc@v...>
 Subject :  Re: [yate] Soft DTMF detection ?
 Date :  Fri, 15 Sep 2006 22:43:47 +0300 (EEST)
Of course, Sangoma A104d can detect DTMFs in hardware and also do echo=20
cancellation. This works both with wanpipe drivers and zaptel drivers.

Needs recent Sangoma drivers - those including the Octasic libraries for=20
controlling the onboard DSP.

The wpchan driver in Yate includes support for hardware DTMF detection=20
since Jul 9, 2006. You will need to specify manually the directory with=20
the include files - ./configure --with-wphwec=3Ddirectory of wanec_iface.h=
=20
and oct6100_api/oct6100api/*.h


Regards,

Paul Chitescu


On Fri, 15 Sep 2006, Etoile [iso-8859-1] Di=E8se wrote:
> Hello again,
>=20
> An horrible idea comes to me. Do you know if the Sangoma A104d card does=
=20
> hardware DTMF detection ?
>=20
> Regards,
>=20
> Le Vendredi 15 Septembre 2006 19:24, Paul Chitescu a =E9crit :
> > Hi!
> >
> > Zaptel driver DTMF detection should work...
> >
> > Just now :( I noticed some older patches of yours (dated June 10 and 11=
)
> > that added the ZT_TONEDETECT ioctl() early in ZapSource::run().
> >
> > The current code does that activation after the B channel was opened, j=
ust
> > before creating the ZapSource that will push the data. This is essentia=
lly
> > the same place so I doubt adding a 2nd call is correct.
> >
> > 1. One difference is that the call is made from another thread - the on=
e
> > that calls ZapChan::openData() - but the kernel should not know about
> > that.
> >
> > 2. Maybe the setting does not "hold" and has to be repeated? Or there
> > should be a delay? Maybe the request fails with EAGAIN and we should
> > retry?
> >
> > Does Yate log a warning when such an attempt fails?
> >
> >
> > Paul Chitescu
> > [...]