in branch route i execute:
t_on_branch_failure("contact");
xlog("L_INFO", "Routing $rm <$ru> to contact\n");
and in branch_failure route i have:
event_route [tm:branch-failure:contact] {
if (t_check_status("486")) {
xlog("L_INFO", "Got 486 response to <$ru>\n");
};
and i get to syslog:
Apr 13 21:44:07 siika /usr/sbin/sip-proxy[17475]: INFO: Routing INVITE
<sip:test-0x11107b0@192.98.102.30:5064> to contact
Apr 13 21:44:11 siika /usr/sbin/sip-proxy[17437]: INFO: Got 486 response to
<sip:test@test.tutpro.com>
why has $ru in branch_failure route changed from $ru of the branch to
original request uri (aor)?
i would expect to see in $ru of branch_failure route the $ru of the
branch. is this a bug? if not, is there any means in branch_failure
route to get access to the branch that failed.
-- juha