Hello users

The below  is my  lcr logic . When the first gateway is  failed and second gateway of lcr, has to ruoute the pstn gateway.
but, it say the  400 Bad request,

route[4]
{
        load_gws();
        next_gws();
        t_on_failure("2");
         route(2) ;
}
route[2]
{
       t_relay();
       exit;
}

fialure_route[2] {
          next_gws();
          t_on_failure("2");
         route(2);
}
--
Thanks &Regards
Ravi Prakash Sunkara