[SR-Users] R: R: R: lcr module: strip and tag
Juha Heinanen
jh at tutpro.com
Fri Apr 29 17:13:33 CEST 2011
Alida - Danilo SMALDONE writes:
> Could you please send a simple script with load_gws() and next_gw() working?
> I've tried but I'll never seen working strip and tag
for example:
if (!load_gws("1")) {
xlog("L_ERR", "Cannot load gws for $rm <$ru>\n");
send_reply("500", "Server Internal Error - Cannot load gateways");
exit;
};
if (!next_gw()) {
xlog("L_WARN", "No gateways for $rm <$ru>\n");
send_reply("503", "Service not available - No gateways");
exit;
};
if (t_relay())
exit;
-- juha
More information about the sr-users
mailing list