t->uac[t->nr_of_outgoings].on_failure = old_uac->on_failure;
t->uac[t->nr_of_outgoings].on_reply = old_uac->on_reply;
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;
if (cfg_get(tm, tm_cfg, reparse_on_dns_failover)){
/* Reuse the old buffer and only replace the via header.