<pre><code>kamctl srv sockets
list listen sockets
{
  "jsonrpc":  "2.0",
  "result": [
    {
      "PROTO":  "udp",
      "NAME": "192.168.147.1",
      "ADDRLIST": {
        "ADDR": "192.168.147.1"
      },
      "PORT": "5070",
      "MCAST":  "no",
      "MHOMED": "no",
      "ADVERTISE":  "-"
    }, {
      "PROTO":  "tls",
      "NAME": "192.168.147.1",
      "ADDRLIST": {
        "ADDR": "192.168.147.1"
      },
      "PORT": "5071",
      "MCAST":  "no",
      "MHOMED": "no",
      "ADVERTISE":  "-"
    }
  ],
  "id": 19400
}
</code></pre>
<blockquote>
<p>TCP/TLS connections are created at the OS layer, depending on OS IP routes, in many cases the app has no much control about the local ip/port when connecting to a remote peer.</p>
</blockquote>
<p>Agreed, but I would assume that it doesn't matter whether it uses TLS or not...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2028?email_source=notifications&email_token=ABO7UZIGMPVZCZ3V756V2ZLQDLJL3A5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YQXXY#issuecomment-519113695">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKAE4QNP7FBIOUK3UDQDLJL3ANCNFSM4IJ5YDKA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZIQONV7EME23UEY37TQDLJL3A5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YQXXY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2028?email_source=notifications\u0026email_token=ABO7UZIGMPVZCZ3V756V2ZLQDLJL3A5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YQXXY#issuecomment-519113695",
"url": "https://github.com/kamailio/kamailio/issues/2028?email_source=notifications\u0026email_token=ABO7UZIGMPVZCZ3V756V2ZLQDLJL3A5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YQXXY#issuecomment-519113695",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>