<div dir="ltr"><div>Hi Sirs,</div>
<div>&nbsp;</div>
<div>I used Wireshark to capture the&nbsp;packets.</div>
<div>Please refer to the attached file -- &quot;tcp-to-tls&quot;.</div>
<div>It seems like eyebeam&nbsp;sent the RST packet to opensips.</div>
<div>But&nbsp;if call is from tls to tcp, the connection can be built successfully.</div>
<div>&nbsp;</div>
<div>Sara.<br></div>
<div class="gmail_quote">2008/9/4 Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Bogdan-Andrei Iancu wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Sara,<br><br>Well, the error description speaks for itself. It seams that opensips opens a connection to eyebeam and for whatever reasons, eyebeam closes the connection. Could you confirm this by looking at the trace - use tcpdump to see who is closing the TCP connection.<br>
</blockquote><br></div>Even better use &quot;ssldump&quot; which can decode some SSL messages (e.g. Alert messages, ...)<br><font color="#888888"><br>klaus<br><br></font>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c"><br>Thanks and regards,<br>Bogdan<br><br>Sara Lee wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi, Bogdan<br><br>Here is the result.<br><br>Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: new branch at sip:2222@10.16.88.88:47811;rinstance=fc41501f86822386;transport=TLS<br>
Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ERROR:core:tls_connect: SSL_ERROR_SYSCALL err=Connection reset by peer(104)<br>Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ERROR:core:tls_connect: something wrong in SSL: 5 (ret=-1) err=Connection reset by peer(104)<br>
Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ERROR:core:tcp_send: failed to send<br>Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ERROR:tm:msg_send: tcp_send failed<br>Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ERROR:tm:t_forward_nonack: sending request failed<br>
Sep &nbsp;3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ACC: call missed: timestamp=1220438829;method=INVITE;from_tag=4d01507d;to_tag=;call_id=OTY3NjBlZmIxM2YyMWZhOTQ3YmFhNTlhYzhkY2Q1NzI.;code=477;reason=Request Failure<br>
<br>Regards,<br>Sara<br><br>2008/9/3 Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>&gt;&gt;<br>
<br>&nbsp; &nbsp;Revision: 4712<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://opensips.svn.sourceforge.net/opensips/?rev=4712&amp;view=rev" target="_blank">http://opensips.svn.sourceforge.net/opensips/?rev=4712&amp;view=rev</a><br>&nbsp; &nbsp;&lt;<a href="http://opensips.svn.sourceforge.net/opensips/?rev=4712&amp;view=rev" target="_blank">http://opensips.svn.sourceforge.net/opensips/?rev=4712&amp;view=rev</a>&gt;<br>
&nbsp; &nbsp;Author: &nbsp; bogdan_iancu<br>&nbsp; &nbsp;Date: &nbsp; &nbsp; 2008-09-03 06:52:40 +0000 (Wed, 03 Sep 2008)<br><br>&nbsp; &nbsp;Log Message:<br>&nbsp; &nbsp;-----------<br>&nbsp; &nbsp;-exteneded loging - for SSL_ERROR_SYSCALL print errno also.<br><br>&nbsp; &nbsp;Modified Paths:<br>
&nbsp; &nbsp;--------------<br>&nbsp; &nbsp; &nbsp; trunk/tls/tls_server.c<br><br><br>&nbsp; &nbsp;This was sent by the SourceForge.net collaborative development<br>&nbsp; &nbsp;platform, the world&#39;s largest Open Source development site.<br><br>&nbsp; &nbsp;_______________________________________________<br>
&nbsp; &nbsp;Devel mailing list<br>&nbsp; &nbsp;<a href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a> &lt;mailto:<a href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>&gt;<br>&nbsp; &nbsp;<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
<br><br></blockquote><br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a><br></div></div>
<div class="Ih2E3d"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br></div></blockquote><br></blockquote></div><br></div>