[SR-Users] Retransmission handling

Volkan Oransoy voransoy at gmail.com
Thu Oct 19 10:06:21 CEST 2017


Hi all,

I wonder purpose of this block in default script. What I didn’t understand is the purpose of "t_check_trans()”. Accoording to documentation, this method returns a boolean. So why do we use it even we don’t check output?

	# handle retransmissions
	if (!is_method("ACK")) {
		if(t_precheck_trans()) {
			t_check_trans();
			exit;
		}
		t_check_trans();
	}


/Volkan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171019/ee52bf41/attachment.html>


More information about the sr-users mailing list