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

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 13 10:03:48 EDT 2017


Hi Andrej,

Is there any parallel forking ? And, are you sure that the 500 reply has 
a Disconnected header ?

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html

On 04/13/2017 01:19 PM, Самусенко Андрей wrote:
> 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.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list