[OpenSIPS-Users] How to change SIP response code?

Самусенко Андрей samusenko at msm.ru
Thu Apr 13 06:19:12 EDT 2017


Hello. OpenSIPs 2.2.2

Continue http://www.opensips.org/pipermail/users/2009-September/008294.html

"failure_route[1] {

        if (t_check_status("500")) {
                if (  $(<reply>hdr(Disconnected)) != NULL )  {
                        t_reply("480", "Temporarily Unavailable");
                        break;
                }
        }

}" - does not work. Because "$(<reply>hdr(Disconnected))" equal NULL.





More information about the Users mailing list