<div dir="ltr">Hi All. I have a question regarding the failure route.  Currently, my failure route is logging the failed attempts to a database.  However, I've noticed that I am getting all the failures.  Is it possible to get the failure reason from the route?  For example, it was a 404 or a 503, etc.  Here's my logic.  I'd like to include the failure code on there, if possible.<div><br></div><div><div>failure_route[1] {</div><div>        if(is_method("INVITE")) {</div><div>             avp_db_query("INSERT INTO RoutingFailures(FromNumber,ToNumber,FromIP,ToIP) VALUES('$fU','$tU','$si','$td')","","2");;</div><div>        }</div><div>    }</div></div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thank you,</div><div>Alex</div><div><br></div></div>