<p>In my setup, Kamailio is listening on two sockets:</p>
<pre><code>advertised_address="<public hostname>:5060"
listen=udp:10.0.0.100:5060
listen=udp:192.168.178.21:5060
</code></pre>
<p>I should also mention that I advertise a hostname, not an IP address.</p>
<p>The REGISTER request is sent automatically on start-up based on the information from the database:</p>
<pre><code>modparam("uac", "reg_db_url", DB_URL)
modparam("uac", "reg_timer_interval", 59)
modparam("uac", "reg_retry_interval", 300)
modparam("uac", "reg_contact_addr", "<public hostname>:5060")
</code></pre>

<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/1973?email_source=notifications&email_token=ABO7UZPJ7PAC5AUNF2WZNKLPYZ53VA5CNFSM4HSCQ3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4Z2KY#issuecomment-498703659">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJBBLFEULRYSXKTHGTPYZ53VANCNFSM4HSCQ3GA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZJN6XGGLFWFQ3BJO2TPYZ53VA5CNFSM4HSCQ3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4Z2KY.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/1973?email_source=notifications\u0026email_token=ABO7UZPJ7PAC5AUNF2WZNKLPYZ53VA5CNFSM4HSCQ3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4Z2KY#issuecomment-498703659",
"url": "https://github.com/kamailio/kamailio/issues/1973?email_source=notifications\u0026email_token=ABO7UZPJ7PAC5AUNF2WZNKLPYZ53VA5CNFSM4HSCQ3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4Z2KY#issuecomment-498703659",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>