<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Jonathan,<br>
<br>
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 again.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 23.04.2015 20:30, Jonathan Hunter
wrote:<br>
</div>
<blockquote cite="mid:DUB127-W89641845540C9D63EE453FBDED0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi guys,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>We use write-back scheme;</div>
<div><br>
</div>
<div>
<div>modparam("usrloc", "db_mode", 2)</div>
<div>modparam("usrloc", "nat_bflag", 6)</div>
<div>modparam("usrloc", "timer_interval", 60)</div>
</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>