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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-02-04T12:04:39+01:00

topos_htable: use the xtag also for base64 key

---

Modified: src/modules/topos_htable/topos_htable_storage.c

---

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

---

diff --git a/src/modules/topos_htable/topos_htable_storage.c 
b/src/modules/topos_htable/topos_htable_storage.c
index 52044df8734..043652e5280 100644
--- a/src/modules/topos_htable/topos_htable_storage.c
+++ b/src/modules/topos_htable/topos_htable_storage.c
@@ -277,8 +277,8 @@ static int tps_htable_load_initial_method_branch(tps_data_t 
*md, tps_data_t *sd)
                                TPS_BASE64_SIZE - 1);
                base64url_enc(md->a_callid.s, md->a_callid.len, 
_tps_base64_buf[1],
                                TPS_BASE64_SIZE - 1);
-               base64url_enc(md->b_tag.s, md->b_tag.len, _tps_base64_buf[2],
-                               TPS_BASE64_SIZE - 1);
+               base64url_enc(
+                               xtag.s, xtag.len, _tps_base64_buf[2], 
TPS_BASE64_SIZE - 1);
                base64url_enc(
                                xuuid.s, xuuid.len, _tps_base64_buf[3], 
TPS_BASE64_SIZE - 1);
 

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to