<div dir="ltr">You're right. Maybe adding also the check on the received address? I didn't want to have a too heavy logic there, but it could make sense.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 10:15 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:notifications@github.com" target="_blank">notifications@github.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p>You can merge it.</p>

<p>I think it covers the most of the cases, but some corner ones may not be covered. Like one behind a nat router that is changing the public ip -- so the contact is the same, but the received address (computed from source ip) will be different. I guess this can happen only if the phone did a re-register at the time was called and the router changed its up more or less at that moment.</p>

</span><p style="font-size:small;color:#666">—<span class=""><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/702#issuecomment-231301616" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZT0QvLLfY34XElcOpcg4tOgq6gsLks5qTgcJgaJpZM4JHzZD" target="_blank">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZSW8xTfLRLtbv95k4KbRsv4bPAjhks5qTgcJgaJpZM4JHzZD.gif" width="1"></span></p>
<div>
<div>
  
  
</div>

</div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>