[Freeswitch-users] Best practice for centralized user registration database

Steven Ayre steveayre at gmail.com
Wed Jun 12 17:58:32 MSD 2013


>From within FS for ODBC this is probably best practice:

http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#User_Directory_XML

Being Lua means it's very easy to customise the queries / results.

-Steve




On 12 June 2013 14:51, Steven Ayre <steveayre at gmail.com> wrote:

> Most people are probably using XML curl. It's very flexible and can scale
> quite well since you can point it at a load balanced farm of servers.
>
> There's also a LDAP module if you're that way inclined. I don't think
> there's a module that'll talk directly to a ODBC database right now.
>
> As far as the API goes check the contrib repository - there are some
> examples in there you could 'borrow'.
>
> -Steve
>
>
>
> On 12 June 2013 12:33, Emrah <lists at kavun.ch> wrote:
>
>> Hi all,
>>
>> What is the best practice today to handle users directory dynamically
>> through a database, ideally PostgreSQL or MySQL?
>> I'm kind of concerned by what I've seen so far in the available
>> documentation. Do I really have to write an API to serve data from a DB to
>> FreeSwitch?
>> How about monitoring registration states?
>>
>> My goal is simple. I would like to have multiple FS instances share the
>> same users directory and be able to tell on which server the client has
>> registered.
>>
>> Your help would be greatly appreciated.
>>
>> Thanks,
>> E
>> _________________________________________________________________________
>> 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-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/20130612/c43c1bd5/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list