Hello
On 31.03.23 02:12, Richard Chan wrote:
Hi Kamailio users
How can I get a failure route to trigger in timeout-to-CANCEL in a parallel forking scenario?
Parallel forking test scenario
- one(the main - 0) branch picks up the call
- 2nd branch sends CANCEL (expecting 487 etc) - but the callee does
not send any replies
Result: No failure route handlers are called on timeout of this CANCEL - that is kamailio attempts theĀ CANCEL 4 times but neither tm.t_on_failure_route, tm.t_on_branch_failure handlers are called.
Any suggestions on how to resolve this?
CANCEL is not a stand alone transaction, it is tied to the INVITE transaction, thus if CANCEL is not getting 200ok, there is no failure route block executed for it. Furthermore, on a transaction stateful proxy, the CANCEL is hop by hop, the incoming one is absorbed and the outgoing one is generate by Kamailio. Local generated requests don't get failure route executed as well.
Cheers, Daniel