Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread José Seabra
Hi, Kamailio has some configuration options that logs a msg to the syslog when some config script action takes more time that is expected, the options are: - latency_limit_action=500 - https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_limit_action - latency_limit_db=500 - ht

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread José Seabra
update to my last email. If do you see that the SIP transaction(UPDATE) arrives at your client fast enough, it isn't a problem with TCP send Queue (ignore my last email). Do you can see the reply to the SIP transaction(UPDATE) sent from your client arriving to the host where kamailio is running?

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread Andrew Chen
So I log when the server side sends an UPDATE request to the Kamailio and then I log when the t_relay is completed to the client application. Those were on the same second. It's when the message left the box and then arrived at the client side is where the 30 sec difference came from. So our eng

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread José Seabra
Hi, So, Kamailio receives the UPDATE msg from your application server and relays it to the client and the delay is on UPDATE msg relay between kamailio and the client. As the wireshark capture the outgoing packages just after the OS processing them, then if you take a network trace, trigger the is

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread Andrew Chen
The system does tcpdump real time on the system. We do see the delay going out the box to the destination client side by the 30 seconds. There is also suspicion about the network quality as well given we see retransmits of ACK packets during the time the UPDATE was to be delivered. I just want t

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread José Seabra
It is hard to me tell you if the issue is or not in kamailio, kamailio is like a sip framework and the way how it works depends a lot how do you had implemented it. That's why i was giving you some hints in order to help you move forward on troubleshooting. Anyway, if do you see that the package

Re: [SR-Users] replay of tls delayed by 30 secs.

2018-09-27 Thread Andrew Chen
Thanks Jose for your great suggestions and input. On Thu, Sep 27, 2018 at 12:52 PM José Seabra wrote: > It is hard to me tell you if the issue is or not in kamailio, kamailio is > like a sip framework and the way how it works depends a lot how do you had > implemented it. > > That's why i was gi