[Freeswitch-users] FS User Directories and YAML

Michael Jerris mike at jerris.com
Fri Jun 27 13:41:36 EDT 2008


The modules we currently have in tree that can bind to the xml hooks  
to supply configuration are:

mod_xml_curl
mod_ldap (I think it now does a bit more than you say below, check the  
mailing list archives for details)
mod_lua
mod_perl

Currently, if you want to pull configs from a db you would have to use  
one of the modules above, but there is no reason someone couldn't add  
a direct db method, however we generally like doing this via something  
like mod_xml_curl as its easier to do load balance and failover.  a  
YAML configuration module could also be done in this way, however some  
basic pieces of config would still be required in the xml, most  
notably the config to tell it to use mod_yaml or whatever else you want.

Mike

On Jun 27, 2008, at 1:25 PM, Daniel Hefti wrote:

> On a some-what related level with YAML.  I know that user directory  
> XML files and what-not XML files can be retrieved in multiple ways  
> (using curl or ldap for the dialplan), but is there a way that we  
> can retrieve such information from a different source like using the  
> included sqlite db or some other db as a source?
> (My initial guess at the answer to this is ‘no’, but I thought I’d  
> ask.)
>
> Is the ldap module only useful for retrieving dialplan info for use  
> with the directory-based-dialplan?
>
> Specifically, can a module be created to supply user directory info  
> (so other sources can be used)?  (Like my first initial guess, I  
> would guess this is a ‘no’ also, but likewise.)
>
> With relation to YAML, rather than adding support for a specific  
> type of file structure, a generic way of retrieving data via modules  
> would likely be a bit more useful than, say, adding YAML support  
> internally.   Granted, the base file format would likely stay XML  
> for FS’s own freeswitch.xml file and any related files, but being  
> able to access module-related configuration files and the directory  
> information in other formats using self-created ‘parser/db modules’  
> or some-such regardless of the module would be a really nice touch.
>
> -Dan
>
>
> _______________________________________________
> 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/20080627/ef81d888/attachment.html 


More information about the Freeswitch-users mailing list