Dear All,

For a normal call, Kamailio receives 200:OK sip response for the method invite only once but for some calls, it receives 200:OK too many times around 6 to 7. And I also do not receive BYE or any other packets for this kind of call. How can I detect such calls in Kamailio and cancel them? I am inserting data of the calls in the database when the call occurs and deleting it when BYE is received but for these calls as I don't receive BYE so I am unable to delete the record of such calls.
Is there a way to detect such calls? Like How can I count if the number of 200:OK responses is more than one or anything like that?

Regards
Vicky