<p>force_send_socket() does not work for this case at all by the way.</p>

<p>If I use force_send_socket() it actually reverts to going to the A-record, sending a tcp connection there with "SIP/2.0/UDP" in the Via header.</p>

<p>Tested with:</p>

<pre><code>xlog("DBG: Forcing tcp socket for outbound");
force_send_socket(tcp:10.0.0.113:5060);
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/420#issuecomment-77820552">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXZ-Ma_0ooWPqT_j2qYmtQ6oVJGGks5nzVuKgaJpZM4Dn7ta.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/420#issuecomment-77820552"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>