[SR-Users] Modifying $rU after lookup()

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 9 17:09:48 CEST 2011



Am 09.08.2011 16:40, schrieb Iñaki Baz Castillo:
> 2011/8/9 Klaus Darilion <klaus.mailinglists at pernau.at>:
>> AFAIK no. But you can do it in a "branch route" for every branch separately.
> 
> And isn't it a bug? why the RURI username is just changed in a single
> branch? Theorically operations over RURI made in a route block should
> affect to all the branches, am I wrong? it's the very same as giving
> value to a flag or AVP after doing loockup and fetching multiple
> contacts. If I inspect such flag or AVP in branch_route I should find
> it for every branches. Why should changing the RURI behave different?
> 
> IMHO it's a bug, or do I miss something?

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.

regards
Klaus



More information about the sr-users mailing list