So you’re saying you do see the 200 from the b-leg? Shouldn’t you try to see why kamailio is not detecting it and forwarding it to the a-leg so the a-leg can send an ACK and finish the transaction properly?

On Thu, 5 Jan 2023 at 11:21, Waqar 40 <waqarbhai796@gmail.com> wrote:
Yes. The ACK is missing. Kamailio does not receive 200:OK from calling points for these calls. How can I identify these calls which are in session and was in a ringing state? I want to delete their data from the database.

On Thu, Jan 5, 2023 at 1:03 PM Olle E. Johansson <oej@edvina.net> wrote:


> On 5 Jan 2023, at 07:06, Waqar 40 <waqarbhai796@gmail.com> wrote:
>
> 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.
The 200 OK is retransmitted until an ACK is received. You have a routing problem somewhere.

> 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?
The problem is not the number of 200 Ok but the missing ACK. Does the 200 OK reach the calling end point? Does it transmit an ACK? Is that received by Kamailio?

/O

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337