[Freeswitch-users] Clustering/ storing registration server IP in DB

Avi Marcus avi at avimarcus.net
Wed May 18 15:45:11 MSD 2011


A master-master type of sql setup will share the registrations along with
the path to reach them. It might be easiest to do this in the sql database
rather than ESL.

-Avi

On Wed, May 18, 2011 at 10:59 AM, Anton VG <anton.vazir at gmail.com> wrote:

> Yea, the custom events I mean.
>
> What I'm trying to do:
> Suppose there are several FS servers (cluster) - managed via ESL and
> xml_curl for users,
> user (SIP) register to one of the servers in round-robin fashion. So
> to call from one user to another, if given users are registered on
> different FS servers, before cunstructing the 'originate', I have to
> determine, which server is responsible for the given user, and place
> call there as to gateway, or if the user found on the same server,
> call him as internal user. Any better way?
>
> My billing done in Postgres, with quite a few schemes, so overall
> structure is quite complex, so I'd like to manage the registration
> process, rather to give access to a public schema for FS instances and
> than adopt FS-created it data to my needs.
>
> PS: I'm on git, which is a week old, seems it supports the given.
>
> 2011/5/18 Gabriel Gunderson <gabe at gundy.org>:
> > On Tue, May 17, 2011 at 4:06 PM, Steven Ayre <steveayre at gmail.com>
> wrote:
> >> You can move the core db and set a dsn for mod_sofia pointing to a
> >> ODBC database. Registrations will then be stored in that database,
> >> providing you are on latest git.
> >
> >
> > Ditto.
> >
> > Also, I have no idea what you're trying to do, but you can watch for
> > custom events when an SIP UA registers too.  That might be of interest
> > depending on your application.
> >
> > Best,
> > Gabe
> >
> > _______________________________________________
> > 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
> >
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110518/aa36aef3/attachment.html 


More information about the FreeSWITCH-users mailing list