[OpenSIPS-Users] Problem with TLS and Mid Registrar

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 24 06:04:09 UTC 2024


Hi Daniel,

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 ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 07.09.2024 01:39, Daniel Cogo De Vargas wrote:
> I need a help.
>
> I´m using the TLS and MID_REGISTRAR, my intention is translate TLS to 
> UDP and send the REGISTER and INVITE to a Asterisk.
>
> 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.
>
> The error log message is:
>
>
> Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: new branch at 
> sip:1014 at voip.simple.com.br:5060 <http://sip:1014@voip.simple.com.br:5060>
> Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112944]: incoming reply
> Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: new branch at 
> sip:1014 at voip.simple.com.br:5060 <http://sip:1014@voip.simple.com.br:5060>
> Sep 06 22:33:10 sbc02 /usr/sbin/opensips[112945]: incoming reply
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: looking up 
> sip:1014 at 132.226.249.251:5060;ctid=3384597829537881314!
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112945]: incoming reply
> 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
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: 
> ERROR:core:tcp_sync_connect_fd: tcp_blocking_connect failed
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: 
> ERROR:proto_tls:proto_tls_send: connect failed
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: ERROR:tm:msg_send: 
> send() to 10.252.252.25:58949 <http://10.252.252.25:58949> for proto 
> tls/3 failed
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112944]: 
> ERROR:tm:t_forward_nonack: sending request failed
> Sep 06 22:33:12 sbc02 /usr/sbin/opensips[112945]: incoming reply
>
>
> I´m using the MicrosSIP softphone.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240924/24181e7e/attachment-0001.html>


More information about the Users mailing list