Hi Peter,
Well, you do not want to drop the reply, but to replace it guess, right ?
If so, you can use a failure route and do:
failure_route[bla] {
if (t_check_status([3][0-9][0-9]) {
t_reply("404","Not found");
exit;
}
}
This will replace all 3xx you get with a 404 Not Found reply.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 21.08.2015 18:16, Peter Lemenkov wrote:
Hello All!
Sorry for the dumb question. I'm aware that it's possible to drop
provisional replies using drop() in onreply_route. Is there a way to
drop non-provisional ones?
I'm trying to block some 3xx and 4xx replies completely. I could do it
with my custom B2BUA but maybe OpenSIPS could do this as well?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users