You have to set the db_insert_null parameter for usrloc module to 1:
*
https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.d…
If that doesn't solve it, reopen.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1300#issuecomment-341687666