El Viernes, 17 de Julio de 2009, catalina oancea escribió:
Even if I don't activate reply_route, it still
doesn't use the failure
route.
I also tried 503 and 403, for these replies kamailio goes through both
reply and failure routes.
Hi, this is the correct behaviourur. *All* the replies (1XX, 2XX, 3XX, 4XX,
5XX and 6XX) enter into reply_route, for sure (they are replies).
failure_route is executed when ALL the branches have finished with a failure
core (from 3XX to 6XX). In fact, the "best" reply code is chosen by TM module
and that would be the value of $status variable in you check it in
failure_route.
However, according to RFC 3261, a 6XX response *inmediatelly* terminates the
transactions, even if there are non finished branches (those with 1XX). There
is a parameter in TM module to change that behaviour.
--
Iñaki Baz Castillo <ibc(a)aliax.net>