This is the part of the code i tried (without any luck)

route[0]
{

        ...

        if(search("Reason"))
        {
                remove_hf("Reason");
                xlog("L_INFO", " INFO : delete Reason header\n");
        }

        ...

        t_on_failure("1");
        if(t_relay("0x05"))
        {
                xlog("L_INFO", " INFO : t_relay O.K.\n");
        }
        else
        {
                xlog("L_INFO", " INFO : t_relay_error\n");
                sl_reply_error();
        }

}

I also tried a t_relay("0x13"), because the 0x08 flag has something to do
with the reason header. My opensips version is the latest (1.7.1), compiled
from sources as deb file for debian.

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/reason-headers-tp7137781p7139871.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to