[asterisk-commits] file: trunk r428034 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 16 06:12:44 CST 2014


Author: file
Date: Sun Nov 16 06:12:33 2014
New Revision: 428034

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=428034
Log:
chan_sip: Fix bug where DTLS configuration from general would copy dtlsenable.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=428034&r1=428033&r2=428034
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Nov 16 06:12:33 2014
@@ -30404,6 +30404,7 @@
 	/* Set the default DTLS settings from default_tls_cfg */
 	ast_rtp_dtls_cfg_free(&peer->dtls_cfg);
 	ast_rtp_dtls_cfg_copy(&default_dtls_cfg, &peer->dtls_cfg);
+	peer->dtls_cfg.enabled = FALSE;
 
 	for (; v || ((v = alt) && !(alt=NULL)); v = v->next) {
 		if (!devstate_only) {




More information about the asterisk-commits mailing list