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)
----------
thanks, now t_relay() returns 1 and failure routes are executed also when use_dns_failover=on.
using the test config in above, both failure routes are executed if tcp destination is not reachable. i just tested and they are also executed when i remove ;transport=tcp from the $ru value.
now only the minor problem remains, i.e., branch failure route is not executed in the very first test after kamailio restart.
also, it would be nice if in case of dead tcp connection, failure route execution would not need to wait until fr_timer expires.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=296#comment896
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.
i tried to start latest kamailio and got crash:
(gdb) where
#0 0x0000000000000000 in ?? ()
#1 0x00000000004d2ecd in sctp_core_check_support () at sctp_core.c:68
#2 0x000000000046e3b4 in main (argc=18, argv=0x7fff0d6756c8) at main.c:2275
-- juha
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 - Daniel-Constantin Mierla (miconda)
----------
I pushed a patch that hopefully fixes the dns failover case.
Branch failure route was added by Hugh and I haven't had the time to review where is executed. In my tests I haven't seen it executed.
Is failure branch route executed after restart for a local 408 on udp? IIRC, this was not seen in my tests as well.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=296#comment895
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.
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)
----------
another (important) thing that i noticed is that if i add to the above example config core dns parameter
use_dns_failover=on
then t_relay() always returns -1 and consequently branch failure route and transaction failure route are never executed:
May 25 19:09:32 siika sip-proxy[31820]: ERROR: <script>: ===== main route block
May 25 19:09:32 siika sip-proxy[31820]: ERROR: <script>: ===== after t_newtrans()
May 25 19:09:32 siika sip-proxy[31820]: ERROR: <script>: ==== branch route block
May 25 19:09:32 siika sip-proxy[31820]: ERROR: tm [../../forward.h:216]: msg_send(): msg_send: ERROR: tcp_send failed
May 25 19:09:32 siika sip-proxy[31820]: ERROR: tm [t_fwd.c:1596]: t_send_branch(): ERROR: t_send_branch: sending request on branch 0 failed
May 25 19:09:32 siika sip-proxy[31820]: ERROR: tm [t_fwd.c:1599]: t_send_branch(): putting branch 0 on hold
May 25 19:09:32 siika sip-proxy[31820]: ERROR: <script>: ===== t relay return code: -1
this is more serious issue than the failure to execute branch failure route for the first request after kamailio restart.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=296#comment894
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.
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)
----------
it turns out that branch failure route with the above example config is not executed when first request is processed after restart of kamailio. after that it seems to be always executed.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=296#comment893
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.