[SR-Users] Handeling Proxy Cancel event

Sebastian Damm damm at sipgate.de
Fri Aug 25 13:00:41 CEST 2017


Hi,

On Fri, Aug 25, 2017 at 10:28 AM, Mikko Lehto <mslehto at iki.fi> wrote:
> Maybe t_is_canceled() works for your scenario:

Without having tested this, I would expect, that the transaction is
not cancelled but answered.

You might be able to catch it with t_on_branch_failure:
https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.f.t_on_branch_failure

Maybe those cancels go through there, too, and if you set an AVP when
getting the 200 OK on another branch, you could use those two
informations to get what you need.

Sebastian



More information about the sr-users mailing list