<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>I am having trouble setting up a failure route to roll over to another on failure. I have failure_route[1] set up to catch 302 redirects and act accordingly. If no redirect is detected then the INVITE should roll to failure route 2, as per the line that says<I> t_on_failure("2");. </I>This is however not what occurs. When an INVITE comes in, and hits failure_route[1] I can see in /var/log/messages that it hit that route, however it never gets to failure_route[2] even though there is no 302, instead the 408 is sent to my sip provider, they ack it, and the call is dropped. Any help is as always greatly appreciated. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>#########################################################################################################</DIV><DIV># FAILURE ROUTE 1 --- 302 REDIRECT ---</DIV><DIV>########################################################################################################</DIV><DIV>failure_route[1]</DIV><DIV>{</DIV><DIV>        xlog("got to failure route 1");</DIV><DIV>                t_on_failure("2");</DIV><DIV>                        if(t_check_status("302")){ </DIV><DIV>                                xlog("$tU has a forward");</DIV><DIV>                                get_redirects("*", "redirect");</DIV><DIV>                                t_relay("my.sip.proxy");</DIV><DIV>                                exit;</DIV><DIV>                        };</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>#######################################################################################################</DIV><DIV># FAILURE ROUTE 2 ----- VOICEMAIL -------</DIV><DIV>########################################################################################################</DIV><DIV>failure_route[2]</DIV><DIV>{</DIV><DIV>                xlog("got to failure route 2");</DIV><DIV>                xlog("$tU getting a vmail");</DIV><DIV>        if (t_check_status("408|486|487")){</DIV><DIV>                revert_uri();</DIV><DIV>                strip(1);</DIV><DIV>                prefix("201");</DIV><DIV>                rewriteport("5070"); </DIV><DIV>                append_branch();</DIV><DIV>                t_relay();</DIV><DIV>                exit;</DIV><DIV>        };</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>