Hi!
Is it possible to stop the routing completly from a sub-route?
"break" only leaves the current route block, but I want to stop the
whole processing. For example, I want to put the sanity checks into a
separate route block like shown below.
route[0] {
#sanity checks
route(1);
...
}
route[1]{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
log(1, "too many hops, ->break\n");
break;
};
}
How can I stop the route processing from within route[1]?
btw: I would be nice to return values from route blocks
if (route(1)) ...
regards,
klaus