<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Most likely the TLS certificate used by OpenSIPS is not signed by a Certificate Authority recognised by the SIP client.<div><br></div><div>Adrian<br><div><br><div><div>On 18 Jul 2014, at 18:08, Gary Nyquist &lt;<a href="mailto:gn62@gmx.us">gn62@gmx.us</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Bogdan,</div>

<div>&nbsp;</div>

<div>Thanks for the response.</div>

<div>&nbsp;</div>

<div>I have a bunch of SIP softphones pointing to the OpenSIPS.<br>
The OpenSIPS is lestening on:&nbsp;<br>
1. UDP/5060<br>
2. TCP/5060<br>
3. TLS/5061</div>

<div>&nbsp;</div>

<div>The OpenSIPS is routing the calls(coming from the SIP softphones) to an SEMS media server,<br>
The SEMS is listening only on UDP transport.</div>

<div>Everything works fine (no warnings/errors in the log file) when the softphones use UDP or TCP transport.<br>
But when I put the softphones on TLS, following warning/errors messages showing up in the log file.</div>

<div>&nbsp;</div>

<div>WARNING:core:get_send_socket: protocol/port mismatch<br>
ERROR:core:tls_accept: New TLS connection from 123.123.123.12:41556 failed to accept: rejected by client</div>

<div>&nbsp;</div>

<div>Not sure why "New TLS connection" error is showing up.</div>

<div>&nbsp;</div>

<div>I am not using force_send_socket() in this scenario.<br>
Would you suggest to use it?</div>

<div>&nbsp;</div>

<div>Thanks again...</div>
</div>

<div>-Gary</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b>&nbsp;Friday, July 18, 2014 at 6:31 AM<br>
<b>From:</b>&nbsp;"Bogdan-Andrei Iancu" &lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;<br>
<b>To:</b>&nbsp;"OpenSIPS users mailling list" &lt;<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;, "Gary Nyquist" &lt;<a href="mailto:gn62@gmx.us">gn62@gmx.us</a>&gt;<br>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] WARNING:core:get_send_socket: protocol/port mismatch</div>

<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix"><tt>Hi,<br>
<br>
That error means OpenSIPS detected a conflict when comes to what protocol to be used for sending out a requests - the protocol may be given by the RURI and in the same time by the forced socket. And RURI may say "TCP" and the used socket "UDP" -&gt; conflict.<br>
<br>
Are you using the "force_send_socket()" function in this scenario ?<br>
<br>
Regards,</tt>

<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/" target="_blank">http://www.opensips-solutions.com</a></pre>
On 17.07.2014 23:41, Gary Nyquist wrote:</div>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>I am getting the following <span style="font-family: Verdana;font-size: 12.0px;line-height: 19.1875px;">WARNING:</span></div>

<div>&nbsp;</div>

<div>DBG:tm:t_relay_to: forwarding ACK<br>
DBG:core:mk_proxy: doing DNS lookup...<br>
DBG:core:get_send_socket: force_send_socket of different proto (3)!<br>
WARNING:core:get_send_socket: protocol/port mismatch</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>I am using opensips 1.11.2 script_helper module.</div>

<div>I believe, the ACK is suppososed to be route automatically.</div>

<div>Any idea, why this WARNING ?</div>

<div>&nbsp;</div>

<div><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.1875px;">Thanks</span><br style="font-family: Verdana;font-size: 12.0px;line-height: 19.1875px;">
<span style="font-family: Verdana;font-size: 12.0px;line-height: 19.1875px;">-Gary</span></div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>Hi,</div>

<div>&nbsp;</div>

<div>I am getting this error in the log.</div>

<div>&nbsp;</div>

<div>WARNING:core:get_send_socket: protocol/port mismatch
<div>&nbsp;</div>

<div>Any advice how to fix it?</div>

<div>&nbsp;</div>
</div>

<div>Thanks<br>
-Gary</div>
</div>
</div>
</div>
</div>
</div>
</div>
&nbsp;

<fieldset class="mimeAttachmentHeader">&nbsp;</fieldset>
&nbsp;

<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="x-msg://33/Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><font face="Verdana, sans-serif, Arial, Trebuchet MS" size="3"><span style="font-style: normal; line-height: 20.799999237060547px; white-space: normal;">
</span></font></pre>
</blockquote>
</div>
</div>
</div>
</div></div></div>

_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></div></body></html>