Module: kamailio
Branch: master
Commit: 9ceeabc299e08c944014c16ef54cd159b063be2e
URL:
https://github.com/kamailio/kamailio/commit/9ceeabc299e08c944014c16ef54cd15…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-08-19T13:15:53Z
Revert "tm: restore X/AVP values from initial transaction in DNS failover
processing"
This reverts commit d6b1c20d3ad94d9136cf247e67b7fc0d32b18d3b.
---
Modified: src/modules/tm/t_fwd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9ceeabc299e08c944014c16ef54cd15…
Patch:
https://github.com/kamailio/kamailio/commit/9ceeabc299e08c944014c16ef54cd15…
---
diff --git a/src/modules/tm/t_fwd.c b/src/modules/tm/t_fwd.c
index 6b26f28f6a..fbcf1b3e02 100644
--- a/src/modules/tm/t_fwd.c
+++ b/src/modules/tm/t_fwd.c
@@ -1042,8 +1042,6 @@ int add_uac_dns_fallback(struct cell *t, struct sip_msg* msg,
t->uac[t->nr_of_outgoings].on_branch_failure = old_uac->on_branch_failure;
/* copy branch flags */
t->uac[t->nr_of_outgoings].branch_flags = old_uac->branch_flags;
- /* restore X/AVP values from initial transaction */
- tm_xdata_swap(t, 0, 0);
if (cfg_get(tm, tm_cfg, reparse_on_dns_failover)){
/* Reuse the old buffer and only replace the via header.