[SR-Users] Re: Too many 200:OK sip responses

2023-01-05 Thread Henning Westerholt
Hello,

from which database you want to delete the calls? Usually this is not needed.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: Waqar 40 
Sent: Thursday, January 5, 2023 10:51 AM
To: Kamailio (SER) - Users Mailing List 
Subject: [SR-Users] Re: Too many 200:OK sip responses

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 
mailto:o...@edvina.net>> wrote:


> On 5 Jan 2023, at 07:06, Waqar 40 
> mailto:waqarbhai...@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-le...@lists.kamailio.org<mailto:sr-users-le...@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-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Too many 200:OK sip responses

2023-01-05 Thread David Villasmil
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  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  wrote:
>
>>
>>
>> > On 5 Jan 2023, at 07:06, Waqar 40  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-le...@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-le...@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.w...@gmail.com
phone: +34669448337
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Too many 200:OK sip responses

2023-01-05 Thread Waqar 40
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  wrote:

>
>
> > On 5 Jan 2023, at 07:06, Waqar 40  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-le...@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-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Too many 200:OK sip responses

2023-01-04 Thread Olle E. Johansson



> On 5 Jan 2023, at 07:06, Waqar 40  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-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe: