Module: kamailio
Branch: master
Commit: b1aae5658e84453ce5849a627832efbbb6c20117
URL: 
https://github.com/kamailio/kamailio/commit/b1aae5658e84453ce5849a627832efbbb6c20117

Author: Stefan Mititelu <stefan.mitit...@net2phone.com>
Committer: GitHub <nore...@github.com>
Date: 2024-10-21T08:53:39-04:00

rtpengine: disable aggressive redetection by default (#3992)

---

Modified: src/modules/rtpengine/config.c
Modified: src/modules/rtpengine/doc/rtpengine_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/b1aae5658e84453ce5849a627832efbbb6c20117.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b1aae5658e84453ce5849a627832efbbb6c20117.patch

---

diff --git a/src/modules/rtpengine/config.c b/src/modules/rtpengine/config.c
index 7ea1a0d68e9..ba2bd5c5747 100644
--- a/src/modules/rtpengine/config.c
+++ b/src/modules/rtpengine/config.c
@@ -32,7 +32,7 @@
 
 struct cfg_group_rtpengine default_rtpengine_cfg = {
                60,                                              /* default 
disable timeout in seconds */
-               1,                                               /* default 
aggressive_redetection enabled */
+               0,                                               /* default 
aggressive_redetection disabled */
                1000,                                    /* default wait 
timeout in milliseconds */
                MAX_RTPP_TRIED_NODES, 5, /* rtprengine retries */
 };
diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml 
b/src/modules/rtpengine/doc/rtpengine_admin.xml
index f898aa32979..b443fbc0290 100644
--- a/src/modules/rtpengine/doc/rtpengine_admin.xml
+++ b/src/modules/rtpengine/doc/rtpengine_admin.xml
@@ -219,20 +219,20 @@ modparam("rtpengine", "rtpengine_disable_tout", 20)
                </para>
                <para>
                <emphasis>
-                       Default value is <quote>1</quote> (enabled).
+                       Default value is <quote>0</quote> (disabled).
                </emphasis>
                </para>
                <para>
                        Can be set at runtime, e.g.:
                        <programlisting>
-                       $ &sercmd; cfg.set_now_int rtpengine 
aggressive_redetection 0
+                       $ &sercmd; cfg.set_now_int rtpengine 
aggressive_redetection 1
                        </programlisting>
                </para>
                <example>
                <title>Set <varname>aggressive_redetection</varname> 
parameter</title>
                <programlisting format="linespecific">
 ...
-modparam("rtpengine", "aggressive_redetection", 0)
+modparam("rtpengine", "aggressive_redetection", 1)
 ...
 </programlisting>
                </example>

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to