Hi,

I am trying to capture and distinguish two types of cancels generated by kamailio.
1- Cancel when Invite timeout 408
2- Cancel generated when call lands on multiple devices and any one of them answer the call.
This type of cancel comes with (rfc3326)
Reason: SIP;cause=200;text="Call completed elsewhere"

How can I capture and isolate these proxy generated CANCEL events?

--
regards,

abdul basit