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(a)in.ilimit.es