On Feb 25, 2004 at 16:42, Alan Litster <alitster(a)telcoelectronics.co.uk> wrote:
Hi,
What's the difference between using forward and t_relay_udp?
forward is stateless, t_relay_udp is statefull.
For example if an INVTIE is received by
mydomain.com and it is to be
redirected to
anotherdomain.com, which would be the prefered method to
use???
If that all you have to do and you don't do tcp to udp tranlation,
forward is ok (and it will also be a little faster and use almost no
memory).
Also, is it required to us a break after each request to halt any further
processing of the routing script?
If you want to halt further processing, yes you have to (forward or
t_relay_udp will not do it for you, so that you can still do something
with the message even after forwarding).
Andrei