[OpenSIPS-Users] t_relay

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 8 17:23:02 EST 2020


Hi Johan,

The socket used for receiving the REGISTER is stored in the OpenSIPS 
registration. And used/forced when doing the lookup(). So, if the 
REGISTER was received via TLS, the TLS interface should be forced after 
the lookup.

So how comes that opensips tries TLS (TLS Registration??) while the user 
is on UDP ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2020 online
   https://www.opensips.org/events/Summit-2020Distributed/

On 9/7/20 3:45 PM, johan wrote:
> Hi,
>
> when a user is not reachable, I want to reroute my call to sems.
>
> the user is on tls, but sems is on udp.
>
> as I use rtpengine after doing lookup(location), I need to re relay 
> the original message on the tls connection. However this fails.
>
> how can I do t_relay to tls socket ?
>
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> callid=onsLR0MAH9Bae6f8XJTgug..: Branch_route[per_branch_ops]: new 
> branch at sip:5556 at 46.105.105.119:5061;transport=TLS
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:proto_tls:tls_conn_init: no TLS client domain found
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:core:tcp_conn_new: failed to do proto 3 specific init for conn 
> 0x7fa91e354ff0
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:proto_tls:tls_sync_connect: tcp_conn_create failed, closing the 
> socket
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:proto_tls:proto_tls_send: connect failed
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:tm:msg_send: send() to 46.105.105.119:5061 for proto tls/3 failed
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:tm:t_forward_nonack: sending request failed
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> ERROR:tm:w_t_relay: t_forward_nonack failed
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15772]: 
> callid=onsLR0MAH9Bae6f8XJTgug..: failure_route[missed_call]: t_relay 
> doesn't work.
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15774]: 
> ERROR:proto_tls:tls_accept: New TLS connection from 
> 46.105.105.119:53369 failed to accept
>
> Sep  7 12:40:09 ns365555 /data/opensips/sbin/opensips[15774]: 
> ERROR:proto_tls:tls_read_req: failed to do pre-tls reading
>
> if this is not possible, then how do I need to re relay the original 
> message ?
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list