Hello,
This is actually a follow up to my last question about some providers calls being dropped. I noticed that when calls are dropped, I see a Kamailio log message "Request Timeout" about 5-10 seconds before the call is dropped. I am wondering what could cause this while a call is in progress. Does Kamailio need to respond to Asterisk with a '200 OK' for an INFO request sent to Kamailio from Asterisk? I am not sure what else could cause this call dropping behavior. Note: It does not appear to be caused from a missing 'ACK'.
Thank you, -Steve
Hi Steve,
The CSeq line of the 408 Request Timeout message will tell you which request method type it corresponds to, so you'll know what request it's for.
INFO requests, like all call-related requests (except for hop-by-hop ACKs acknowledging a negative reply) go between the endpoints, and Kamailio simply passes them through. It should not be responding with anything to a request like that.
-- Alex
On Wed, Feb 07, 2018 at 12:49:45AM +0000, Wilkins, Steve wrote:
Hello,
This is actually a follow up to my last question about some providers calls being dropped. I noticed that when calls are dropped, I see a Kamailio log message "Request Timeout" about 5-10 seconds before the call is dropped. I am wondering what could cause this while a call is in progress. Does Kamailio need to respond to Asterisk with a '200 OK' for an INFO request sent to Kamailio from Asterisk? I am not sure what else could cause this call dropping behavior. Note: It does not appear to be caused from a missing 'ACK'.
Thank you, -Steve
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Alex Thank you!, there is so much to learn.
As you suggested, I looked at the CSeq and the Timeout is from an INFO message going from Kamailio to Asterisk. Asterisk immediately sends "BYE" back to Kamailio and then the call drops. This is why I was wondering if I needed to do anything for INFO messages. "I think" this is why some calls are dropping. Does this make any since?
Thank you for your help!
-Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Alex Balashov Sent: Tuesday, February 6, 2018 7:54 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
Hi Steve,
The CSeq line of the 408 Request Timeout message will tell you which request method type it corresponds to, so you'll know what request it's for.
INFO requests, like all call-related requests (except for hop-by-hop ACKs acknowledging a negative reply) go between the endpoints, and Kamailio simply passes them through. It should not be responding with anything to a request like that.
-- Alex
On Wed, Feb 07, 2018 at 12:49:45AM +0000, Wilkins, Steve wrote:
Hello,
This is actually a follow up to my last question about some providers calls being dropped. I noticed that when calls are dropped, I see a Kamailio log message "Request Timeout" about 5-10 seconds before the call is dropped. I am wondering what could cause this while a call is in progress. Does Kamailio need to respond to Asterisk with a '200 OK' for an INFO request sent to Kamailio from Asterisk? I am not sure what else could cause this call dropping behavior. Note: It does not appear to be caused from a missing 'ACK'.
Thank you, -Steve
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
On Wed, Feb 07, 2018 at 01:31:43AM +0000, Wilkins, Steve wrote:
Hi Alex Thank you!, there is so much to learn.
As you suggested, I looked at the CSeq and the Timeout is from an INFO message going from Kamailio to Asterisk. Asterisk immediately sends "BYE" back to Kamailio and then the call drops. This is why I was wondering if I needed to do anything for INFO messages. "I think" this is why some calls are dropping. Does this make any since?
It does. Is the INFO message in-dialog[1] or out-of-dialog?
[1] Does it have a ;tag attribute in the To header?
Hi Alex,
Thank you again for looking at this.
I am including a snippet of the last part of the Wireshark dump that occurs right before the dropped call. There are many of the very same INFO Request going from Asterisk to Kamailio; there is also another INFO request in the middle that was different (but only occurs a few times). The INFO Requests do have ;tag in the To header.
I noticed that Asterisk replies '200 OK' to INFO request from Kamailio but Kamailio does not send '200 OK' for INFO requests from Asterisk. I did try forcing Kamailio to send a '200 OK' when it gets an INFO request, but that did not work.
You will see that there are a bunch of INFO request to Kamailio from Asterisk, then Kamailio sends a 408 Request Timeout , then Asterisk send a BYE and call drops shortly after.
Thank you!!, -Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Alex Balashov Sent: Tuesday, February 6, 2018 8:34 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
On Wed, Feb 07, 2018 at 01:31:43AM +0000, Wilkins, Steve wrote:
Hi Alex Thank you!, there is so much to learn.
As you suggested, I looked at the CSeq and the Timeout is from an INFO message going from Kamailio to Asterisk. Asterisk immediately sends "BYE" back to Kamailio and then the call drops. This is why I was wondering if I needed to do anything for INFO messages. "I think" this is why some calls are dropping. Does this make any since?
It does. Is the INFO message in-dialog[1] or out-of-dialog?
[1] Does it have a ;tag attribute in the To header?
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi All, Alex
Alex, you mentioned you might know why Kamailio is timing out do unanswered INFO request from Asterisk. I am still unable to resolve this, but I have verified all the INVITES to the ACK's and they seem ok. I do get connected for about 30 seconds though, the call just drops after that and it does appear to be caused by the none response to INFO requests.
Thank you, -Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Wilkins, Steve Sent: Wednesday, February 7, 2018 7:59 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
Hi Alex,
Thank you again for looking at this.
I am including a snippet of the last part of the Wireshark dump that occurs right before the dropped call. There are many of the very same INFO Request going from Asterisk to Kamailio; there is also another INFO request in the middle that was different (but only occurs a few times). The INFO Requests do have ;tag in the To header.
I noticed that Asterisk replies '200 OK' to INFO request from Kamailio but Kamailio does not send '200 OK' for INFO requests from Asterisk. I did try forcing Kamailio to send a '200 OK' when it gets an INFO request, but that did not work.
You will see that there are a bunch of INFO request to Kamailio from Asterisk, then Kamailio sends a 408 Request Timeout , then Asterisk send a BYE and call drops shortly after.
Thank you!!, -Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Alex Balashov Sent: Tuesday, February 6, 2018 8:34 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
On Wed, Feb 07, 2018 at 01:31:43AM +0000, Wilkins, Steve wrote:
Hi Alex Thank you!, there is so much to learn.
As you suggested, I looked at the CSeq and the Timeout is from an INFO message going from Kamailio to Asterisk. Asterisk immediately sends "BYE" back to Kamailio and then the call drops. This is why I was wondering if I needed to do anything for INFO messages. "I think" this is why some calls are dropping. Does this make any since?
It does. Is the INFO message in-dialog[1] or out-of-dialog?
[1] Does it have a ;tag attribute in the To header?
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
can you paste here the full content of such INFO request received by kamailio (as text)?
The 408 means that kamailio tried to forward it, but the target didn't reply.
Cheers, Daniel
On 11.02.18 17:56, Wilkins, Steve wrote:
Hi All, Alex
Alex, you mentioned you might know why Kamailio is timing out do unanswered INFO request from Asterisk. I am still unable to resolve this, but I have verified all the INVITES to the ACK's and they seem ok. I do get connected for about 30 seconds though, the call just drops after that and it does appear to be caused by the none response to INFO requests.
Thank you, -Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Wilkins, Steve Sent: Wednesday, February 7, 2018 7:59 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
Hi Alex,
Thank you again for looking at this.
I am including a snippet of the last part of the Wireshark dump that occurs right before the dropped call. There are many of the very same INFO Request going from Asterisk to Kamailio; there is also another INFO request in the middle that was different (but only occurs a few times). The INFO Requests do have ;tag in the To header.
I noticed that Asterisk replies '200 OK' to INFO request from Kamailio but Kamailio does not send '200 OK' for INFO requests from Asterisk. I did try forcing Kamailio to send a '200 OK' when it gets an INFO request, but that did not work.
You will see that there are a bunch of INFO request to Kamailio from Asterisk, then Kamailio sends a 408 Request Timeout , then Asterisk send a BYE and call drops shortly after.
Thank you!!, -Steve
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Alex Balashov Sent: Tuesday, February 6, 2018 8:34 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Request Timeouts
On Wed, Feb 07, 2018 at 01:31:43AM +0000, Wilkins, Steve wrote:
Hi Alex Thank you!, there is so much to learn.
As you suggested, I looked at the CSeq and the Timeout is from an INFO message going from Kamailio to Asterisk. Asterisk immediately sends "BYE" back to Kamailio and then the call drops. This is why I was wondering if I needed to do anything for INFO messages. "I think" this is why some calls are dropping. Does this make any since?
It does. Is the INFO message in-dialog[1] or out-of-dialog?
[1] Does it have a ;tag attribute in the To header?
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users