Configure an ODBC connection to the database, then use freeswitch.Dbh from lua https://wiki.freeswitch.org/wiki/DSN https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh On 16 September 2014 18:41, Aqs Younas <aqsyounas@gmail.com> wrote:
Hello, Users
i am newbie to freeswitch.I want to write lua script for querying data for mysql database that i could use in lua script.
Could someone please specify me how to do this with small exemplary lua script code. or
1.) How to make freeswitch connect to mysql for querying data
2.) All steps in this regard.
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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