[Freeswitch-dev] High Availability Communication Project #1

Vik Killa vipkilla at gmail.com
Thu Aug 27 16:49:28 MSD 2015


Definitely not as fancy--I would consider both those methods borderline
"hacks" or "work-arounds"
Currently I have Kamailio act as registrar and store location information
in postgres database.
I have a custom freeswitch endpoint module which retreives & generates
sofia dial-string from postgres location table.
example:
<action application="bridge" data="myfancymodule/1000 at mydomain1.com"/>
would generate equivalent of:
<action application="bridge" data="sofia/internal/1000 at 8.7.6.4:1029
;fs_path=mykamailio.server.ip:5060"/>

I'd consider that a bit more elegant =] but still not as cool as dmq






On Thu, Aug 27, 2015 at 8:30 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

>
> On Aug 27, 2015 2:10 PM, "Vik Killa" <vipkilla at gmail.com> wrote:
> >
> > With regard to a clustered setup of FS + Kamailio, I always thought a
> powerful implementation in freeswitch would be distributed message queue
> (dmq) to integrate into Kamailio's dmq feature.
> > Then all the FreeSWITCH + Kamailio servers in a cluster could then be
> aware of user location, active calls and even hash table information.
> > Call it something like mod_dmq ?
> > it could have application calls which return user location data (sort of
> like sofia_contact()), this way, kamailio can be registrar and freeswitch
> could be aware of data in real-time.
>
> I know is not as fancy as dmq, but for registration awareness you have two
> other techniques:
>
> 1) kamailio/opensips can propagate the registration packets to freeswitches
>
> 2) kamailio/opensips can write registrations in the same database table
> read by freeswitches
>
> -giovanni
>
> > I know mod_ampq and/or mod_kazoo exists out there to integrate message
> queue using RabbitMQ but dmq doesn't require any additional software like
> RabbitMQ.
> > If only I had more time to write such a module... or maybe by chance
> someone out there with powerful C skills is listening and will write it...
> >
> >
> >
> > On Wed, Aug 19, 2015 at 2:05 PM, Brian West <brian at freeswitch.org>
> wrote:
> >>
> >> You could get involved in the project and help us out, I'll be sending
> out another email outlining the next meeting time sometime after the 24th
> so everyone can have time to digest this and get ducks in a row.
> >>
> >> Thanks,
> >>
> >> On Wed, Aug 19, 2015 at 12:52 PM, Vik Killa <vipkilla at gmail.com> wrote:
> >>>
> >>> Not trying to go off topic here but I've been working with clustered
> setups in a test environment for a while. I had to implement my own code in
> order to "direct" transferred (SIP REFER) calls properly.
> >>> I recently noticed this...
> >>> FS-7760 [mod_sofia] Improved the xml fetch lookup for channels
> on nightmare transfer
> >>> Which appears to be a solution to this problem. I haven't tested it
> yet but I'd love to see a demonstration of this feature and if it is what I
> think it is, it applies to FS in a clustered environment.
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Aug 19, 2015 at 1:42 PM, Michael Collins <msc at freeswitch.org>
> wrote:
> >>>>
> >>>> This is a great project - it is both practical and cool. I'm very
> interested in seeing how this plays out. Like many of us I know someone who
> would be willing to pay money to see this happen.
> >>>>
> >>>> -MC
> >>>>
> >>>> On Tue, Aug 18, 2015 at 7:18 PM, Brian West <brian at freeswitch.org>
> wrote:
> >>>>>
> >>>>> Lets schedule call after the 24th sometime, giving everyone enough
> time to digest the magnitude of what I've proposed here.
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Tue, Aug 18, 2015 at 9:06 PM, William King <
> william.king at quentustech.com> wrote:
> >>>>>>
> >>>>>> I'm in. There are a few common HA cases I'm aware of, so I think
> we'll
> >>>>>> need to document the pros and cons of the scenarios.
> >>>>>>
> >>>>>> William King
> >>>>>> Senior Engineer
> >>>>>> Quentus Technologies, INC
> >>>>>> 1037 NE 65th St Suite 273
> >>>>>> Seattle, WA 98115
> >>>>>> Main:   (877) 211-9337
> >>>>>> Office: (206) 388-4772
> >>>>>> Cell:   (253) 686-5518
> >>>>>> william.king at quentustech.com
> >>>>>>
> >>>>>> On 8/18/15 6:40 PM, Brian West wrote:
> >>>>>> > FreeSWITCHers,
> >>>>>> >
> >>>>>> > Project #1 we discussed at ClueCon 2015 is a complete working HA
> >>>>>> > solution, The goal is to have meta packages that will install,
> configure
> >>>>>> > and deploy various HA components with in a controlled
> environment.  but
> >>>>>> > not only plugging in FreeSWITCH, but OpenSIPS, Kamailio, Asterisk
> and
> >>>>>> > any other telecom component, This project is ambitious, I would
> like to
> >>>>>> > gauge the community interest and what level of involvement you
> would
> >>>>>> > like to have in this project, I would like to invite any and all
> open
> >>>>>> > source communication software to get involved.  A complete
> centralized,
> >>>>>> > configured, deployable solution for everyone to use.
> >>>>>> >
> >>>>>> > Interested?  We can schedule a phone call to discuss this, what
> would be
> >>>>>> > good times for everyone to get involved?
> >>>>>> >
> >>>>>> > Please reply...
> >>>>>> >
> >>>>>> > Thanks,
> >>>>>> >
> >>>>>> > --
> >>>>>> >
> >>>>>> > */Brian West/*
> >>>>>> > brian at freeswitch.org <mailto:brian at freeswitch.org>
> >>>>>> >
> >>>>>> >
> >>>>>> > */Twitter: @FreeSWITCH , @briankwest/*
> >>>>>> > http://www.freeswitchbook.com
> >>>>>> > http://www.freeswitchcookbook.com
> >>>>>> >
> >>>>>> > Got Bugs? Report them here <https://freeswitch.org/jira>! |
> >>>>>> > Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
> >>>>>> >
> >>>>>> > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> >>>>>> > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> >
> _________________________________________________________________________
> >>>>>> > Professional FreeSWITCH Consulting Services:
> >>>>>> > consulting at freeswitch.org
> >>>>>> > http://www.freeswitchsolutions.com
> >>>>>> >
> >>>>>> > Official FreeSWITCH Sites
> >>>>>> > http://www.freeswitch.org
> >>>>>> > http://wiki.freeswitch.org
> >>>>>> > http://www.cluecon.com
> >>>>>> >
> >>>>>> > FreeSWITCH-dev mailing list
> >>>>>> > FreeSWITCH-dev at lists.freeswitch.org
> >>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>>>>> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>>>>> > http://www.freeswitch.org
> >>>>>> >
> >>>>>>
> >>>>>>
> _________________________________________________________________________
> >>>>>> Professional FreeSWITCH Consulting Services:
> >>>>>> consulting at freeswitch.org
> >>>>>> http://www.freeswitchsolutions.com
> >>>>>>
> >>>>>> Official FreeSWITCH Sites
> >>>>>> http://www.freeswitch.org
> >>>>>> http://wiki.freeswitch.org
> >>>>>> http://www.cluecon.com
> >>>>>>
> >>>>>> FreeSWITCH-dev mailing list
> >>>>>> FreeSWITCH-dev at lists.freeswitch.org
> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>>>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>>>>> http://www.freeswitch.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>>
> >>>>> Brian West
> >>>>> brian at freeswitch.org
> >>>>>
> >>>>>
> >>>>> Twitter: @FreeSWITCH , @briankwest
> >>>>> http://www.freeswitchbook.com
> >>>>> http://www.freeswitchcookbook.com
> >>>>>
> >>>>> Got Bugs? Report them here! | Reddit: /r/freeswitch
> >>>>>
> >>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
> >>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
> >>>>>
> >>>>>
> >>>>>
> _________________________________________________________________________
> >>>>> Professional FreeSWITCH Consulting Services:
> >>>>> consulting at freeswitch.org
> >>>>> http://www.freeswitchsolutions.com
> >>>>>
> >>>>> Official FreeSWITCH Sites
> >>>>> http://www.freeswitch.org
> >>>>> http://wiki.freeswitch.org
> >>>>> http://www.cluecon.com
> >>>>>
> >>>>> FreeSWITCH-dev mailing list
> >>>>> FreeSWITCH-dev at lists.freeswitch.org
> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>>>> http://www.freeswitch.org
> >>>>>
> >>>>
> >>>>
> >>>>
> _________________________________________________________________________
> >>>> Professional FreeSWITCH Consulting Services:
> >>>> consulting at freeswitch.org
> >>>> http://www.freeswitchsolutions.com
> >>>>
> >>>> Official FreeSWITCH Sites
> >>>> http://www.freeswitch.org
> >>>> http://wiki.freeswitch.org
> >>>> http://www.cluecon.com
> >>>>
> >>>> FreeSWITCH-dev mailing list
> >>>> FreeSWITCH-dev at lists.freeswitch.org
> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>>> http://www.freeswitch.org
> >>>>
> >>>
> >>>
> >>>
> _________________________________________________________________________
> >>> Professional FreeSWITCH Consulting Services:
> >>> consulting at freeswitch.org
> >>> http://www.freeswitchsolutions.com
> >>>
> >>> Official FreeSWITCH Sites
> >>> http://www.freeswitch.org
> >>> http://wiki.freeswitch.org
> >>> http://www.cluecon.com
> >>>
> >>> FreeSWITCH-dev mailing list
> >>> FreeSWITCH-dev at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>> http://www.freeswitch.org
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Brian West
> >> brian at freeswitch.org
> >>
> >>
> >> Twitter: @FreeSWITCH , @briankwest
> >> http://www.freeswitchbook.com
> >> http://www.freeswitchcookbook.com
> >>
> >> Got Bugs? Report them here! | Reddit: /r/freeswitch
> >>
> >> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
> >> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
> >>
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> FreeSWITCH-dev mailing list
> >> FreeSWITCH-dev at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >> http://www.freeswitch.org
> >>
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20150827/dc9ea52b/attachment-0001.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list