<!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">
    On 02/23/2011 06:16 PM, Jeff Pyle wrote:
    <blockquote cite="mid:C98A9CB9.1D31C%25jpyle@fidelityvoice.com"
      type="cite">
      <div>Anca,</div>
      <div><br>
      </div>
      <div>Ok. &nbsp;Any plans to add a db_mode in the future?</div>
    </blockquote>
    Add a feature request for this.<br>
    <blockquote cite="mid:C98A9CB9.1D31C%25jpyle@fidelityvoice.com"
      type="cite">
      <div> &nbsp;Also, I noticed yesterday there are no options to choose
        the table names as almost all the other modules have. &nbsp;Any
        thoughts on that?</div>
      <div><br>
      </div>
    </blockquote>
    Haven't given much attention on that.. it's easy to add this. Put
    this in the feature request also.<br>
    <br>
    Anca<br>
    <blockquote cite="mid:C98A9CB9.1D31C%25jpyle@fidelityvoice.com"
      type="cite">
      <div><br>
      </div>
      <div>- Jeff &nbsp;</div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family: Calibri; font-size: 11pt; text-align:
          left; color: black; border-width: 1pt medium medium;
          border-style: solid none none; border-color: rgb(181, 196,
          223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in
          0in;"><span style="font-weight: bold;">From: </span> Anca
          Vamanu &lt;<a moz-do-not-send="true"
            href="mailto:anca@opensips.org">anca@opensips.org</a>&gt;<br>
          <span style="font-weight: bold;">Reply-To: </span> OpenSIPS
          users mailling list &lt;<a moz-do-not-send="true"
            href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<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
            moz-do-not-send="true"
            href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>"
          &lt;<a moz-do-not-send="true"
            href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<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. &nbsp;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. &nbsp;Is that a useful
                analogy? &nbsp;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. &nbsp;I've got it to the point where I lose only
                in-progress transactions and dialog profile data. &nbsp;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? &nbsp;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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><a moz-do-not-send="true" 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>
      <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>