[OpenSIPS-Users] reason headers

Jan D. j-doedel at zonnet.nl
Sat Dec 31 10:09:21 CET 2011


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.



More information about the Users mailing list