[asterisk-commits] russell: branch 1.8 r317429 - /branches/1.8/main/dsp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 5 17:11:31 CDT 2011


Author: russell
Date: Thu May  5 17:11:19 2011
New Revision: 317429

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317429
Log:
Only display inband DTMF warning if inband DTMF detection is enabled.

(closes issue #18901)
Reported by: irroot

Modified:
    branches/1.8/main/dsp.c

Modified: branches/1.8/main/dsp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/dsp.c?view=diff&rev=317429&r1=317428&r2=317429
==============================================================================
--- branches/1.8/main/dsp.c (original)
+++ branches/1.8/main/dsp.c Thu May  5 17:11:19 2011
@@ -1544,6 +1544,9 @@
 void ast_dsp_set_features(struct ast_dsp *dsp, int features)
 {
 	dsp->features = features;
+	if (!(features & DSP_FEATURE_DIGIT_DETECT)) {
+		dsp->display_inband_dtmf_warning = 0;
+	}
 }
 
 void ast_dsp_free(struct ast_dsp *dsp)




More information about the asterisk-commits mailing list