[sr-dev] git:5.4:e2614c01: topos_redis: contact on A side is never updated on dialog update

Victor Seva linuxmaniac at torreviejawireless.org
Thu Mar 3 10:15:58 CET 2022


Module: kamailio
Branch: 5.4
Commit: e2614c014faf61fd1c6f1dccf0264589bf44698f
URL: https://github.com/kamailio/kamailio/commit/e2614c014faf61fd1c6f1dccf0264589bf44698f

Author: frederic <frederic.gaisnon at mmtt.fr>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2022-03-03T10:15:31+01:00

topos_redis: contact on A side is never updated on dialog update

(cherry picked from commit 86d233d34b06016fc3436ca4574155959d24bb16)

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

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

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index fe366403c8..6dd77b0d4a 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -1260,7 +1260,7 @@ int tps_redis_update_dialog(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
 	argc++;
 
 	if(mode & TPS_DBU_CONTACT) {
-		TPS_REDIS_SET_ARGS(&md->b_contact, argc, &td_key_b_contact,
+		TPS_REDIS_SET_ARGS(&md->a_contact, argc, &td_key_a_contact,
 				argv, argvlen);
 		TPS_REDIS_SET_ARGS(&md->b_contact, argc, &td_key_b_contact,
 				argv, argvlen);




More information about the sr-dev mailing list