i tried something like this:
failure_route [1] {
if (t_check_status("486")) { # busy
rewriteuri("sip:foo@bar.com");
sl_send_reply("302", "Moved Temporarily");
break;
};
}
and got
parse error (sl_send_reply line,xx-yy): Command cannot be used in the block
what is the proper way of doing redirect on busy?
-- juha