]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change strictrtp option to default to yes in the RTP module
authorOlle Johansson <oej@edvina.net>
Wed, 21 Sep 2011 08:51:41 +0000 (08:51 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 21 Sep 2011 08:51:41 +0000 (08:51 +0000)
Suggested by Kapejod on Facebook

Review: https://reviewboard.asterisk.org/r/1448/
(closes issue ASTERISK-18587)

Thanks for quick feedback to kpfleming and Tilghman
--Denna och nedanstående rader kommer inte med i loggmeddelandet--

M    CHANGES
M    configs/rtp.conf.sample
M    res/res_rtp_asterisk.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@337178 65c4cc65-6c06-0410-ace0-fbb531ad65f3

CHANGES
configs/rtp.conf.sample
res/res_rtp_asterisk.c

diff --git a/CHANGES b/CHANGES
index 360bda3b301375880b73d7cb9e2cf88446209c94..22d9ddb19dbb3907071c040f87d45615a1b7ed1c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -223,6 +223,11 @@ IAX2 Changes
 * authdebug is now disabled by default. To enable this functionaility again
    set authdebug = yes in iax.conf.
 
+RTP Changes
+-----------
+ * The rtp.conf setting "strictrtp" is now enabled by default. In previous
+   releases it was disabled.
+
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
 ------------------------------------------------------------------------------
index 224dc2abe2ea7dd5299a22ac39e009d2b18e105c..6609530c1b47869e1330374553c5f71253696fe1 100644 (file)
@@ -23,5 +23,5 @@ rtpend=20000
 ;
 ; Enable strict RTP protection. This will drop RTP packets that
 ; do not come from the source of the RTP stream. This option is
-; disabled by default.
+; enabled by default.
 ; strictrtp=yes
index f4e8299bdebcb089796c27548f21ce4a56d8e58e..4621d2cc6e4bb9ba926b36fbc4c9982ffed7c128 100644 (file)
@@ -2829,7 +2829,7 @@ static int rtp_reload(int reload)
        rtpstart = DEFAULT_RTP_START;
        rtpend = DEFAULT_RTP_END;
        dtmftimeout = DEFAULT_DTMF_TIMEOUT;
-       strictrtp = STRICT_RTP_OPEN;
+       strictrtp = STRICT_RTP_CLOSED;
        if (cfg) {
                if ((s = ast_variable_retrieve(cfg, "general", "rtpstart"))) {
                        rtpstart = atoi(s);