<div dir="ltr">Hello!<br><br>I try to realize the next scenario with UAs, Opensips-2.4 and Asterisk.<br>UAs are registered onto Asterisk through Opensips and also - on Opensips if the 200 OK is came back from Asterisk.<br>Calls between UAs are relayed to Asterisk by Opensips.<br>This scenario works fine with udp. But it needs to do with tls. And here I have the problem. What happens.<br>Unlike udp, tcp cannot listen its port and create clients connection at the same time. Opensips listens tls port for clients connection <br>whereas it creates dynamic tcp port to connect to Asterisk. As a result, I see that port in Record-Route header in 200 OK addressed to caller.<br>Thus, callers ACK comes to that dynamic port instead of Opensips listened port and Opensips dropped it.<br>And question is how to force Opensips to put right port for caller?<div><br></div><div>Regards,</div><div>Serhii Pysanko.<br><br><br><br><div id="mt-signature">
        <table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
            <tbody><tr>
                <td>
                    <a id="signatureLink-logo" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" class="" style="text-decoration:none">
                        <img src="https://s3.amazonaws.com/mailtrack-signature/sender-notified-72.gif" alt="Mailtrack" class="" width="32" height="32">
                    </a>
                </td>
                <td>
                    <span style="color:#777">Sender notified by</span> <br>
                    <a id="signatureLink-text" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" class="mt-install" style="color:#4374f7">Mailtrack</a>
                    
    </td><td><span style="color:transparent;font-size:0">12/30/21, 02:49:47 PM</span></td>

                
                <td>
                    
                </td>
            </tr>
        </tbody></table>
    </div></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/a24133cf2ef3a8a82a46940b70c2d41a93facfe3.png?u=6916461"></div>