Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-17 Thread Jerry Richards
Subject: Re: [Freeswitch-users] Accessing Config Info From Database On Mon, Nov 16, 2009 at 9:36 AM, Jerry Richards jerry.richa...@teotech.com wrote: 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

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-17 Thread Michael Collins
On Tue, Nov 17, 2009 at 8:22 AM, Jerry Richards jerry.richa...@teotech.comwrote: MC, We would like the dialplan to route the call based on Presence, which is a database lookup. I should be able to do this in Lua, true? Jerry Yes, you can use Lua for this if you wish to do so, HOWEVER,

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-16 Thread Jerry Richards
de Rooij [mailto:l...@scarlet-internet.nl] Sent: Friday, November 13, 2009 2:29 PM To: freeswitch-users@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

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-16 Thread Michael Collins
On Mon, Nov 16, 2009 at 9:36 AM, Jerry Richards jerry.richa...@teotech.comwrote: 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

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-16 Thread Leon de Rooij
Hi, Since recently it's also possible to use lua *as* a dialplan: http://wiki.freeswitch.org/wiki/Mod_lua#For_dialplan regards, Leon On Mon, 2009-11-16 at 11:33 -0800, Michael Collins wrote: On Mon, Nov 16, 2009 at 9:36 AM, Jerry Richards jerry.richa...@teotech.com wrote:

[Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Jerry Richards
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@lists.freeswitch.org

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Leon de Rooij
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):

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Phillip Jones
Take a look at http://wiki.freeswitch.org/wiki/Mod_xml_curl to get started. On Fri, Nov 13, 2009 at 4:59 PM, Jerry Richards jerry.richa...@teotech.comwrote: Is there a way to access configuration information from a database (e.g. SQL) rather than from the XML files? Best Regards, Jerry

Re: [Freeswitch-users] Accessing Config Info From Database

2009-11-13 Thread Andrew Thompson
On Fri, Nov 13, 2009 at 11:28:55PM +0100, Leon de Rooij wrote: 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