<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Ok.</p>
<p><br>
</p>
<p>Thank you very much for the hint.</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users-bounces@lists.opensips.org &lt;users-bounces@lists.opensips.org&gt; em nome de Răzvan Crainea &lt;razvan@opensips.org&gt;<br>
<b>Enviado:</b> terça-feira, 18 de outubro de 2016 05:18<br>
<b>Para:</b> users@lists.opensips.org<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Why am I gettin error to terminate long calls and not short ones? Why it is &quot;Ignoring callid&quot;?</font>
<div>&nbsp;</div>
</div>
<div><tt>Hi, Rodrigo!<br>
<br>
Most likely A closes the connection to OpenSIPS. You can check that by tracing the communication between A and OpenSIPS.<br>
In order to solve that, make sure that the TCP keepalive[1] is enabled. Also, you can use the dialog pinging[2] feature ('Pp' flag to create_dialog()) to keep the dialog connections open.<br>
<br>
[1] <a previewremoved="true" id="LPlnk523163" class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreParameters-2-2#toc103">
http://www.opensips.org/Documentation/Script-CoreParameters-2-2#toc103</a><br>
[2] <a id="LPlnk919532" class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#id295792">
http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#id295792</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 10/17/2016 11:20 PM, Rodrigo Pimenta Carvalho wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div>Dear OpenSIPS users,<br>
<br>
<br>
In my hardware, with IP = 192.168.0.101, I have OpenSIPS and softphone A. Thre is softphone B also, in another hardware.<br>
<br>
A calls B.<br>
B accept the call.<br>
After <b><u>t</u></b> minutes...B hungs up the call.<br>
<br>
In this moment, A enters in a wrong state, because OpenSIPS reports a problem and probably due to it the proxy doesn't communicate with softphone A in such moment. So, my softphone A considers that the call is not ended.<br>
<br>
See what OpenSIPS reports in this moment:<br>
<br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438]
<a class="moz-txt-link-freetext" href="">INFO:core:probe_max_sock_buff</a>: using snd buffer of 320 kb</span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438]
<a class="moz-txt-link-freetext" href="">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on socket 20</span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:core:tcpconn_async_connect:
<span style="color:rgb(255,0,0)">poll error: flags 1c</span></span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:core:tcpconn_async_connect:
<span style="color:rgb(255,0,0)">failed to retrieve SO_ERROR [server=192.168.0.101:57985] (111) Connection refused</span></span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:core:proto_tcp_send: async TCP connect failed</span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:tm:<span style="color:rgb(255,0,0)">msg_send: send() for proto 2 failed</span></span><br>
<span style="color:rgb(0,111,201)">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:tm:<span style="color:rgb(255,0,0)">t_forward_nonack: sending request failed</span></span></div>
<br>
<p>If <b><u>t</u></b> is just few minutes, let's say 2 minutes, there is no any issue.</p>
<p>However, if <b><u>t</u></b> is bigger, let's say 4 minutes, his issue is present.</p>
<p><br>
</p>
<p>What is happening here? Can someone give some help, please!</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>------------------------------------------------------------------------</p>
<p>Some more details:</p>
<p>User B is <span style="font-size:10pt"><a class="moz-txt-link-abbreviated" href="mailto:g1r2u3p4o5@192.168.0.102">g1r2u3p4o5@192.168.0.102</a>.</span></p>
<p>User A is <span style="font-size:10pt"><a class="moz-txt-link-abbreviated" href="mailto:intercomA_5dtUWgwgqzR6@192.168.0.101">intercomA_5dtUWgwgqzR6@192.168.0.101</a>.</span></p>
<p><span style="font-size:10pt">Callid was <span style="font-size:10pt">&quot;ec4548a8-4207-4fc2-8ed8-81897ff62175&quot;</span>.<br>
</span></p>
<p><br>
</p>
<p>Before getting such error log, I saw another messages in the log like this:</p>
<p><br>
</p>
<div><span style="font-size:10pt">Jan 05 04:13:28 colibri-imx6-jfl opensips[431]: new branch at
<a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@192.168.0.102:61230;transport=TCP;ob">
sip:g1r2u3p4o5@192.168.0.102:61230;transport=TCP;ob</a></span><br>
<span style="font-size:10pt">Jan 05 04:13:28 colibri-imx6-jfl opensips[431]: od: invalid option -- 'A'</span><br>
<span style="font-size:10pt">Jan 05 04:13:28 colibri-imx6-jfl opensips[431]: BusyBox v1.22.1 (2016-03-29 09:43:20 BRT) multi-call binary.</span><br>
<span style="font-size:10pt">Jan 05 04:13:28 colibri-imx6-jfl opensips[431]: Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]</span><br>
<span style="font-size:10pt">Jan 05 04:13:29 colibri-imx6-jfl opensips[431]: <span style="color:rgb(255,0,0)">
Ignoring callid</span>&nbsp; &quot;ec4548a8-4207-4fc2-8ed8-81897ff62175&quot;</span><br>
<br>
<br>
<span style="font-size:10pt">Jan 05 04:13:34 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:13:34 [442]
<a class="moz-txt-link-freetext" href="">INFO:core:probe_max_sock_buff</a>: using snd buffer of 320 kb</span><br>
<span style="font-size:10pt">an 05 04:13:34 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:13:34 [442]
<a class="moz-txt-link-freetext" href="">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on socket 25</span><br>
<br>
<span style="font-size:10pt">an 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan&nbsp; 5 04:14:29 [438] ERROR:dialog:dlg_validate_dialog: failed to validate remote contact: dlg=[<a class="moz-txt-link-abbreviated" href="mailto:sip:intercomA_5dtUWgwgqzR6@127.0.0.1:36427;transport=TCP;ob">sip:intercomA_5dtUWgwgqzR6@127.0.0.1:36427;transport=TCP;ob</a>]
 , req=[<a class="moz-txt-link-abbreviated" href="mailto:sip:intercomA_5dtUWgwgqzR6@192.168.0.101:57985;transport=TCP;ob">sip:intercomA_5dtUWgwgqzR6@192.168.0.101:57985;transport=TCP;ob</a>]</span><br>
<span style="font-size:10pt">Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: In-Dialog BYE from 192.168.0.102 (callid=ec4548a8-4207-4fc2-8ed8-81897ff62175) is not valid according to dialog</span><br>
----------------------------------------------------------------------------<br>
</div>
<br>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>