[SR-Users] kamailio as load balancer

Sergiu Pojoga pojogas at gmail.com
Fri Mar 16 19:21:34 CET 2018


'Minor details' means the use of PATH module,
https://www.kamailio.org/docs/modules/stable/modules/path.html

On Fri, Mar 16, 2018 at 2:09 PM, Daniel Tryba <d.tryba at pocos.nl> wrote:

> On Thu, Mar 15, 2018 at 03:32:00PM +0000, Seyed Mohammad Mirheydari wrote:
> > I have 5 asterisk servers. And I want to use kamailio as load balancer.
> > How can route sip calls from outside to asterisk servers?
> >
> > Note:
> > I installed kamailio and mairadb , etc.
> > I configured subscriber for kamailio.
> > And add my 5 servers to databse.
> >
> > Hust to know how to change the file kamailio.cfg to route all incoming
> calls to my 5 asterisk server (round robin).
>
> This can be accomplished with the dispatcher module. There is an example
> in
> https://www.kamailio.org/docs/modules/stable/modules/
> dispatcher.html#dispatcher.ex.config
> It does exactly what you requested.
>
> Now if for example you want to have subscribers REGISTER or route
> INVITEs from these asterisk backends to the outside work through these
> proxies, you'll need to to adapt some (minor) details.
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180316/5145173c/attachment.html>


More information about the sr-users mailing list