Hi everybody,
following some time ago discussion, a new Pseudo-Variable (PV) is exported by the TM module "- $T_reply_code" - this PV will offer access the the reply code from all different kind of routes. See: http://www.openser.org/docs/modules/1.2.x/tm.html#AEN562
This will allow mainly access (printing, comparing, pushing into AVPs, logging, etc) to the reply code of the winning reply in failure_route.
regards, bogdan