[Freeswitch-users] Need cluster architecture suggestion

Stanislav Sinyagin ssinyagin at gmail.com
Mon Apr 27 11:50:11 MSD 2015


it would be cool to see one day the whole design and source code at
github... then other teams would contribute, instead of re-building
every time from scratch


On Mon, Apr 27, 2015 at 8:29 AM, Samir Doshi <smrdoshi at gmail.com> wrote:
> Redis looks interesting. Will look at that.
> Thanks guys for your time and suggestions.
>
> I will do further study and share my experience.
>
>
> Thanks,
> Samir
>
> On Mon, Apr 27, 2015 at 9:54 AM, José Seabra <joseseabra4 at gmail.com> wrote:
>>
>> Hello,
>>
>> What kind of features do you want provide? for better preformance and
>> scalability  I propose you use kamailio in 2 ways, and freeswitch as
>> application/sbc server, then  rtpengine to sdp nat and SRTP/RTP:
>>
>> First create a kamailio instance to do the role of sip load balancer,
>> natbox, and security.
>>
>> Second create a another kamailio instance to handle all your registers and
>> presence services, and control all you calls/presence(sip signalling).
>>
>> For example an IVR:
>> Call arrives at load balance, loadbalance select one of second kamailio
>> instance through dispatcher module, and send it to there, then the second
>> kamailio instance will checkout what kind of call you are requesting, after
>> it see that you are trying to dial an ivr (developing some kamailio script
>> logic) it will select one of your freeswitch's and send call to there, then
>> in freeswitch using lua script you can build your dinamic dialplans.
>>
>> for sharing  presence between several kamailios you can use dmq  + dbtext
>> to save presence information replicated through dmq.
>>
>> for sharing user location between kamailios use dmq + usrloc_dmq + dbtext
>>
>> You can use mysql, but with mysql isn't  simple scale geographically
>>
>> another database that i advise you use to build your pbx is redis.
>>
>> I hope that my view was helpfull
>>
>>
>> BR
>> José Seabra
>>
>> 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin <kamil.nigmatullin at gmail.com>:
>>>
>>> I suggest to use opensips as a registrar and router/balancer with redis
>>> as a database. Use redis locacally and all requested parameteres keep in uri
>>> format as login=123;pass=456 . it gives you a very high performance and
>>> saves hard disk from non-stop reading.
>>>
>>> 26 апр. 2015 г. 15:12 пользователь "Stanislav Sinyagin"
>>> <ssinyagin at gmail.com> написал:
>>>
>>>> There's an option to use FreeSWITCH as a registrar, and Kamailio would
>>>> be a simple stateless load balancer and failover manager. Have you
>>>> considered this option as well?
>>>>
>>>> On Apr 26, 2015 6:21 AM, "Samir Doshi" <smrdoshi at gmail.com> wrote:
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>> What will be the best setup architecture to handle 50k subscriber
>>>>> registration and approximate 30k concurrent calls?
>>>>> We are planning to use opensips/kamailio proxy server for load balance
>>>>> & to handle registration and multiple freeswitch servers to handle media.
>>>>> Database will be MySQL.
>>>>>
>>>>> Is this good way? OR anybody have any other proposed architecture which
>>>>> can be helpful?
>>>>>
>>>>> Moreover Is there any way we can change codec realtime based on
>>>>> internet connectivity speed?
>>>>>
>>>>> Please let us know your thoughts.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>>
>>
>> --
>> Cumprimentos
>> José Seabra
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list