Steve Blair writes:
if (!load_gws()) {
sl_send_reply("500", "Server Internal Error - Cannot load
gateways");
return;
} else {
xlog("L_INFO", "\n[SER]: Load Gateways passed\n");
};
t_on_failure("2"); # if gateway unavail go to 4
xlog("L_INFO", "\n[SER] : Relay to first gateway\n");
t_relay();
load_gws() just loads the gws to memory. you have to call next_gw() for
the first gw in route block before t_relay().
-- juha