El día 26 de julio de 2010 12:48, Raúl Alexis Betancor Santana
<rabs(a)dimension-virtual.com> escribió:
To clarify:
when you call t_on_branch("N") it means that *after*
calling t_relay() the block branch_route[N] will be executed for
*each* branch.
So the position of t_on_branch() is not important (it must be before
t_relay however).
I know, I know ... the real problem to me is that I made lot of changes to the
request BEFORE calling t_relay or lookup, so ... those changes (add_hf,
flags, etc.) be applied to ALL branches when I call t_relay or lookup? ...
only to the first branch? ... not sure ... :-(
Changes done before the branch_route block are changes shared by all
the branches that will be generated.
However in branch_route you can add/remove headers and set bflags for
each branch (by inspecting the $ru or $du).
--
Iñaki Baz Castillo
<ibc(a)aliax.net>