On Thursday 24 September 2009, Andrei Pelinescu-Onciul wrote:
By default sip-router tm uses exactly what was sent on the last branch when doing dns failover. See http://sip-router.org/docbook/sip-router/branch/master/modules/tm/tm.html #reparse_on_dns_failover
The documented limitations make this seem like a hack. Why not make sure it works all the time?
So this should solve the header added in a branch route and not preserved on dns failover and you don't have to add anything to the script (provided you use sip-router or kamailio 3.0).
Well, it's a bit early to use that in production, isn't it?
One thing to note though, is that branch route is not called when doing dns failover, if reparse_on_dns_failover is set to 1.
If set to 0, will it call branch route for every DNS-based branch? Even if it is the result of an internally generate 408?
Alex.