Hi Andreas,
for re-writing the negative final replies, use the failure route:
failure_route[x] {
if (t_check_status("302")) {
t_reply("480", "Something");
exit;
}
}
regards,
bogdan
Andreas Granig wrote:
Hi,
The docs state that if drop() is called in onreply_route[], any
provisional replies are discarded. How about final replies?
What I want to achieve is to rewrite some reply codes, like:
onreply_route[x] {
if(status=="302") {
t_reply("480", "Something");
drop();
}
}
Would this work as intended?
Thanks,
Andy
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users