<div dir="ltr">Hello,<br><br>I have problem with setup incoming call with TLS support:<br><br>UA with TLS supprt is registered. Here is information from AOR <br>   AOR:: 33341656<br>                Contact:: sip: 33341656  @192.168.1.106:50443;transport=TLS;ob Q=<br>                        Expires:: 260<br>                        Callid:: 554fdfd6ee794451942f693e40fbe362<br>                        Cseq:: 31813<br>                        User-agent:: MicroSIP/3.19.18<br>                        Received:: sip:39.121.145.121:50445;transport=TLS<br>                        State:: CS_SYNC<br>                        Flags:: 0<br>                        Cflags:: TLS RM_ONTO_FLAG SIP_PING_BFLAG NAT_BFLAG<br>                        Socket:: tls:<a href="http://83.21.101.114:5062">83.21.101.114:5062</a><br>                        Methods:: 8063<br>                        SIP_instance:: <urn:uuid:00000000-0000-0000-0000-0000a350d2d0><br><br>When make local call to this UA:<br>------ part ot Opensips script ----<br>    if (lookup("location","m")) {<br>            .......<br>            xlog("L_ERR", "RELAY (INVITE) $rd:$rp du=$du ");<br>            t_relay();<br>    }<br>------------------------------------<br>Information from log:<br>  RELAY (INVITE) <a href="http://192.168.1.106:50433">192.168.1.106:50433</a> du=sip:39.121.145.121:50445;transport=TLS<br><br>In this case Opensips send relay to Received field from AOR - sip:39.121.145.121:50445;transport=TLS<br><br># Sequential requests<br>------ part ot Opensips script ----<br>  if (has_totag()) {<br>          ........<br>           xlog("L_ERR", "RELAY (Sequential requests) $rd:$rp du=$du ");<br>           t_relay();<br>  }<br>------------------------------------<br>Information from log:<br>  RELAY (Sequential requests) <a href="http://192.168.1.106:50433">192.168.1.106:50433</a> du=<null><br>  ERROR:proto_tls:proto_tls_send: connect failed<br>  ERROR:core:msg_send: send() to <a href="http://192.168.1.106:50433">192.168.1.106:50433</a> for proto tls/3 failed<br> <br>In Sequential requests Opensips try to send message to <a href="http://192.168.1.106:50433">192.168.1.106:50433</a> (this is WRONG).<br><br>How to solve this problem?<br><br>Best regards,<br>Dragomir <br></div>