[SR-Users] Access to CANCEL messages sent during parallel forking

Marco Capetta mcapetta at sipwise.com
Wed Feb 26 10:12:10 CET 2020


Hi Yuriy,

thanks for the suggestion.
I tried both "event_route[tm:local-request]" and 
"event_route[tm:local-response]" but internally generated CANCEL 
messages are not captured by those event routes.
On the contrary, I can see that OPTIONS, NOTIFY and also PUBLISH 
messages are there.

Do you have any other suggestion?

Thanks
Regards
Marco

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

-- 
*Marco Capetta *
VoIP Developer

Sipwise GmbH <http://www.sipwise.com> , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Phone: +43(0)1 301 2044 <tel:+4313012044>
Email: mcapetta at sipwise.com <mailto:mcapetta at sipwise.com>
Website: www.sipwise.com <http://www.sipwise.com>

Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200226/8a9685c0/attachment.html>


More information about the sr-users mailing list