<!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 Faisal,<br>
    <br>
    as Andrew said, use the LB module as load balancing engine (see the
    tutorial on <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsTutLoadbalancing">http://www.opensips.org/Resources/DocsTutLoadbalancing</a>).
    But instead of using a standard DB to configure the LB module, you
    can use the dbtext module as a text file oriented DB engine.<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 09/13/2011 12:11 PM, Faisal Rehman wrote:
    <blockquote
      cite="mid:1315905061.8671.YahooMailNeo@web46202.mail.sp1.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: tahoma,new york,times,serif; font-size:
        10pt;">
        <div><span><b>Hi Andrew,</b></span></div>
        <div><span><br>
          </span></div>
        <div>Okay thanks I hope it will help me, by the way did you
          implement standard load balancing (with Database), I am just
          asking because I may need your help in the coming days. I am
          working on load balancing involving PSTN.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div><b>Faisal Rehman&nbsp;</b></div>
        <div><br>
        </div>
        <div style="font-size: 10pt; font-family: tahoma,'new
          york',times,serif;">
          <div style="font-size: 12pt; font-family: 'times new
            roman','new york',times,serif;"><font face="Arial" size="2">
              <hr size="1"><b><span style="font-weight: bold;">From:</span></b>
              Andrew Pogrebennyk <a class="moz-txt-link-rfc2396E" href="mailto:apogrebennyk@sipwise.com">&lt;apogrebennyk@sipwise.com&gt;</a><br>
              <b><span style="font-weight: bold;">To:</span></b> Faisal
              Rehman <a class="moz-txt-link-rfc2396E" href="mailto:faisal.rehman22@yahoo.com">&lt;faisal.rehman22@yahoo.com&gt;</a>; OpenSIPS users
              mailling list <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a><br>
              <b><span style="font-weight: bold;">Sent:</span></b>
              Tuesday, September 13, 2011 1:12 PM<br>
              <b><span style="font-weight: bold;">Subject:</span></b>
              Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS<br>
            </font><br>
            On 09/13/2011 10:05 AM, Faisal Rehman wrote:<br>
            &gt; <br>
            &gt; Thanks for your prompt response, yeah I have seen that
            table specified<br>
            &gt; only for the load balancing work in opensips database,
            but I got a task<br>
            &gt; to do load balancing without any database involvement,
            so is that<br>
            &gt; something I can do?<br>
            <br>
            In that case you would have to hardcode the IP addresses in
            the config file which is not very nice. Alternatively, you
            could use a simple file-based dbtext database like:<br>
            <br>
            id(int,auto) setid(int) destination(str) priority(int)
            flags(int) description(str)<br>
            1:1:sip\:10.0.0.1\:5060:1:0:box1<br>
            2:2:sip\:10.0.0.2\:5060:1:0:box2<br>
            <br>
            OpenSIPS works with that just like with a normal SQL DB.<br>
            Regards,<br>
            Andrew<br>
            <br>
            <br>
          </div>
        </div>
      </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">-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>