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 > 1. one(the main - 0) branch picks up the call > 2. 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 -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
