Module: kamailio
Branch: 5.5
Commit: 5c0ac5a847022ca43ed2b3607c5be183132b679c
URL:
https://github.com/kamailio/kamailio/commit/5c0ac5a847022ca43ed2b3607c5be18…
Author: frederic <frederic.gaisnon(a)mmtt.fr>
Committer: Victor Seva <linuxmaniac(a)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/5c0ac5a847022ca43ed2b3607c5be18…
Patch:
https://github.com/kamailio/kamailio/commit/5c0ac5a847022ca43ed2b3607c5be18…
---
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);