Browse code

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

(cherry picked from commit 86d233d34b06016fc3436ca4574155959d24bb16)

frederic authored on 02/03/2022 14:59:41 • Victor Seva committed on 03/03/2022 09:15:31
Showing 1 changed files
... ...
@@ -1260,7 +1260,7 @@ int tps_redis_update_dialog(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
1260 1260
 	argc++;
1261 1261
 
1262 1262
 	if(mode & TPS_DBU_CONTACT) {
1263
-		TPS_REDIS_SET_ARGS(&md->b_contact, argc, &td_key_b_contact,
1263
+		TPS_REDIS_SET_ARGS(&md->a_contact, argc, &td_key_a_contact,
1264 1264
 				argv, argvlen);
1265 1265
 		TPS_REDIS_SET_ARGS(&md->b_contact, argc, &td_key_b_contact,
1266 1266
 				argv, argvlen);