Block SIP 30X requests

Hi!

How can I block incoming redirection (SIP 30X) requests?
Users should not be able to redirect their calls in this setup.
Browsing the docs I did not find a solution:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip

Example:
Kamailio has such a feature:

#!ifdef WITH_BLOCK3XX
	# block call redirect based on 3xx replies.
	if (t_check_status("3[0-9][0-9]")) {
		t_reply("404","Not found");
		exit;
	}
#!endif

Thanks,
Kevin

Fixed by setting “allow_transfer” to no. Too obvious… :wink: