Hello, Bogdan

I understand, thank you very much.

mailto:[email protected]


Hi Denis,

3xx is a final response and it cannot be simply drop (as will let the 
transaction state machine in an ambiguous state). Not to mention that you will 
de-syncronize the callee side (which rejected the call) and the caller side 
(still waiting for a final answer).

What you can do is to replace the 3xx with another final negative reply. Use a 
failure_route to do that:

failure_route[block_redirect]
{
    if (t_check_status("3[0-9][0-9]))
        t_reply("404","Not Found");
}

Regards,
 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 18.08.2016 11:58, Denis wrote:

reject 3xx code Hello

I am using Opensips 2.1.2.
I want to block sending 3xx codes to caller.

In reply route i wrote such code 
if (status=~"30[1,2]") {
 drop();
}

but i see that 302, for example, still process successfully.

Thank you for any help.

-- 
mailto:[email protected] 

_______________________________________________

Users mailing list

[email protected]

http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to