[asterisk-dev] dtmfmode inband chan_sip

Bo Erichsen bo.erichsen at jay.net
Mon Aug 21 16:29:32 MST 2006


I'd like to have * ignore dtmf alltogether. To accomplish that i've used 
dtmfmode inband. But * parses, silences and resends the dtmf to the 
callee. What would be the cleanest way to achive my goal "to have * to 
ignore dtmf". Btw. I have to have asterisk in the mediapath for other 
reasons.

could editing this in chan_sip.c achive it?:
9010c9010
<                      ast_dsp_set_features(p->vad, 
DSP_FEATURE_DTMF_DETECT);
---
 > //                   ast_dsp_set_features(p->vad, 
DSP_FEATURE_DTMF_DETECT);

or this

2228c2228
<                    f = ast_dsp_process(p->owner,p->vad,f);
---
 > //                   f = ast_dsp_process(p->owner,p->vad,f);

-- 
Bo O. Erichsen
Chief Technology Officer

jay.net a/s
Smedeland 32, 2600 Glostrup, Denmark

E-mail: bo.erichsen at jay.net
Phone : +45 3336 6300, Fax: +45 3336 6301
Direct: +45 3336 6304

Prices and products:
http://jay.net
http://hosting.jay.net




More information about the asterisk-dev mailing list