yes.

I tested with t_is_canceled() in failure_route.
But it executes in case user CANCEL in addition to proxy generated CANCELs for 408 and answer elsewhere RFC 3326.
 
Need to know how to isolate them.


--
regards,

abdul basit


On 25 August 2017 at 13:28, Mikko Lehto <mslehto@iki.fi> wrote:
Abdul Basit <basit.engg@gmail.com>:

> However, for proxy generated CANCEL, i need to intimate that call was
> answered else where and have to add this event in custom event logs.
> I am receiving 487 in onreply-route but its true for all types of CANCELs.
> If i know the CANCEL type, i can log EDR (events detail records).

Hi Abdul

Maybe t_is_canceled() works for your scenario:

http://www.kamailio.org/docs/modules/5.0.x/modules/tm.html#tm.f.t_is_canceled

--
Mikko Lehto

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users