<p><a href="http://www.kamailio.org/wiki/cookbooks/4.4.x/core#listen">According to the latest docs</a> kamailio should be able to listen on an address using the interface name of a local device. However, each time I try anything like:</p>

<pre><code>listen=eth1:5062
</code></pre>

<p>I get:</p>

<pre><code>0(1) ERROR: <core> [socket_info.c:1328]: fix_hostname(): could not resolve eth2
</code></pre>

<p>I also came across an older thread where someone else also noticed this: <a href="http://sip-router.1086192.n5.nabble.com/Listen-on-eth-alias-interface-td128206.html">http://sip-router.1086192.n5.nabble.com/Listen-on-eth-alias-interface-td128206.html</a></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 or <a href="https://github.com/kamailio/kamailio/issues/602">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZU0AR9aFHHXqJxwG1Z--Ypky5Leqks5p-9f8gaJpZM4IZTaY.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/kamailio/kamailio/issues/602"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>