It's in the example I-CSCF config:

---

failure_route[register_failure]
{
        if (t_branch_timeout() || t_check_status("([5-6][0-9][0-9])")){
                if (I_scscf_select("1")) {
                        t_on_reply("register_reply");
                        t_on_failure("register_failure");
                        if (!t_relay()) {
                                t_reply("500","Error forwarding towards next 
S-CSCF");
                                break;
                        }
                        break;
                } else {
                        t_reply("500", "Server error on UAR select next 
S-CSCF");
                        break;
                }
        } else {
                if (!t_check_status("(401)")){
                        xlog("L_DBG", "dropping scscf list on register 
failure");
                        I_scscf_drop();
                } else {
                        xlog("L_DBG", "This is a 401 - keep scscf list to do 
optimisation");
                }
                break;
        }
}



--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to