<p>I'm using opensips 1115-tls on a ubuntu 1404-tls server The module usrloc if configure as:</p>

<p>modparam("usrloc", "db_mode", 2) <br>
modparam("usrloc", "desc_time_order", 1) <br>
modparam("usrloc", "matching_mode", 0)  #contact only</p>

<p>Sometime I get the following error:<br>
CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1062): Duplicate entry 'namesurname-domainit-sip:namesurname@IP-' for key 'account_contact_idx'<br>
Jan 19 14:33:06 proxysip /sbin/opensips[107504]: ERROR:usrloc:db_update_ucontact: updating database failed<br>
Jan 19 14:33:06 proxysip /sbin/opensips[107504]: ERROR:usrloc:wb_timer: updating contact in db failed</p>

<p>I'm incapable of reproducing it<br>
Thank you in advance</p>

<p>Piero</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">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciT8PIC_UvRPE1XzH8_XBdERIQDhuks5pbjeYgaJpZM4HHvEK.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"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>