Am Freitag, 27. April 2018, 11:11:34 CEST schrieb Konstantin Polyakov:
> We have met a new issue.
>
> We use db_mode=1 ( Write-Through scheme. All changes to usrloc are
> immediately reflected in database too ). timer_interval has default value
> 60 seconds.
>
> Problem description.
> Some user agent is registered successfully in Kamailio registrar.
> Its contact exists inside internal cache (ul.lookup command shows it).
> But location table doesn't contain this contact. After several minutes (5-6
> min) it becomes available in the location table too. The issue is
> reproduced periodically. Most of the time everything is ok.
>
> Is that expected behavior when internal cache is used?
> Did somebody else observed such situation?
> Is there some workaround?
Hello Konstantin,
sounds indeed strange. You probably already checked this, do you see any errors in the Kamailio log related to the database? Do you use some kind of replication or proxy infrastructure that may delay DB operations?
Best regards,
Henning