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
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
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:
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:
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.comhttps://gilawa.com/
From: Waqar 40 waqarbhai796@gmail.com Sent: Thursday, January 5, 2023 10:51 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org 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 <oej@edvina.netmailto:oej@edvina.net> wrote:
On 5 Jan 2023, at 07:06, Waqar 40 <waqarbhai796@gmail.commailto: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.orgmailto: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: