[OpenSER-Users-ES] Hecho un lío con los ACK

Iñaki Baz Castillo ibc at in.ilimit.es
Wed May 28 09:55:04 CEST 2008


El Tuesday 27 May 2008 21:15:07 Saúl Ibarra escribió:


	# -----------------------------------------------------------------
	# in-dialog
	# -----------------------------------------------------------------

	if (has_totag()) {
		if (loose_route()) {
			# Por aquí pasan:
			# - ACK ante el 200 OK de un INVITE, re-INVITE, REFER, INFO, BYE, PRACK...
			if (!t_relay())
				sl_reply_error();
			exit;
		}
		else {
			if (is_method("ACK")) {
				if (t_check_trans()) {
					# non loose-route, but stateful ACK; must be an ACK after a 487 or e.g.
					# 404 from upstream server.
					if (!t_relay())
						sl_reply_error();
					exit;
				}
				else {
					# ACK without matching transaction ... ignore and discard.
					exit;
				}
			}
			sl_send_reply("404","Not here");
		}
		exit;
	}



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users-es mailing list