[Freeswitch-users] Accessing Config Info From Database

Jerry Richards jerry.richards at teotech.com
Mon Nov 16 09:36:01 PST 2009


I have a bit of confusion about Lua scripting.  When a script is invoked,
should it always return an XML string that is used by FS?  Or as in the case
of dialplan examples, does it actually execute the dialplan (e.g.
"session:answer();")?

Best Regards,
Jerry

-----Original Message-----
From: Leon de Rooij [mailto:leon at scarlet-internet.nl] 
Sent: Friday, November 13, 2009 2:29 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Accessing Config Info From Database

Hi,

You can use mod_xml_curl (generate xml on a webserver):

http://wiki.freeswitch.org/wiki/Mod_xml_curl

or mod_xml_odbc (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Mod_xml_odbc

or LUA together with luasql (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Lua#For_serving_configuration

regards,

Leon



On Fri, 2009-11-13 at 13:59 -0800, Jerry Richards wrote:
> Is there a way to access configuration information from a database (e.g.
> SQL) rather than from the XML files?
> 
> Best Regards,
> Jerry
> 
> 
> _______________________________________________
> 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-use
> rs
> http://www.freeswitch.org









More information about the FreeSWITCH-users mailing list