<p>Not necessarily after a reboot.<br>
I noticed that sometimes it occurs when there is already a record in the table location, a phone is  disconnected from the network  (the un-register message is NOT sent), and when it is restarted the Aor is overwrote correctly in the memory, but when opensips try to write in the db the the errors appear</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/764#issuecomment-173194593">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXE1PruPx4TR9sxsBlHJoHMST0HOks5pb3l0gaJpZM4HHvEK.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/OpenSIPS/opensips/issues/764#issuecomment-173194593"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>