[SR-Users] event_route[tm:branch-failure] question

Juha Heinanen jh at tutpro.com
Sun Apr 13 20:52:31 CEST 2014


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 at 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 at 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



More information about the sr-users mailing list