Below is the example from http://kamailio.org/docs/modules/3.2.x/modules/tm.htm 
:

failure_route[0]{
        if (t_check_status("5[0-9][0-9]")){
                # I do not like the 5xx responses,
                # so I give another chance to "foobar.com",
                # and I drop all the replies to make sure that
                # they are not forwarded to the caller.
                t_drop_replies();
                
                rewritehostport("foobar.com");
                append_branch();
                t_relay();
        }
}

Why do append_branch() is present before t_relay().
I'm asking because I didn't used it in failure routes and call rerouting on 
various conditions worked great.



_______________________________________________
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