Abdul Basit <basit.engg(a)gmail.com>om>:
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_cancel…
--
Mikko Lehto