Those arn't your only options. I think javascript, and perl also have a way to do it. I know for sure that mod_managed lets you do it too. If you want to be sure and find all the modules that can do it just do a grep for calls to "switch_bind_xml_search_function" in the source code for the module you want to check out yourself.
 
You could also do it in your own module you can, just by calling that function yourself, and passing a callback to it that will return the XML. The docs on the wiki for mod_xml_curl, apply to any of the modules that allow it. The XML is the same.
 
I have a number of projects that either do all the config, or a good part of it, in C# with mod_managed. If you would like access to the source code for reference, please contact me off list, so I can get you access to it. Regardless of what language you want to do it in, the concept is the same.
 
--Dave


From: Steven Ayre [mailto:steveayre@gmail.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]
Sent: Tue, 18 Jun 2013 02:44:30 -0700
Subject: Re: [Freeswitch-users] Load all configurations from DB

I believe so, but no examples as you note.

-Steve



On 18 June 2013 10:34, Mimiko <vbvbrj@gmail.com> wrote:
On 18.06.2013 12:05, Steven Ayre wrote:
> or generate it within FS via LUA (eg
> http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#User_Directory_XML).

Steve, I was thinking, the link shows an example on using LUA for
generating User Directroy XML. Can the same commands:

<param name="xml-handler-script" value="gen_dir_user_xml.lua"/>
<param name="xml-handler-bindings" value="directory"/>

used in other places? I didn't find any examples of that.

--
Mimiko desu.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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