Module: kamailio
Branch: master
Commit: 86d233d34b06016fc3436ca4574155959d24bb16
URL:
https://github.com/kamailio/kamailio/commit/86d233d34b06016fc3436ca45741559…
Author: frederic <frederic.gaisnon(a)mmtt.fr>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-03-03T10:13:02+01:00
topos_redis: contact on A side is never updated on dialog update
---
Modified: src/modules/topos_redis/topos_redis_storage.c
---
Diff:
https://github.com/kamailio/kamailio/commit/86d233d34b06016fc3436ca45741559…
Patch:
https://github.com/kamailio/kamailio/commit/86d233d34b06016fc3436ca45741559…
---
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);