[asterisk-commits] file: branch 11 r374755 - /branches/11/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 16:29:14 CDT 2012


Author: file
Date: Tue Oct  9 16:29:07 2012
New Revision: 374755

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374755
Log:
Add a log message for when DTLS-SRTP is requested and the underlying engine does not support it.

(closes issue ASTERISK-20487)
Reported by: mjordan

Modified:
    branches/11/channels/chan_sip.c

Modified: branches/11/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_sip.c?view=diff&rev=374755&r1=374754&r2=374755
==============================================================================
--- branches/11/channels/chan_sip.c (original)
+++ branches/11/channels/chan_sip.c Tue Oct  9 16:29:07 2012
@@ -5534,6 +5534,8 @@
 	if (!(dtls = ast_rtp_instance_get_dtls(rtp)) ||
 	    dtls->set_configuration(rtp, &dialog->dtls_cfg) ||
 	    !(*srtp = sip_srtp_alloc())) {
+		ast_log(LOG_ERROR, "No DTLS-SRTP support present on engine for RTP instance '%p', was it compiled with support for it?\n",
+			instance);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list