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.
Here is a brief description of what I am trying to achieve.
Call comes in and authenticates to Kamailio
Kamailio than routes the call to a Freeswitch server.
I was hoping to find something Stateful so Kamailio can route calls to other
Freeswitch boxes if the current trunk is congested
Allow the call to route to a different Freeswitch box if one is for some
reason offline.
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.
I have attached my current config file in case anything sticks out as to
where I may be going wrong.
On Wed, Dec 29, 2010 at 12:57 PM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
Hello,
On 12/29/10 3:31 PM, Tim King wrote:
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.
I followed this setup guide:
http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
Performed this Kamailio install:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git
I have found the page for the dispatcher module here:
http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html
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.
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.
Can someone point me towards the proper documentation that truly show how
to configure these features.
*SIP Routing Capabilities*
-
- NAT traversal support for SIP and RTP traffic
It is included in the default config file.
-
- load balancing with many distribution algorithms and failover
support
disptacher module
-
- flexible least cost routing
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.
-
- routing failover
if you mean routing failover like serial forking, that is something
kamailio does very well, the modules listed above use it.
-
- replication for High Availability (HA)
what kind of data you need to replicate?
-
* Load Based Load Balancing** -------------------------**** +----------+** | Kamailio |**
+----------+** |** | +--------------+
** |-------| FreeSWITCH 1 | [Calls 1,3,7]** | +--------------+** |** |
+--------------+** |-------| FreeSWITCH 2 | [Calls 2,6]** +--------------+
*
dispatcher module does weight based load balancing, if that is what you
look for here.
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA,
USAhttp://www.asipto.com