<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Daniel,<br>
<br>
As per logs, when routing the call to TLS, a private IP is used as
destination (this 10.252.252.25) - I assume the registered
information (at REGISTER time) is not correct, pointing to such a
private IP, rather than to the public one - do you do any NAT
fixing at REGISTER time ?<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 07.09.2024 01:39, Daniel Cogo De
Vargas wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANBmQegSCUthpUWeLL_6zC9CbUFJBcRAtx+5FvTtoXkonc45HA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I need a help. <br>
<br>
I´m using the TLS and MID_REGISTRAR, my intention is translate
TLS to UDP and send the REGISTER and INVITE to a Asterisk. <br>
<br>
When I use the extension TLS, REGISTER work normally. It send
a call to other extension (UDP or TCP), but when the TLS
extension receive a call not work.<br>
<br>
The error log message is:<br>
<br>
<br>
Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: new branch at
<a href="http://sip:1014@voip.simple.com.br:5060"
moz-do-not-send="true">sip:1014@voip.simple.com.br:5060</a><br>
Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112944]: incoming reply<br>
Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: new branch at
<a href="http://sip:1014@voip.simple.com.br:5060"
moz-do-not-send="true">sip:1014@voip.simple.com.br:5060</a><br>
Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: incoming reply<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: looking up
<a class="moz-txt-link-freetext" href="sip:1014@132.226.249.251:5060;ctid=3384597829537881314">sip:1014@132.226.249.251:5060;ctid=3384597829537881314</a>!<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112945]: incoming reply<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]:
ERROR:core:tcp_connect_blocking_timeout: connect timed out,
99172 us elapsed out of 100000 us<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]:
ERROR:core:tcp_sync_connect_fd: tcp_blocking_connect failed<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]:
ERROR:proto_tls:proto_tls_send: connect failed<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]:
ERROR:tm:msg_send: send() to <a
href="http://10.252.252.25:58949" moz-do-not-send="true">10.252.252.25:58949</a>
for proto tls/3 failed<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112945]: incoming reply<br>
<br>
<br>
I´m using the MicrosSIP softphone. <br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
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>
</body>
</html>