[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
HptPerlFile
configuration option.
The following Perl hooks are supported:
TempInbound
Route
statements in config file (may be empty, this means
that either no route at all for this message or it will be routed via
one-to-multi routing(Route normal noroute 2:5004/73.*)).
Before return you can set $flavour - to hold|normal|crash|direct|immediate for required flavour of message. return "" for default routing or address via which this message should be sent. example:
sub route { if ($from eq "2:5004/75.73") return "2:5004/75.0"; else return ""; } |
if source address of message is 2:5004/75.73 then route it via 2:5004/75, otherwise route it using default routing
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |