[sr-dev] [tracker] Comment added: tm:branch-failure event_route is not executed on all branch failures

sip-router bugtracker at sip-router.org
Mon May 20 18:26:03 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#296 -  tm:branch-failure event_route is not executed on all branch failures
User who did this - Juha Heinanen (jh)

----------
i don't use append_branch and i don't have corex module in my config and thus cannot test with it.  i tested a simpler case, where only $ru and $du are set similar to this:

request_route {
xlog("===== main route block\n");
$ru = "sip:foo at bar.com";
$du = "sip:127.0.0.1:9;transport=tcp";
t_on_failure("x");
t_on_branch_failure("x");
set_forward_no_connect();
t_relay();
$var(rc) = $rc;
xlog("===== t relay return code: $rc\n");
exit;
}

and got:

May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: INFO: activating failure and branch failure routes
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: ERROR: <core> [tcp_main.c:2781]: tcpconn_1st_send(): connect 127.0.0.1:9 failed (RST) Connection refused
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: ERROR: <core> [tcp_main.c:2791]: tcpconn_1st_send(): 127.0.0.1:9: connect & send  for 0x7ff2f7b63030 failed: Connection refused (111)
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: ERROR: tm [../../forward.h:216]: msg_send(): msg_send: ERROR: tcp_send failed
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: ERROR: tm [t_fwd.c:1592]: t_send_branch(): ERROR: t_send_branch: sending request on branch 0 failed
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: ERROR: tm [t_fwd.c:1595]: t_send_branch(): putting branch 0 on hold 
May 20 19:21:56 siika /usr/sbin/sip-proxy[20734]: INFO: t_relay() failed

can you test with the above simpler config and see what you get?

----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=296#comment881

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list