*reads up on suggested modules in the wiki*
Excellent. That was just what I was looking for.
(Guess I just didn’t know where to look.)
Thanks.
-Dan
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael
Jerris
Sent: Friday, June 27, 2008 12:42 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] FS User Directories and YAML
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org