<p>Thanks for the info, just a quick question, if the same situation was in place when running 3 registrar's in db-only mode, then we can use the server_id and filter_server_id so that only 1 registrar will ping the contact. At lease, that is what I am interpreting in the module documentation. Is that correct?</p>
<p>I think that if you don't have the server_id and filter_server_id parameters set for nathelper, then all 3 database-only registrars will also ping the contact? Is that correct? Or, does nathelper/registrar us the aor "socket" parameter to decide if it need to send the ping from the local registrar? What i mean is, if the socket is set, and is a local socket, then send the ping, if there is not a socket set, or, if there is a socket set and is not local, then don't send the keep-alive message.</p>
<p>How does nathelper currently decide if it needs to send a keep-alive message from the local registrar?</p>
<p>Currently, I'm lucky that only 1 keep-alive message is actually making it through to the endpoint, however, if kamailio used the force_socket parameter correclty then all 3 keep-alives would make it through to the endpoint, which, I'm guessing, is not desired behaviour, or am I wrong with that assumption?</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/1299#issuecomment-341700749">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZXW2bFndfYhUjwPDlHvfZREX7cqoks5syxLDgaJpZM4QPgdU">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZXdRHaNc-Mwm7lPFqJ5Jd5TzUcBoks5syxLDgaJpZM4QPgdU.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/1299#issuecomment-341700749"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@00Asgaroth00 in #1299: Thanks for the info, just a quick question, if the same situation was in place when running 3 registrar's in db-only mode, then we can use the server_id and filter_server_id so that only 1 registrar will ping the contact. At lease, that is what I am interpreting in the module documentation. Is that correct? \r\n\r\nI think that if you don't have the server_id and filter_server_id parameters set for nathelper, then all 3 database-only registrars will also ping the contact? Is that correct? Or, does nathelper/registrar us the aor \"socket\" parameter to decide if it need to send the ping from the local registrar? What i mean is, if the socket is set, and is a local socket, then send the ping, if there is not a socket set, or, if there is a socket set and is not local, then don't send the keep-alive message.\r\n\r\nHow does nathelper currently decide if it needs to send a keep-alive message from the local registrar?\r\n\r\nCurrently, I'm lucky that only 1 keep-alive message is actually making it through to the endpoint, however, if kamailio used the force_socket parameter correclty then all 3 keep-alives would make it through to the endpoint, which, I'm guessing, is not desired behaviour, or am I wrong with that assumption?"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1299#issuecomment-341700749"}}}</script>