[asterisk-dev] hardware DTMF

marek cervenka cervajs at fpf.slu.cz
Thu Jul 29 06:24:17 CDT 2010


Hello,

in these days digium/sangoma cards have hardware DTMF detection in 
HWEC(echo cancelation) module

i'm checked main/dsp.c and include/asterisk/dsp.h and i can't find how 
this is activated

i found in hwdtmf patch for chan_ss7 this

+   if(pvt->dsp){
+               processed_frame = ast_dsp_process(chan, pvt->dsp, &pvt->frame);
+   } else {
+               /*Incase of HWDTF */
+               processed_frame = &pvt->frame;
+       }

this only mean that we disable ast_dsp_process(sw dtmf detection) on 
channel and let hwdtmf automagically detect dtmf?

can you someone explain how this works?


hwdtmf patch for chan_ss7
http://www.voip-info.org/wiki/view/chan_ss7+HWDTMF+patch
works only for zaptel/asterisk 1.4

dou you have idea why it is not working for dahdi/asterisk 1.6.2?

many thanks


---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
jabber          - cervajs at njs.netlab.cz
CVT 		- http://cvt.fpf.slu.cz
FPF SLU OPAVA 	- http://www.fpf.slu.cz
=======================================




More information about the asterisk-dev mailing list