[asterisk-dev] Zaptel DTMF regeneration

Moises Silva moises.silva at gmail.com
Tue Sep 16 19:50:55 CDT 2008


Take your time to read the code. The places I pointed out to you are
the correct ones, at least for detection of DTMF, the routine
ast_dsp_process takes care of that. If you want to see the very
working of the Goertzel algorithm used you could have found so by
checking that routine and seeing that calls dtmf_detect which does the
actual DTMF loop detection.

As of the audio mute, not sure what you mean?

On Mon, Sep 15, 2008 at 6:07 PM, drtester at netzero.com
<drtester at netzero.com> wrote:
>
>
> -- "Moises Silva" <moises.silva at gmail.com> wrote:
> I assume by "regenerate" DTMF tones you mean pass them along to the
> Asterisk core. If so, check channels/chan_dahdi.c dahdi_read()
> routine, and there search for ast_dsp_process(). If you have Asterisk
> 1.4 then channels/chan_zap.c and zt_read() routine.
>
> Well, specifically, I mean where the code:
>  (a) detects the tones, and
>  (b) mutes the audio for the duration of the tones
>
> Are these two in different places?
>
>
> ____________________________________________________________
> Click here to find Medical Transcription Training programs.
> http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijmaKOEnUd74hOEFst8OYh0sbHWf0ADVjLJqVMwhxEoa7V1Sl/
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire



More information about the asterisk-dev mailing list