2010/3/25 Klaus Darilion <klaus.mailinglists(a)pernau.at>at>:
I guess append_branch copies also all the flags
Even if it was false, I expect this is not possible to determine the
exact branch whose final negative response was selected to terminate
the incoming INVITE transaction, this is:
- INVITE arrives and the proxy does parallel forking (branch-A and branch-B).
- bflag(1) is set for branch-A.
- blfag(1) is NOT set for branch-B.
- branch-A replies 486.
- branch-B replies 480.
- On failure route you get the TM selected final negative response,
but this process just means selecting the "best" one of the received
negative replies. I expect that selecting such reply doesn't mean that
we can get in failure_route the bflags associated to the branch whose
reply TM has selected.
So IMHO my question was originally wrong as no bflag should be
inspected in failure_route (undefined result when doing it).
--
Iñaki Baz Castillo
<ibc(a)aliax.net>