Folks,
We came over the problem with on-failure processing. In a nutshell our config looks like the following:
route { if (method == "INVITE") { rewriteuser("345678"); rewritehostport("1.1.1.1:5060"); t_on_failure("1"); t_relay(); break; }; }
failure_route[1] { rewritehostport("2.2.2.2:5060"); append_branch(); t_relay(); }
The problem is that if transaction to 1.1.1.1 fails and we are initiating another transaction to 2.2.2.2, the username part of requiest URI sent to 2.2.2.2 is original one, not "345678", as it could be expected.
Any ideas?
-Maxim