Thanks for the reply Daniel. The primary function I am trying to accomplish is to have Kamailio provide Load Balancing and Fail-over for my Free-switch Servers.<br><br>Here is a brief description of what I am trying to achieve.<br>
<br>Call comes in and authenticates to Kamailio<br>Kamailio than routes the call to a Freeswitch server.<br>I was hoping to find something Stateful so Kamailio can route calls to other Freeswitch boxes if the current trunk is congested<br>
Allow the call to route to a different Freeswitch box if one is for some reason offline.<br><br>I believe that I now have dispatcher setup to use mysql, but I am still a bit clumsy trying to modify the sample file I started with. Currently I am not getting any response when I dial.<br>
<br>I have attached my current config file in case anything sticks out as to where I may be going wrong.<br><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 12:57 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hello,<div class="im"><br>
    <br>
    On 12/29/10 3:31 PM, Tim King wrote:
    <blockquote type="cite">I have read many examples and it seems I have found
      several pieces of how to do this but no real example of how to
      achieve this. <br>
      <br>
      I followed this setup guide: <a href="http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc" target="_blank">http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc</a><br>
      <br>
      Performed this Kamailio  install: <a href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a><br>

      <br>
      I have found the page for the dispatcher module here: <a href="http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html" target="_blank">http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html</a><br>

      <br>
      I also am curious if this dispatcher setup can be driven solely
      from the dispatcher mysql table or if the dispatcher.list file is
      required.<br>
    </blockquote></div>
    dispatcher module can work with db only. Actually it works either
    with database of with .list file -- the file has priority, so if you
    set it, it will be the only one used.<div class="im"><br>
    <br>
    <br>
    <blockquote type="cite"><br>
      Can someone point me towards the proper documentation that truly
      show how to configure these features.<br>
      <br>
      <b>SIP Routing Capabilities</b><br>
      <ul>
        <li>
          <ul>
            <li>NAT traversal support for SIP and RTP traffic</li>
          </ul>
        </li>
      </ul>
    </blockquote></div>
    It is included in the default config file.<div class="im"><br>
    <blockquote type="cite">
      <ul>
        <li>
          <ul>
            <li>load balancing with many distribution algorithms and
              failover support</li>
          </ul>
        </li>
      </ul>
    </blockquote></div>
    disptacher module<br>
    <blockquote type="cite">
      <ul>
        <li>
          <ul>
            <li>flexible least cost routing</li>
          </ul>
        </li>
      </ul>
    </blockquote>
    there are couple of options, you should provide more details about
    what you are looking for. See also the modules, lcr, carrierroute,
    drouting -- in addition you can combine modules like mtree, pdt or
    dialplan with dispatcher to get LCR functionality.<br>
    <blockquote type="cite">
      <ul>
        <li>
          <ul>
            <li>
              routing failover</li>
          </ul>
        </li>
      </ul>
    </blockquote>
    if you mean routing failover like serial forking, that is something
    kamailio does very well, the modules listed above use it.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <ul>
        <li>
          <ul>
            <li>replication for High Availability (HA)</li>
          </ul>
        </li>
      </ul>
    </blockquote>
    <br></div>
    what kind of data you need to replicate?<div class="im"><br>
    <br>
    <blockquote type="cite">
      <ul>
        <li>
          <br>
        </li>
      </ul>
      <br>
      <br>
      <br>
      <pre><i> Load Based Load Balancing
</i><i> -------------------------
</i><i>
</i><i> +----------+
</i><i> | Kamailio |
</i><i> +----------+
</i><i>   |
</i><i>   |       +--------------+

</i><i>   |-------| FreeSWITCH 1 |  [Calls 1,3,7]
</i><i>   |       +--------------+
</i><i>   |
</i><i>   |       +--------------+
</i><i>   |-------| FreeSWITCH 2 |  [Calls 2,6]
</i><i>           +--------------+

</i></pre>
    </blockquote></div>
    dispatcher module does weight based load balancing, if that is what
    you look for here.<br>
    <br>
    Cheers,<br>
    Daniel<br><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  </font></div>

</blockquote></div><br>