<p><a href="https://github.com/miconda" class="user-mention">@miconda</a> about the first registration...</p>
<p>the <code>continue</code> executes in pid <code>6518</code> and it never calls <code>xavp_reset_list()</code><br>
registrar:build_contact (reply.c) is executed in this pid</p>
<pre><code> 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|start|received udp request REGISTER sip:teste.sip.90e9.com
 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|source 192.168.16.12:50133 -> 192.168.16.125:8000
 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|from sip:user_7z7b6s@teste.sip.90e9.com
 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|to sip:user_7z7b6s@teste.sip.90e9.com
 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|originated from external sources
 2(6487) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|correcting NATed contact in registration
 2(6487) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
32(6517) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|authenticating user_7z7b6s@teste.sip.90e9.com via Kazoo query response
32(6517) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|end|issued auth challenge to failed registration attempt for user_7z7b6s@teste.sip.90e9.com 192.168.16.12:50133
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|start|received udp request REGISTER sip:teste.sip.90e9.com
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|source 192.168.16.12:50133 -> 192.168.16.125:8000
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|from sip:user_7z7b6s@teste.sip.90e9.com
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|to sip:user_7z7b6s@teste.sip.90e9.com
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|originated from external sources
 3(6488) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|correcting NATed contact in registration
 3(6488) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
33(6518) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|authenticating user_7z7b6s@teste.sip.90e9.com via Kazoo query response
33(6518) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|caching sip credentials for user_7z7b6s@teste.sip.90e9.com
33(6518) INFO: <script>: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|end|successful registered with contact uloc-5919b147-941-1 : <sip:user_7z7b6s@192.168.16.12:50133;rinstance=f24eba8fb96940a0>;+sip.instance="<urn:uuid:50e56137-edf1-5c8c-99ab-f5ebf869e00f>";reg-id=1
 6(6491) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
 6(6491) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
 8(6493) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
 8(6493) INFO: <core> [core/xavp.c:461]: xavp_reset_list(): RESET XAVP
</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/pull/1111#issuecomment-301501213">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZRkreEvMMuRStG5eg9O6Fj6yyk5Sks5r6GflgaJpZM4NOAPn">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfYPzSw5wWyQWcWdlpGdApNbVfhlks5r6GflgaJpZM4NOAPn.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/pull/1111#issuecomment-301501213"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request 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":"@lazedo in #1111: @miconda about the first registration...\r\n\r\nthe `continue` executes in pid `6518` and it never calls `xavp_reset_list()`\r\nregistrar:build_contact (reply.c) is executed in this pid\r\n\r\n```\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|start|received udp request REGISTER sip:teste.sip.90e9.com\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|source 192.168.16.12:50133 -\u003e 192.168.16.125:8000\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|from sip:user_7z7b6s@teste.sip.90e9.com\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|to sip:user_7z7b6s@teste.sip.90e9.com\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|originated from external sources\r\n 2(6487) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|correcting NATed contact in registration\r\n 2(6487) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n32(6517) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|authenticating user_7z7b6s@teste.sip.90e9.com via Kazoo query response\r\n32(6517) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|end|issued auth challenge to failed registration attempt for user_7z7b6s@teste.sip.90e9.com 192.168.16.12:50133\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|start|received udp request REGISTER sip:teste.sip.90e9.com\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|source 192.168.16.12:50133 -\u003e 192.168.16.125:8000\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|from sip:user_7z7b6s@teste.sip.90e9.com\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|to sip:user_7z7b6s@teste.sip.90e9.com\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|originated from external sources\r\n 3(6488) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|correcting NATed contact in registration\r\n 3(6488) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n33(6518) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|authenticating user_7z7b6s@teste.sip.90e9.com via Kazoo query response\r\n33(6518) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|log|caching sip credentials for user_7z7b6s@teste.sip.90e9.com\r\n33(6518) INFO: \u003cscript\u003e: 79956NjgwZTVmOTQ5Zjc0MjcxMTVjYjNlOTMxNGI5NDkwYjk|end|successful registered with contact uloc-5919b147-941-1 : \u003csip:user_7z7b6s@192.168.16.12:50133;rinstance=f24eba8fb96940a0\u003e;+sip.instance=\"\u003curn:uuid:50e56137-edf1-5c8c-99ab-f5ebf869e00f\u003e\";reg-id=1\r\n 6(6491) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n 6(6491) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n 8(6493) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n 8(6493) INFO: \u003ccore\u003e [core/xavp.c:461]: xavp_reset_list(): RESET XAVP\r\n```\r\n\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1111#issuecomment-301501213"}}}</script>