[asterisk-commits] oej: branch oej/teapot-1.8 r403008 - /team/oej/teapot-1.8/res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 22 07:41:49 CST 2013


Author: oej
Date: Fri Nov 22 07:41:46 2013
New Revision: 403008

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=403008
Log:
Adding debug 

Modified:
    team/oej/teapot-1.8/res/res_rtp_asterisk.c

Modified: team/oej/teapot-1.8/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/res/res_rtp_asterisk.c?view=diff&rev=403008&r1=403007&r2=403008
==============================================================================
--- team/oej/teapot-1.8/res/res_rtp_asterisk.c (original)
+++ team/oej/teapot-1.8/res/res_rtp_asterisk.c Fri Nov 22 07:41:46 2013
@@ -467,7 +467,11 @@
 	}
 
 	if ((*in & 0xC0) && res_srtp && srtp && res_srtp->unprotect(srtp, buf, &len, rtcp) < 0) {
-	   return -1;
+		if (rtcpdebug) {
+			ast_verbose("Got SRTP from           %s  - failed to decrypt information\n", ast_sockaddr_stringify(&remote_address))
+				     Sent RTP packet to      192.168.16.40
+		}
+	   	return -1;
 	}
 
 	return len;




More information about the asterisk-commits mailing list