lua is a lightweight option that can do sql or curl.
-Avi
On Mon, Jun 18, 2012 at 11:50 PM, Abaci <abaci64@gmail.com> wrote:
We are looking for a way to set a few variables in the XML dialplan with information stored in a MySQL DB, the simplest seems to be to use mod_odbc_query which will set channel variables (see http://wiki.freeswitch.org/wiki/Mod_odbc_query#APP), problem is that we prefer not to access the DB directly from xml.
The other option is to use mod_curl which gets the result into a channel variable named 'curl_response_data', problem is that we have multiple values that we need in separate channel variables, and I can't find any documentation on how to do that, is there any way to do this using json etc?
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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 Join Us At ClueCon - Aug 7-9, 2012 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