<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Than<font size="-1">ks <font size="-1">Las<font
            size="-1">zlo, but if I'm reading this correct, th<font
              size="-1">is unit is load <font size="-1">balancing <font
                  size="-1">based on tra<font size="-1">ffic ty<font
                      size="-1">pe, transcoding<font size="-1">/voicemail/etc/<font
                          size="-1">..<font size="-1">. As all of my
                            traffic would be the same, I don't see that
                            this wou<font size="-1">ld fi<font size="-1">t
                                too w<font size="-1">ell. Additionally,
                                  my prob<font size="-1">lem is more,
                                    how <font size="-1">do I maintain <font
                                        size="-1">queue stats across <font
                                          size="-1">the <font size="-1">"work
                                            ho<font size="-1">r</font>ses"
                                            <font size="-1">so that <font
                                                size="-1">the strategies
                                                maintain from o<font
                                                  size="-1">ne server to
                                                  another<font size="-1">
                                                    as call<font
                                                      size="-1"> load is
                                                      balanced across
                                                      the servers.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font><br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/27/2013 12:36 PM, Laszlo wrote:<br>
    </div>
    <blockquote
cite="mid:CANhz8u=BzUW28-Qn0gRuY28t5SwzKkvuduC5nwO2yiVBKdrwOg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Greg,<br>
            <br>
            I have a similar setup with multiple asterisk boxes. I have
            used opensips as a load balancer (+some pre routing logic
            before load balancing).<br>
            <br>
          </div>
          It is based on this idea: <a moz-do-not-send="true"
            href="http://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9">http://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9</a><br>
          <br>
        </div>
        - Laszlo<br>
        <div><br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/8/27 Gregory Malsack <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:gmalsack@coastalacq.com" target="_blank">gmalsack@coastalacq.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>
                <div>
                  <p>Hey All,<br>
                    <br>
                    Growing call center. Currently at about 200 call
                    center staff, running about 1000 calls per hour.
                    Gearing up to double that. Not too sure that a
                    single server will support that growth. So, I'm
                    trying to come up with ways to scale the system and
                    still maintain a simplistic design. So I'd like to
                    bounce some ideas around.<br>
                    <br>
                    Currently I am running on a Dell 1950, dual quad
                    core 2.33ghz xeons, with 16gb ram, and 2 tce400p
                    cards. This server is managing the full load of the
                    company. We are recording all calls, running ivr,
                    queues, cdr, cel, and web for reporting. I currently
                    have another 1950 of the exact same specifications
                    as a cold spare.<br>
                    <br>
                    Here's where you can see drawings of my current
                    connectivity and an optional connectivity I'm
                    contemplating...<br>
                    <br>
                    <a moz-do-not-send="true"
href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Epaydaysupportcenter%2Ecom%2Fcurrent%2Epdf&amp;urlhash=qLsB&amp;_t=tracking_anet"
                      rel="nofollow" target="_blank">http://www.paydaysupportcenter.com/current.pdf</a><a
                      moz-do-not-send="true"
href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Epaydaysupportcenter%2Ecom%2Foption%2Epdf&amp;urlhash=CJG1&amp;_t=tracking_anet"
                      rel="nofollow" target="_blank">http://www.paydaysupportcenter.com/option.pdf</a><br>
                    <br>
                    As you can see I currently have a separate sql
                    server and a separate storage server for the call
                    recordings. This is all working fine.<br>
                    <br>
                    However, I'm thinking for scalability I should be
                    looking to migrate to a configuration similar to the
                    one in option.pdf. Where I have a VOIP gateway
                    server that simply relays traffic and possibly can
                    do some load balancing or intellegent routing. But
                    nothing more then that, and possibly a second one of
                    these online as a hot failover.<br>
                    <br>
                    Then have separate sql, storage, (i forgot it in the
                    pic) web, and asterisk servers behind that on
                    separate dedicated network. Here's my dilemma
                    though, how do I balance the load across multiple
                    machines for scalability...<br>
                    <br>
                    Since 95% of our calls come into queues, I need to
                    be able to maintain queue stats and presence across
                    all of the servers. Thus far, I've got everything
                    except the extensions.conf file into the mysql
                    database. I thought about setting up 2 servers, 1
                    for sales, and 1 for customer service, then possibly
                    break out each call queue to it's own server as
                    things grow. Just not sure if that's the right way
                    to go.<br>
                    <br>
                    Then regarding extensions.conf, I've read that it
                    too can be placed in the sql database and accessed
                    via switch. however it's resource intense, so now
                    I'm thinking of maybe putting that file on the nfs
                    server for all of the boxes to read from.<br>
                    <br>
                    As for the design of that file, I was kind of
                    thinking of a modular design within the file using
                    various goto's and gosubs. Our business model is
                    based on affiliates and corporate marketing, so we
                    have a ton of did's that follow the same call flow
                    with minor modifications in some variables, as well
                    as variations in call flow, and hours of operation.
                    Thus the modular design of the call flow. Then the
                    primary inbound context would simply be a list of
                    did's pointing to a goto with a list of the
                    variations and variables for the did.<br>
                    <br>
                    Ok, now that I've melted your brains.... thoughts?<br>
                    <br>
                    Thanks all in advance for the discussion...<br>
                    Greg</p>
                  <span class="HOEnZb"><font color="#888888"> </font></span></div>
                <span class="HOEnZb"><font color="#888888"> </font></span></div>
              <span class="HOEnZb"><font color="#888888">
                  <pre cols="72">-- 
Greg</pre>
                </font></span></div>
            <br>
            --<br>
_____________________________________________________________________<br>
            -- Bandwidth and Colocation Provided by <a
              moz-do-not-send="true" href="http://www.api-digital.com"
              target="_blank">http://www.api-digital.com</a> --<br>
            New to Asterisk? Join us for a live introductory webinar
            every Thurs:<br>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
            <br>
            asterisk-users mailing list<br>
            To UNSUBSCRIBE or update options visit:<br>
            &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://lists.digium.com/mailman/listinfo/asterisk-users"
              target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div dir="ltr">
          <div>
            <div>
              <div><br>
                --<br>
              </div>
              Kind regards,<br>
            </div>
            Laszlo Bekesi<br>
          </div>
          <a moz-do-not-send="true" href="http://voipfreak.net"
            target="_blank">http://voipfreak.net</a><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Greg</pre>
  </body>
</html>