<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Anca,</div><div><br></div><div>Ok. Any plans to add a db_mode in the future? Also, I noticed yesterday there are no options to choose the table names as almost all the other modules have. Any thoughts on that?</div><div><br></div><div><br></div><div>- Jeff </div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Anca Vamanu <<a href="mailto:anca@opensips.org">anca@opensips.org</a>><br><span style="font-weight:bold">Reply-To: </span> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br><span style="font-weight:bold">Date: </span> Wed, 23 Feb 2011 06:09:15 -0500<br><span style="font-weight:bold">To: </span> "<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>" <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [OpenSIPS-Users] b2b modules restart-safeness / database use<br></div><div><br></div><div>
<div 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>
</div></div></span></body></html>