[Asterisk-cvs] asterisk dsp.c,1.25,1.26

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Jul 12 16:20:28 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12205

Modified Files:
	dsp.c 
Log Message:
attempt to stop lamers from doing inband DTMFon compressed codecs

Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- dsp.c	7 Jun 2004 23:38:39 -0000	1.25
+++ dsp.c	12 Jul 2004 20:06:05 -0000	1.26
@@ -1464,7 +1464,7 @@
 			shortdata[x] = AST_ALAW(odata[x]);
 		break;
 	default:
-		ast_log(LOG_WARNING, "Unable to process inband DTMF on %d frames\n", af->subclass);
+		ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_codec2str(af->subclass));
 		return af;
 	}
 	silence = __ast_dsp_silence(dsp, shortdata, len, NULL);




More information about the svn-commits mailing list