route[1] { # send it out now; use stateful forwarding as it works reliably # even for UDP2TCP t_on_failure("1"); t_relay(); exit; } failure_route[1] { log(1,"couldn't route to primary, trying secondary\n"); append_branch("sip:1@ipbx.provider.org:5061"); t_relay(); } (END)