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

Author: Alexis Hadjisotiriou <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2025-12-12T17:02:16+01:00

rtpengine: Changed the hash_algo parameter to be by default 2 (CRC32) instead 
of 0 (legacy)

rtpengine: Remove trailing whitespace in rtpengine.c

---

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

---

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

---

diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml 
b/src/modules/rtpengine/doc/rtpengine_admin.xml
index fbb0baa768a..72bd6793139 100644
--- a/src/modules/rtpengine/doc/rtpengine_admin.xml
+++ b/src/modules/rtpengine/doc/rtpengine_admin.xml
@@ -2343,7 +2343,7 @@ modparam("rtpengine", "control_cmd_tos", 144)
                        CRC32 - 2 (calculate crc32 sum over the callid).
                </para>
                <para>
-                       Default value is 0, legacy algorithm.
+                       Default value is 2, CRC32.
                </para>
                <para>
                        The values not falling into the range 
<quote>0-2</quote> are ignored.
diff --git a/src/modules/rtpengine/rtpengine.c 
b/src/modules/rtpengine/rtpengine.c
index 9645dacfb04..c36c09b2a95 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -418,7 +418,7 @@ int force_send_ip_af = AF_UNSPEC;
 static str _rtpe_wsapi = STR_NULL;
 lwsc_api_t _rtpe_lwscb = {0};
 
-static enum hash_algo_t hash_algo = RTP_HASH_CALLID;
+static enum hash_algo_t hash_algo = RTP_HASH_CRC32_CALLID;
 
 static str rtpengine_dtmf_event_sock;
 static int rtpengine_dtmf_event_fd;

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to