El Jueves, 10 de Diciembre de 2009, David escribió:
Hey,
I need to rewrite the $tU variable on a packet before it is relayed. It
is ok if the change is only on the relayed packet and the $tU variable
change. The important thing is that I modify the To header, it seems
that rewritting $tU would be the easiest.
$tU is not writable, but just readable.
If you want to change the "To" header you should do some "dirty"
replacing
operation (see textops module).
I know that user agents do not like this changing, but
I am changing it
on an intermediary server and when the reply comes back, I change it
back to the original value.
Does it mean that the intermediary server inspects To rather than RURI? It
just shouldn't do it.
--
Iñaki Baz Castillo <ibc(a)aliax.net>