[OpenSIPS-Users] Resync of Usrloc Cache with Location database Table opensips 1.5

Bogdan-Andrei Iancu bogdan at opensips.org
Fri May 8 13:20:13 CEST 2015

Hi Jonathan,

I guess the ul_flush will serve your purpose - if the contact is not 
DIRTY, it means it was already flushed into DB, so no sense to flush it 


Bogdan-Andrei Iancu
OpenSIPS Founder and Developer

On 23.04.2015 20:30, Jonathan Hunter wrote:
> Hi guys,
> We have an issue with opensips version 1.5.3 (which we will update in 
> the next month) whereby when we failover from another server which 
> shares the same database, the location table isnt updated correctly.
> We use write-back scheme;
> modparam("usrloc", "db_mode",   2)
> modparam("usrloc", "nat_bflag", 6)
> modparam("usrloc", "timer_interval", 60)
> And I can see registrations in the cache but not all are being updated 
> into the location table since our failover and restart of the new 
> opensips instance.
> Is there a way to force all the cache entries to be populated into the 
> database? I appreciate there is the ul_flush command but that is 
> dependent on the CS_DIRTY state I believe.
> Is there a way to force all the cache entries in the DB or is there 
> any known issues with this version as I appreciate its quite old.
> Many thanks
> Jon
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150508/9f6f2272/attachment.htm>

More information about the Users mailing list