2011/8/9 Klaus Darilion klaus.mailinglists@pernau.at:
I wouldn't call it a bug. It is a limitation of how sip-router works, probably a design decision from early SER days. To overcome this limitation and allow manipulation of all branches (not only the main branch), features like the branch route were added.
Any maybe I only want to manipulate a single branch. IMO manipulating all branches is as buggy as manipulating just a single branch - it depends on what the user needs.
The behaviour is unexpected. Imagine you do lookup (which fetchs 2 contacts) and after that, still in route block, do setflag(1). Such flag is set in branch_route for both generated branches. Why setting the $rU in same circumstances should behave different?