<p></p>
<p dir="auto">Ok my idea for a solution to this (and I don't know anything about kamailio internals) is to allow the internal and external IPs/interfaces be specified in the config so that mhomed can work with virtual IPs, like asterisk's sip.conf localnet (<a href="https://www.voip-info.org/asterisk-sip-localnet/" rel="nofollow">https://www.voip-info.org/asterisk-sip-localnet/</a>).<br>
Or it could be something as simple as an additional modifier to listen, maybe something like direction [internal|external] or [private|public]?<br>
listen=udp:MY_PRIVATE_IP:5060 advertise MY_PUBLIC_IP:5060 direction private<br>
listen=udp:MY_PUBLIC_IP:5060 direction public</p>
<p dir="auto">If something like that is possible where do I suggest it?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3002#issuecomment-1013620943">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZK6XSSZ4VQOBWEN34LUWEFDZANCNFSM5L4WP4OQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZJIXIYGJ52GP6CFOATUWEFDZA5CNFSM5L4WP4O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRVKBTY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3002/1013620943</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3002#issuecomment-1013620943",
"url": "https://github.com/kamailio/kamailio/issues/3002#issuecomment-1013620943",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>