[sr-dev] Why is any bflag visible under failure_route?

Iñaki Baz Castillo ibc at aliax.net
Thu Mar 25 21:14:45 CET 2010


2010/3/25 Klaus Darilion <klaus.mailinglists at pernau.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 at aliax.net>



More information about the sr-dev mailing list