[asterisk-commits] mmichelson: trunk r220920 - /trunk/main/rtp_engine.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 29 15:20:51 CDT 2009


Author: mmichelson
Date: Tue Sep 29 15:20:48 2009
New Revision: 220920

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220920
Log:
Get rid of annoying and cryptic debug messages.


Modified:
    trunk/main/rtp_engine.c

Modified: trunk/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/rtp_engine.c?view=diff&rev=220920&r1=220919&r2=220920
==============================================================================
--- trunk/main/rtp_engine.c (original)
+++ trunk/main/rtp_engine.c Tue Sep 29 15:20:48 2009
@@ -458,7 +458,6 @@
 	int i;
 
 	for (i = 0; i < AST_RTP_MAX_PT; i++) {
-		ast_debug(2, "Clearing payload %d on %p\n", i, codecs);
 		codecs->payloads[i].asterisk_format = 0;
 		codecs->payloads[i].code = 0;
 		if (instance && instance->engine && instance->engine->payload_set) {
@@ -473,7 +472,6 @@
 
 	for (i = 0; i < AST_RTP_MAX_PT; i++) {
 		if (static_RTP_PT[i].code) {
-			ast_debug(2, "Set default payload %d on %p\n", i, codecs);
 			codecs->payloads[i].asterisk_format = static_RTP_PT[i].asterisk_format;
 			codecs->payloads[i].code = static_RTP_PT[i].code;
 			if (instance && instance->engine && instance->engine->payload_set) {
@@ -627,7 +625,6 @@
 
 	for (i = 0; i < AST_RTP_MAX_PT; i++) {
 		if (codecs->payloads[i].asterisk_format == asterisk_format && codecs->payloads[i].code == code) {
-			ast_debug(2, "Found code %d at payload %d on %p\n", code, i, codecs);
 			return i;
 		}
 	}




More information about the asterisk-commits mailing list