[Asterisk-cvs] asterisk dsp.c,1.33,1.34

markster at lists.digium.com markster at lists.digium.com
Wed Dec 1 16:42:48 CST 2004


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

Modified Files:
	dsp.c 
Log Message:
Use correct function for name of codec (bug #2897)


Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- dsp.c	30 Nov 2004 14:27:36 -0000	1.33
+++ dsp.c	1 Dec 2004 21:41:21 -0000	1.34
@@ -1457,7 +1457,7 @@
 			shortdata[x] = AST_ALAW(odata[x]);
 		break;
 	default:
-		ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_codec2str(af->subclass));
+		ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_getformatname(af->subclass));
 		return af;
 	}
 	silence = __ast_dsp_silence(dsp, shortdata, len, NULL);




More information about the svn-commits mailing list