<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jeff,<br>
<br>
In b2b there isn't this db mode option - there is only one mode -
saving the data from time to time (controlled by update_period
parameter) and at shutdown. To be more safe, you can decrease the
update_period parameter.<br>
<br>
Regards,<br>
Anca<br>
<br>
On 02/21/2011 08:54 PM, Jeff Pyle wrote:
<blockquote cite="mid:C9881F22.1D1FF%25jpyle@fidelityvoice.com"
type="cite">
<div>Anca,</div>
<div><br>
</div>
<div>I'm trying to understand the use of the database in the B2B
modules. So far my application is only topology hiding (baby
steps).</div>
<div><br>
</div>
<div>When it comes to shutdown / db operations, in my mind I think
of it like the dialog module. Is that a useful analogy? On my
non-B2B-enabled proxies I run <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/1.6.x/dialog.html#id292849">db_mode</a>=1
to preserve as much data as possible during an Opensips restart.
I've got it to the point where I lose only in-progress
transactions and dialog profile data. I can live with that.</div>
<div><br>
</div>
<div>In the B2B world, as long as I have the data written to the
db, am I restart-safe? If so, in b2b_entities is there a way to
emulate the "REALTIME" db_mode=1 option of the dialog module?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Jeff</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<br>
<pre class="moz-signature" cols="72">--
Anca Vamanu
OpenSIPS Developer</pre>
</body>
</html>