[SR-Users] Handeling Proxy Cancel event

Mikko Lehto mslehto at iki.fi
Fri Aug 25 10:28:14 CEST 2017


Abdul Basit <basit.engg at 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



More information about the sr-users mailing list