[SR-Users] bflag under failure_route (kamailio 1.5)

Iñaki Baz Castillo ibc at aliax.net
Mon Oct 25 18:25:17 CEST 2010


Hi, I know that handling bflags outside of branch_route is not a good
idea. Anyhow I have a doubt:

1) In a normal route I set "setbflag(i:1)", so the bflag will be set
for all the branches that could be generated  for this incoming
transaction. This also involves creating new branches manually under
failure_route, am I right?
Note: I do know that it would be much better just to use flag instead of bflags.

2) The outgoing transaction(s) fail so I enter into failure_route. If
I inspect here bflag(i:1) will it be set or not? I remember that it
will be set.

3) Then I call append_branch in failure_route, or perhaps call
loockup("location") and I expect that all the generated branches will
have the bflag set, am I right?

Thanks a lot.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list