It is match more better after fixing static registration. I have analyzed some remaining "Duplicate entry" errors. It happens after SQL reconnect at least.
1.Try to update via *db_update_ucontact_ruid* 2. Missed SQL connection and getting *usrloc [ucontact.c:1055]: db_update_ucontact_ruid(): updating database failed*. But **record was realy updated**. 3. Reconnect 4. Try to update record again and getting *ul_dbf.affected_rows(ul_dbh)==0* 5. Try to insert and getting "Duplicate entry" every *usrloc:timer_interval* period up to exipre or re-register
Realy, maybe it is not an error
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/30#issuecomment-90963367