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)
----------
Commenting here because it's easier to follow the discussion. You said:
> i have xlog info statement in the beginning of both and neither was executed:
The failure route is executed by timer process after fr_timer. Here is what I get:
1(70905) DEBUG: tm [t_fwd.c:1573]: t_send_branch(): t_send_branch: send to 127.0.0.1:10 (2) failed
1(70905) ERROR: tm [t_fwd.c:1592]: t_send_branch(): ERROR: t_send_branch: sending request on branch 0 failed
1(70905) ERROR: tm [t_fwd.c:1595]: t_send_branch(): putting branch 0 on hold
...
3(70907) ERROR: <script>: ==== failure route block
3(70907) DEBUG: tm [t_reply.c:1806]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=908
The log error realated to 'putting branch 0 on hold' is for debugging purposes, should be made info or dbg -- I added to see that the branch is put on timer.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=296#comment877
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 - Daniel-Constantin Mierla (miconda)
----------
With the last commit, tm will consider the branches that failed to be sent for failure routing blocks. At this moment such branch will fail after fr_timer (improvements to be added in the future), reply status code is 408.
However, branch failure route does not seem to be executed for the branches that don't get the negative reply from the network (e.g., case of local timeout, even for UDP), no branch failure route execution). Didn't have time to analyze properly, i'll have to see where Hugh added its execution.
For the moment, the failure_route[] blocks seems to be executed ok.
Note that t_relay() will return true in such case.
To enable this feature, you have to set module parameter failure_exec_mode to 1.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=296#comment876
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.