[sr-dev] git:5.5:5c0ac5a8: topos_redis: contact on A side is never updated on dialog update

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


Module: kamailio
Branch: 5.5
Commit: 5c0ac5a847022ca43ed2b3607c5be183132b679c
URL: https://github.com/kamailio/kamailio/commit/5c0ac5a847022ca43ed2b3607c5be183132b679c

Author: frederic <frederic.gaisnon at mmtt.fr>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2022-03-03T10:14:59+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/5c0ac5a847022ca43ed2b3607c5be183132b679c.diff
Patch: https://github.com/kamailio/kamailio/commit/5c0ac5a847022ca43ed2b3607c5be183132b679c.patch

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index 0d21cbc2d1..456d54ebee 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -1321,7 +1321,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