<div dir="auto">You can try event_route[tm:local-request] for this. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 25 Feb 2020, 15:36 Marco Capetta, <<a href="mailto:mcapetta@sipwise.com">mcapetta@sipwise.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I have a question regarding call forking and how to access failed <br>
branches: the ones for which kamailio sends out the CANCEL because on <br>
another one a 200OK was received.<br>
This is the scenario:<br>
  - A calls B<br>
  - 3 devices are registered on B, so a parallel forking is done to B1, <br>
B2 and B3<br>
  - B1, B2, and B3 all reply with 180 Ringing<br>
  - B1 replies with 200OK<br>
  - Kamailio CANCELs the branches with B2 and B3<br>
<br>
What I need is access to each single CANCEL that Kamailio sends out to <br>
B2 and B3.<br>
In particular I need to know the branch-id and Via branch of all the <br>
cancelled branches. Additionally it would be perfect to have them inside <br>
the TM module, in order to have access also to internal AVPs.<br>
<br>
I tried with dedicated failure routes and also with per-branch failure <br>
routes, but I was never able to access to those values.<br>
I also didn't found a specific event-route that can help me solve this <br>
problem.<br>
<br>
Does anyone have an idea?<br>
<br>
Kamailio version 5.2.5<br>
<br>
<br>
Thanks<br>
<br>
Regards<br>
Marco<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>