<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>update to my last email.</div><div><br></div><div>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).</div><div>Do you can see the reply to the SIP transaction(UPDATE)  sent from your client arriving to the host where kamailio is running? If not, seems that it isn't a problem in your Kamailio.</div><div><br></div><div>Regards</div><div>José</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">José Seabra <<a href="mailto:joseseabra4@gmail.com">joseseabra4@gmail.com</a>> escreveu no dia quinta, 27/09/2018 à(s) 10:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">Hi,</span></font><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">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:</span></font></div><div><font color="#333333" face="Arial, sans-serif"><div><ul><li style="font-size:14px">latency_limit_action=500<br></li><ul><li><span style="font-size:14px"><a href="https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_limit_action" target="_blank">https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_limit_action</a></span></li></ul><li style="font-size:14px">latency_limit_db=500<br></li><ul><li><span style="font-size:14px"><a href="https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_limit_db" target="_blank">https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_limit_db</a></span></li></ul><li style="font-size:14px">latency_log=2<br></li><ul><li><span style="font-size:14px"><a href="https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_log" target="_blank">https://www.kamailio.org/wiki/cookbooks/4.1.x/core#latency_log</a> </span></li></ul></ul></div></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">The issue could also be related with the TCP write queue, maybe you have set low values on the following parameters:</span></font></div><ul><li>tcp_conn_wq_max </li><ul><li><a href="https://www.kamailio.org/wiki/cookbooks/4.1.x/core#tcp_conn_wq_max" target="_blank">https://www.kamailio.org/wiki/cookbooks/4.1.x/core#tcp_conn_wq_max</a></li></ul><li>tcp_wq_max </li><ul><li><a href="https://www.kamailio.org/wiki/cookbooks/4.1.x/core#tcp_wq_max" target="_blank">https://www.kamailio.org/wiki/cookbooks/4.1.x/core#tcp_wq_max</a></li></ul></ul><div>Other hint is to look for the OS  send Queue, the package could be delayed because the other end is not reading it fast enough:<br><ul><li>netstat -altp<br></li></ul><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">it also will be important try to isolate the issue in terms of SIP, the transaction delayed(UPDATE) is always the same in all situation that the issue occurs? </span></font></div></div><div><br></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">Hope that the information above helped you.</span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">Regards</span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">José</span></font></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>