* timeouts by default */
~METHOD_BYE, /* tm_blst_methods_lookup -- look-up the blacklist
* for every method except BYE by default */
- 0 /* cancel_b_method used for e2e and 6xx cancels*/
+ 0, /* cancel_b_method used for e2e and 6xx cancels*/
+ 1, /* reparse_on_dns_failover */
};
void *tm_cfg = &default_tm_cfg;
{"cancel_b_method", CFG_VAR_INT, 0, 2, cancel_b_flags_fixup, 0,
"How to cancel branches on which no replies were received: 0 - fake"
" reply, 1 - retransmitting the request, 2 - send cancel"},
+ {"reparse_on_dns_failover", CFG_VAR_INT, 0, 1, reparse_on_dns_failover_fixup, 0,
+ "if set to 1, the SIP message after a DNS failover is "
+ "constructed from the outgoing message buffer of the failed "
+ "branch instead of from the received request"},
{0, 0, 0, 0, 0, 0}
};
unsigned int tm_blst_methods_add;
unsigned int tm_blst_methods_lookup;
unsigned int cancel_b_flags;
+ int reparse_on_dns_failover;
};
extern struct cfg_group_tm default_tm_cfg;